Doubly-Robust Estimation for Survival Outcomes in Cluster-Randomized Trials

Cluster-randomized trials (CRTs) assign treatment to groups rather than individuals, so valid analyses must distinguish cluster-level and individual-level effects and define estimands within a potential-outcomes framework. This package supports right-censored survival outcomes for both single-state (binary) and multi-state settings. For single-state outcomes, it provides estimands based on stage-specific survival contrasts (SPCE) and restricted mean survival time (RMST). For multi-state outcomes, it provides SPCE as well as a generalized win-based restricted mean time-in-favor estimand (RMT-IF). The package implements doubly robust estimators that accommodate covariate-dependent censoring and remain consistent if either the outcome model or the censoring model is correctly specified. Users can choose marginal Cox or gamma-frailty Cox working models for nuisance estimation, and inference is supported via leave-one-cluster-out jackknife variance and confidence interval estimation. Methods are described in Fang et al. (2025) "Estimands and doubly robust estimation for cluster-randomized trials with survival outcomes" .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("DRsurvCRT")

0.0.1 by Xi Fang, 9 months ago


Browse source code at https://github.com/cran/DRsurvCRT


Authors: Xi Fang [aut, cre] , Fan Li [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp, frailtyEM, survival, ggplot2, pracma, abind

Linking to Rcpp, RcppArmadillo


See at CRAN