This repository contains R code and simulation data to reproduce results from the manuscript by Lotspeich and Garcia (2022+).
For the imputeCensRd
package, which implements the conditional mean imputation approaches from the paper, can be found in its own repo here.
Each of the "Script (Run Simulations)" files is coded to run 1 replication of each setting for demonstration. Per the NOTES at the bottom of the scripts, some more time-intensive simulations were run in parallel.
Table 1. Simulation results for Weibull
Table 2. Simulation results for
- Script (Run Simulations with Gamma Distribution)
- Script (Run Simulations with Log-Normal Distribution)
- Script (Run Simulations with Normal Distribution)
- Script (Make Table)
- Data (Simulation Results - Smaller Absolute Tolerance)
- Data (Simulation Results - Larger Absolute Tolerance)
Table S1. Simulation results for Weibull
Figure S1. Interpolating Breslow's estimator
Figure S2. Illustration of the four extrapolation methods for a step survival function
Figure S3. Extrapolating Breslow's estimator beyond the largest uncensored value
Figure S4. In our simulations with Weibull
Figure S5. Comparison of the probability density functions (A) and hazard functions (B) of the different distributions considered for the censored covariate
Figure S6. Due to the Weibull distribution's skewness, higher censoring rates led to smaller values of