Skip to contents

Minimal data set mimicking data from an observational vaccine study. Used to apply/test methods.

Usage

simdata

Format

simdata

A data frame with 10,000 rows and 7 columns:

ID

Subject identifier

x1,x2

Covariates to adjust for

V

Indicator of ever vaccinated while under follow-up

D_obs

Day of observed vaccination (relative to d0)

Y

Time to event in days (relative to d0)

event

Event indicator, event = 0 if censored

Source

Created from code