weibdata2030 {discfrail} | R Documentation |
Hierarchical time-to-event data simulated from a Weibull baseline distribution with a nonparametric frailty
Description
Hierarchical time-to-event data simulated from a Weibull baseline distribution with a nonparametric frailty
Usage
weibdata2030
Format
A data frame with 600 rows and the following columns
- family
Integer from 1 to 20 indicating the group membership. Each group has 30 individuals.
- time
Survival time
- status
Indicator for an observed event at the survival time
- x
Covariate value, generated from a standard normal distribution
- belong
Underlying group-specific frailty value
There are two underlying latent populations with proportion 0.3 and 0.7 with frailty values 0.8 and 1.6 respectively, thus the second population has twice the hazard of the first. The covariate is associated with a log hazard ratio of 1.6.
The baseline hazard is set to that of a Weibull model.
The percentage of censored events is equal to 10.
The dataset was generated by sim_weibdf
as follows.
sim_weibdf( J = 20, N = 30, lambda = 0.6, rho = 1.1, beta = 1.6, p = c( 0.3, 0.7 ), w_values = c( 0.8, 1.6 ), cens_perc = 0.1)