Sensitivity analysis for unmeasured confounding in estimating the difference in restricted mean survival time
This is the source code for the RMSTSens
package in R.
RMSTSens
is a package aimed at providing a novel sensitivity analysis method for the RMST difference when unmeasured confounding is suspected.
Given a user-specified sensitivity parameter, the sensitivity range of the difference in adjusted RMST is calculated with the percentile bootstrap confidence interval for the population sensitivity range. See reference for details.
Lee, S., Park, J. H., and Lee, W. Sensitivity analysis for unmeasured confounding in estimating the difference in restricted mean survival time. Statistical Methods in Medical Research. 2024. https://doi.org/10.1177/09622802241280782
Installation using R package remotes
:
if (!require("devtools")) { install.packages("devtools") } # if devtools not already installed
devtools::install_github("seungjae2525/RMSTSens")
library(RMSTSens)
You can also report bugs on GitHub under Issues.