Initial CRAN release
Documentation improvements for CRAN resubmission:
@return tags to print methods\donttest{} with executable
codeImplements 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 regressionSupports binary and multiple (>2) treatment groups
Weighting methods:
Propensity score trimming:
Censoring adjustment methods:
Variance estimation:
Comprehensive documentation including vignette with examples
Based on methods from Cheng et al. (2022) doi:10.1093/aje/kwac043 and Li & Li (2019) doi:10.1214/19-AOAS1282