data_valid: Example Validation Data for 'rmodcal' Package

Description Usage Format

Description

Example cohort with simulated case-cohort study where N = 10000 and 250 cases. This dataset is used to run the example for function model.calibration.

Usage

1

Format

A data frame with N = 10000 rows and 8 variables:

X

continuous covariate available in phase 1

Z

continuous covariate only available in phase 2; NA if missing

Uz

an ancillary predictor for Z2 available in phase 1

eventime

time-to-event (event = either case or censored)

ind.fail

binary outcome status (1 = case; 0 = non-case)

ind.ph2

phase 2 inclusion status (1 = included as a case or selected control; 0 = otherwise)

incl.prob

inclusion probability

wgt

sampling weights (=1/incl.prob)


syeeun/rmodcal documentation built on Sept. 10, 2020, 12:05 a.m.