datrand {binaryMM}R Documentation

Simulated data set

Description

A simulated data set. Data were created using fixed marginal mean parameters (beta0, beta1, beta2, beta3) = (-1.85, -0.15, 1.00, 0.15) and association parameters (gamma, sigma) = (1.5, 0.0). These data were created assuming an autocorrelation dependence structure.

Usage

datrand

Format

A data frame with 24999 rows and 4 variables:

id

integer. A patient identifier

Y

integer. A binary outcome

time

double. A time-varying covariate

binary

double. A time-invariant covariate


[Package binaryMM version 0.1.1 Index]