sample_data {WeightCalibSurvival} | R Documentation |
Sample cohort with simulated nested case-control study where N = 1000 and 173 cases with m = 1 control per case. This dataset is used to run the provided examples in this package.
sample_data
A data frame with N = 1000 rows and 10 variables:
time-to-event (event = either case or censored)
binary outcome status (1 = case; 0 = non-case)
binary model covariates with time-varying effects; available in a full cohort
binary model covariates with time-varying effects; available in a full cohort
binary model covariates with time-invariant effects; available in a full cohort
binary model covariates with time-invariant effects; only available in nested case-control samples; NA if missing
an ancillary predictor for Z2
phase 2 inclusion status (1 = included as a case or selected control; 0 = otherwise)
number of at-risk subjects at each 'eventime'
inclusion probability
data(sample_data, package="WeightCalibSurvival") sample_data[1:5, ]