arXiv · 2402.15292
adjustedCurves: Estimating Confounder-Adjusted Survival Curves in R
Abstract
Kaplan-Meier curves stratified by treatment allocation are the most popular way to depict causal effects in studies with right-censored time-to-event endpoints. If the treatment is randomly assigned and the sample size of the study is adequate, this method produces unbiased estimates of the population-averaged counterfactual survival curves. However, in observational studies, this is no longer the case. Instead, specific methods that allow adjustment for confounding must be used. We present the \texttt{adjustedCurves} \textbf{R} package, which can be used to estimate and plot these confounder-adjusted survival curves using a variety of methods from the literature. It provides a convenient wrapper around existing \textbf{R} packages on the topic and adds additional methods and functionality on top of it, uniting the sometimes vastly different methods under one consistent framework. Among the additional features are the estimation of confidence intervals, confounder-adjusted restricted mean survival times and confounder-adjusted survival time quantiles. After giving a brief overview of the implemented methods, we illustrate the package using publicly available data from an observational study including 2982 breast cancer.
Explore related subjects
Keep this discovery
Robin Denz, Nina Timmesfeld. 2024-02-23. adjustedCurves: Estimating Confounder-Adjusted Survival Curves in R. https://arxiv.org/abs/2402.15292
Cite the original work for its findings. Save a collection to share your selection of sources.