Initial CRAN release
Documentation improvements for CRAN resubmission:
@return tags to print methods\donttest{} with executable codeEnhanced output documentation for all exported functions
Implements propensity score weighting methods for estimating counterfactual survival functions and marginal hazard ratios in observational studies with time-to-event outcomes
Main functions:
surveff(): Estimates counterfactual survival curves and survival
differences over timemarCoxph(): Estimates marginal hazard ratios via weighted Cox regression
Supports binary and multiple (>2) treatment groups
Weighting methods:
Overlap weighting
Propensity score trimming:
Asymmetric trimming (Sturmer et al.)
Censoring adjustment methods:
Cox proportional hazards models
Variance estimation:
Bootstrap (all configurations, with full or stratified resampling)
Comprehensive documentation including vignette with examples
Based on methods from Cheng et al. (2022) and Li & Li (2019)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.