simul | R Documentation |
Simulated Interval-censored data
A data frame with 100 observations on the following 3 variables.
the left endpoints of the censoring interval
the right endpoints of the censoring interval
a continuous covariate
The value R = NA
means that the observation is right censored (occurs 2 times).
If L = NA
, then the observation is left censored (occurs 26 times).
An observation with R = L
means that the time of occurence of the event
is known exactly (occurs 3 times).
Dehghan, M. H. and Duchesne, T. (2011). A generalization of Turnbull's estimator for nonparametric estimation of the conditional survival function with interval-censored data. Lifetime Data Analysis, 17, 234-255.
Fit <- gte(Surv(L, R, type="interval2") ~ Z, data=simul, z=15) plot(Fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.