A simulated data set used to demonstrate how to fit a linear mixed-effects model with lme4. There are 500 participants. Each participants has up to 25 repeated measurements recorded.

lme_one

Format

A data frame with 3396 rows and 7 variables:

id

An ID variable grouping the repeated measurements

time_id

time point values

Y

Outcome

X1

Predictor Variable X1

X2

Predictor Variable X2

X3

Predictor Variable X3

X4

Predictor Variable X4