StrataExample {surtvep} | R Documentation |
example data for stratified model illustration
Description
A simulated data set containing 2 binary variables from 10 distinct stratums.
Usage
data(StrataExample)
Format
A list containing the following elements:
- z
simulated binary covariates V1 and V2, with a time-independent coefficient
\beta_1(t)=1
and a time-varying coefficient\beta_2(t)=sin(3\pi t/4).
- event
simulated failure event response; binary variable with 0 or 1.
- time
simulated observed event times; continuous variable with non-negative values.
- strata
simulated strata variable; patients in different stratums have different baseline hazards.
[Package surtvep version 1.0.0 Index]