dataEx: Simulated dataset

dataExR Documentation

Simulated dataset

Description

Sample of 500 subjects simulated according to a linear mixed model. The fixed part of the model included an intercept, 2 natural cubic splines on time and their interactions with time-independent covariates X1, X2 and X3. A random intercept and a independant error term were also inclued.

Format

A data frame with 2429 observations on the following 6 variables.

i

subject identification number

t

time of measurement

X1

binary covariate

X2

continous Gaussian standard variable

X3

continous Gaussian variable

Y

longitudinal outcome


marqLevAlg documentation built on March 31, 2023, 6:33 p.m.