simul: Simulated Data

simulR Documentation

Simulated Data

Description

Simulated Interval-censored data

Format

A data frame with 100 observations on the following 3 variables.

L

the left endpoints of the censoring interval

R

the right endpoints of the censoring interval

Z

a continuous covariate

Details

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).

References

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.

Examples

Fit <- gte(Surv(L, R, type="interval2") ~ Z, data=simul, z=15)
plot(Fit)

gte documentation built on April 16, 2022, 5:05 p.m.