Skip to content

PSPI

1.2

Propensity Score Predictive Inference for Generalizability

0packages depend
1.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jungang ZouFirst published 2025-12-012 releasesCRAN page ↗

Provides a suite of Propensity Score Predictive Inference (PSPI) methods to generalize treatment effects in trials to target populations. The package includes an existing model Bayesian Causal Forest (BCF) and four PSPI models (BCF-PS, FullBART, SplineBART, DSplineBART). These methods leverage Bayesian Additive Regression Trees (BART) to adjust for high-dimensional covariates and nonlinear associations, while SplineBART and DSplineBART further use propensity score based splines to address covariate shift between trial data and target population.

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-10
    8 OK · 6 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    7 OK · 6 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 316 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
88%
Return-value docs
100%
References docs
33%

Downloads

1.6K
CRAN downloads in the past year
Rank #20,355 · ~4/day · ~131/mo
Daily download trend is not available in this view yet.
15230 days
54590 days
1.6K1 year
Compare downloads with other packages →
Also on271 r2u12 autocran

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (8)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (10)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Contributors (5)
Contributor
Contributor
Contributor
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2Latest
    2025-12-02 · current release · diff ↗
  • 1.1
    2025-12-01
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-12-01
Total releases
2 / 1 yrs
License
GPL-2 OSI
Minimum R
≥ 4.1.0
Download size
56 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PSPI")
Zou, J., Chen, Q., Gramacy, R., Little, R., McCulloch, R., Moise, N., Roy, J., Schwartz, J., Spanbauer, C., & Sparapani, R. (2025). PSPI: Propensity Score Predictive Inference for Generalizability (Version 1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.PSPI

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PSPI version 1.2 [Data set]. HJJB, LLC. Data release v2026-08-11. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy