Package: PSsurvival 0.2.0

Chengxin Yang
PSsurvival: Propensity Score Methods for Survival Analysis
Implements propensity score weighting methods for estimating counterfactual survival functions, marginal hazard ratios, and weighted Kaplan-Meier and cumulative risk curves in observational studies with time-to-event outcomes. Supports binary and multiple treatment groups with inverse probability of treatment weighting (IPW), overlap weighting (OW), and average treatment effect on the treated (ATT). Includes symmetric trimming (Crump extension) for extreme propensity scores. Variance estimation via analytical M-estimation or bootstrap. Methods based on Li et al. (2018) <doi:10.1080/01621459.2016.1260466>, Li & Li (2019) <doi:10.1214/19-AOAS1282>, and Cheng et al. (2022) <doi:10.1093/aje/kwac043>.
Authors:
PSsurvival_0.2.0.tar.gz
PSsurvival_0.2.0.zip(r-4.7)PSsurvival_0.2.0.zip(r-4.6)PSsurvival_0.2.0.zip(r-4.5)
PSsurvival_0.2.0.tgz(r-4.6-any)PSsurvival_0.2.0.tgz(r-4.5-any)
PSsurvival_0.2.0.tar.gz(r-4.7-any)PSsurvival_0.2.0.tar.gz(r-4.6-any)
PSsurvival_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PSsurvival/json (API)
| # Install 'PSsurvival' in R: |
| install.packages('PSsurvival', repos = c('https://cxinyang.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cxinyang/pssurvival/issues
- simdata_bin - Simulated Survival Data with Binary Treatment
- simdata_multi - Simulated Survival Data with Multiple Treatments
Last updated from:ea90919e61. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 206 | ||
| source / vignettes | OK | 184 | ||
| linux-release-x86_64 | OK | 136 | ||
| macos-release-arm64 | OK | 214 | ||
| macos-oldrel-arm64 | OK | 242 | ||
| windows-devel | OK | 104 | ||
| windows-release | OK | 94 | ||
| windows-oldrel | OK | 79 | ||
| wasm-release | OK | 95 |
Exports:estimate_psestimate_weightsmarCoxphsurveffweightedKM
Dependencies:clicowplotcpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerrlangS7scalessurvivalvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Propensity Score Estimation for PSsurvival Package | estimate_ps |
| Estimate Propensity Score Weights | estimate_weights |
| Marginal Cox Model with Propensity Score Weighting | marCoxph |
| Plot Method for surveff Objects | plot.surveff |
| Plot Method for Weighted Kaplan-Meier Estimates | plot.weightedKM |
| Print Method for marCoxph Objects | print.marCoxph |
| Print Method for surveff Objects | print.surveff |
| Print Method for Weighted Kaplan-Meier Estimates | print.weightedKM |
| Simulated Survival Data with Binary Treatment | simdata_bin |
| Simulated Survival Data with Multiple Treatments | simdata_multi |
| Summary Method for marCoxph Objects | summary.marCoxph |
| Summary Method for surveff Objects | summary.surveff |
| Summary Method for Weighted Kaplan-Meier Estimates | summary.weightedKM |
| Survival Effect Estimation with Propensity Score Weighting | surveff |
| Weighted Kaplan-Meier Estimation with Propensity Score Weights | weightedKM |