ipwCoxCSV: Corrected Sandwich Inference for Inverse Probability Weighted Cox Models

An implementation of the corrected sandwich variance (CSV) method for inverse probability weighted (IPW) Cox models described in Shu et al. (2021) <doi:10.1111/biom.13332>. The method accounts for the uncertainty in estimating propensity score weights to improve variance and confidence interval estimation for adjusted marginal hazard ratios (HRs) in observational and randomized studies. The package supports estimation of the average treatment effect (ATE) using conventional and stabilized ATE weights, and the average treatment effect in the treated (ATT) using ATT weights, for both independent and clustered data. Propensity scores are estimated using logistic regression.

Package details

AuthorDi Shu [aut, cre], Rui Wang [aut]
MaintainerDi Shu <shudi1991@gmail.com>
LicenseGPL (>= 2)
Version1.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ipwCoxCSV")

Try the ipwCoxCSV package in your browser

Any scripts or data that you put into this service are public.

ipwCoxCSV documentation built on Aug. 20, 2026, 1:07 a.m.