miceData | R Documentation |
RFM mice were sacrificed and examined for lung tumors. This resulted in current status interval censored data: if the tumor was present, this implied left censoring and if no tumor was present this implied right censoring. Mice were placed in two different groups: conventional environment or germ free environment.
l
left side of observation interval
u
right side of observation interval
grp
Group for mouse. Either ce (conventional environment) or ge (grem-free environment)
Hoel D. and Walburg, H.,(1972), Statistical analysis of survival experiments, The Annals of Statistics, 18, 1259-1294
data(miceData)
coxph_fit <- ic_sp(Surv(l, u, type = 'interval2') ~ grp,
bs_samples = 50,
data = miceData)
#In practice, more bootstrap samples should be used for inference
#Keeping it quick for CRAN testing purposes
summary(coxph_fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.