Package: PSsurvival
Title: Propensity Score Methods for Survival Analysis
Version: 0.2.0
Date: 2026-01-09
Authors@R: c(
    person("Chengxin", "Yang",
           email = "chengxin.yang@duke.edu",
           role = c("aut", "cre")),
    person("Chao", "Cheng",
           email = "chaoc@wustl.edu",
           role = "aut"),
    person("Fan", "Li",
           email="fl35@duke.edu",
           role = "aut"),
    person("Fan", "Li",
           email = "fan.f.li@yale.edu",
           role = "aut"))
Description: 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>.
License: GPL (>= 2)
URL: https://github.com/cxinyang/PSsurvival
BugReports: https://github.com/cxinyang/PSsurvival/issues
Depends: R (>= 3.5.0)
Imports: survival, stats, utils, ggplot2, cowplot
Suggests: nnet, parallel, testthat (>= 3.0.0), knitr, rmarkdown
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-01-10 04:10:21 UTC; chengxin
Author: Chengxin Yang [aut, cre],
  Chao Cheng [aut],
  Fan Li [aut],
  Fan Li [aut]
Maintainer: Chengxin Yang <chengxin.yang@duke.edu>
Repository: CRAN
Date/Publication: 2026-01-10 15:10:18 UTC
Built: R 4.4.3; ; 2026-01-21 04:09:26 UTC; windows
