simu_c2 {truncAIPW}R Documentation

A Simulated Data Set under Left Truncation and Right Censoring where Censoring is always after Truncation

Description

A simulated data set under left truncation and right censoring where censoring is always after left truncation. The left truncation time and the event time are dependent via two covariates ‘Z1’ and ‘Z2’. Under the data generating mechanism, the conditional distributions of the event time given covariates follows a Cox model in the full data, and the conditional distribution of the left truncation time given covariates follows a Cox model on the reversed time scale in the full data. The truncation rate is 29.5%; the censoring rate is 27.1%; and the truth P^*(T>3) = 0.576547.

Usage

data(simu_c2)

Format

A data frame with 500 rows and 5 variables.

X

the censored event time X = min(T,C)

Q

the left truncation time

delta

the event indicator

Z1

a continous covariate

Z2

a binary covariate

Source

Simulated

Examples

data(simu_c2)

[Package truncAIPW version 1.0.1 Index]