OdataNoCENS: An example of a dataset in long format with random monitoring...

Description Usage Format

Description

Simulated dataset containing 1,000 i.i.d. observations organized in long format as person-time rows. The binary exposure is TI and binary outcome is Y.tplus1. See /tests/ for R code that generated this data.

Usage

1

Format

A data frame with 1,000 observations and variables:

ID

Unique subject identifier

CVD

Baseline confounder (time invariant)

t

Interger for current time period, range 0-16

lastNat1

Time since last monitoring event, set to 0 when N[t-1]=0 and then added one for each new period where N[t] is 0.

highA1c

Time-varying confounder

TI

Binary exposure variable

C

Administrative censoring indicator, always set to 0 unless the end of study is reached (t==16)

N

The indicator of being monitored (having a visit)

Y.tplus1

Binary outcome at t


osofr/estimtr documentation built on Jan. 25, 2022, 8:05 a.m.