Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

data_hlme

Simulated dataset for hlme function


Description

The data were simulated from a 3-latent class linear mixed model. Repeated data for 100 subjects were simulated. The three latent classes are predicted by X2 and X3. In each latent class, Y follows a linear mixed model including intercept and time both with correlated random-effects and class-specific fixed effects. In addition, X1 and X1*time have a common impact over classes on the Y trajectory.

Format

A data frame with 326 observations on the following 9 variables.

ID

subject identification number

Y

longitudinal outcome

Time

time of measurement

X1

binary covariate

X2

binary covariate

X3

binary covariate

See Also


lcmm

Extended Mixed Models Using Latent Classes and Latent Processes

v1.9.2
GPL (>= 2.0)
Authors
Cecile Proust-Lima, Viviane Philipps, Amadou Diakite and Benoit Liquet
Initial release
2020-07-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.