Skip to content

psAve

1.0.1

Model-Averaged Propensity Scores Selected by Prognostic-Score Balance

1packages depend
240downloads / year
78.4%test coverage
13/13checks pass

Overview

About
Maintained by Daijiro KabataFirst published 2026-07-111 releasesCRAN page ↗GitHub ↗

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'.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.60
78.4%
Coverage · measured lines
100%
Documentation · exports
4
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-07-11
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 356 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
46%

Downloads

240
CRAN downloads in the past year
Rank #24,327 · ~1/day · ~20/mo
Daily download trend is not available in this view yet.
18830 days
24090 days
2401 year
Compare downloads with other packages →
Also on10 r2u1 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
causal-inferenceepidemiologymatchingpropensity-scorerrstats
Last activity 2026-07-02

Repository practices

Upstream repositoryBeta

Repository github.com/kabajiro/psave is linked, but repository-practices checks have not run for it yet.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (4)
cobaltstatsutilsgraphics
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • 1.0.1Latest
    2026-07-11 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-11
Total releases
1 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("psAve")
Kabata, D. (2026). psAve: Model-Averaged Propensity Scores Selected by Prognostic-Score Balance (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.psAve

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 psAve version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-08-13. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-13, 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