Package: psAve 1.0.1
psAve: Model-Averaged Propensity Scores Selected by Prognostic-Score Balance
Constructs a model-averaged propensity score as a convex combination of candidate propensity score models, with mixing weights selected on a simplex grid to optimize covariate or prognostic-score balance, implementing the method of Kabata, Stuart and Shintani (2024) <doi:10.1186/s12874-024-02350-y>. Prognostic scores follow Hansen (2008) <doi:10.1093/biomet/asn004>: outcome models are fit on untreated units only. The resulting score is designed to be supplied directly to the matchit() function of 'MatchIt' as a distance measure or to the weightit() function of 'WeightIt' as a propensity score, with balance assessment via 'cobalt'.
Authors:
psAve_1.0.1.tar.gz
psAve_1.0.1.tar.gz(r-4.7-any)psAve_1.0.1.tar.gz(r-4.6-any)
psAve_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
psAve/json (API)
| # Install 'psAve' in R: |
| install.packages('psAve', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kabajiro/psave/issues
Pkgdown/docs site:https://kabajiro.github.io
Last updated from:450b6f3f3e. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 238 | ||
| source / vignettes | OK | 248 | ||
| linux-release-x86_64 | OK | 239 | ||
| wasm-release | OK | 124 |
Exports:psavepsave_criteriapsave_matchpsave_weightsimplex_grid
Dependencies:argclicobaltcpp11farverggplot2gluegridExtragtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Last update: 2026-07-10
Started: 2026-07-10
Last update: 2026-07-10
Started: 2026-07-10
Last update: 2026-07-10
Started: 2026-07-10
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Balance tables for psave objects | bal.tab.psave |
| Extract the averaged propensity or prognostic score | fitted.psave weights.psave |
| Plot a psave object | plot.psave |
| Predict averaged scores for new data | predict.psave |
| Print a psave object | print.psave |
| Model-averaged propensity scores selected by prognostic-score balance | psave |
| Compute all four psAve selection criteria for a propensity score vector | psave_criteria |
| Match on a model-averaged propensity score | psave_match |
| Weight by a model-averaged propensity score | psave_weight |
| Method details: relation to the paper's reference implementation | psave-details |
| Enumerate the discretized probability simplex | simplex_grid |
| Summarize a psave object | print.summary.psave summary.psave |
