simu {truncAIPW} | R Documentation |
A Simulated Data Set under Left Truncation but No Right Censoring
Description
A simulated data set under left truncation but no right censoring.
The left truncation time and the event time are dependent via the two covariates ‘Z1’ and ‘Z2’.
Under the data generating mechanism,
the conditional distribution of the event time given covariates follows a Cox proportional hazards model in the full data, and
the conditional distribution of the left truncation time given covariates follows a Cox proportional hazards model on the reversed time scale in the full data.
The truncation rate is 29.5%;
and the truth P^*(T>3) = 0.5755753
.
Usage
data(simu)
Format
A data frame with 500 subjects (rows) and 5 variables (columns).
- time
the event time
- Q
the left truncation time
- delta
the event indicator
- Z1
a continous covariate
- Z2
a binary covariate
Source
Simulated
Examples
data(simu)
[Package truncAIPW version 1.0.1 Index]