Crandore Hub

weightedsurv

Survival Analysis with Subject-Specific (Case Weights) and Time-Dependent Weighting

Provides survival analysis functions with support for time-dependent and subject-specific (e.g., propensity score) weighting. Implements weighted estimation for Cox models, Kaplan-Meier survival curves, and treatment differences with point-wise and simultaneous confidence bands. Includes restricted mean survival time (RMST) comparisons evaluated across all potential truncation times with both point-wise and simultaneous confidence bands. See Cole, S. R. & Hernán, M. A. (2004) <doi:10.1016/j.cmpb.2003.10.004> for methodological background.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling source/ R- weightedsurv_0.1.0.tar.gz 3.9 MiB
0.1.0 rolling linux/jammy R-4.5 weightedsurv_0.1.0.tar.gz 4.1 MiB
0.1.0 latest source/ R- weightedsurv_0.1.0.tar.gz 3.9 MiB
0.1.0 latest linux/jammy R-4.5 weightedsurv_0.1.0.tar.gz 4.1 MiB
0.1.0 2026-04-23 source/ R- weightedsurv_0.1.0.tar.gz 3.9 MiB
0.1.0 2026-04-09 windows/windows R-4.5 weightedsurv_0.1.0.zip 4.1 MiB

Dependencies (latest)

Imports

Suggests