| Literature DB >> 34390456 |
Steffen Nestler1, Sarah Humberg2.
Abstract
Research in psychology is experiencing a rapid increase in the availability of intensive longitudinal data. To use such data for predicting feelings, beliefs, and behavior, recent methodological work suggested combinations of the longitudinal mixed-effect model with Lasso regression or with regression trees. The present article adds to this literature by suggesting an extension of these models that-in addition to a random effect for the mean level-also includes a random effect for the within-subject variance and a random effect for the autocorrelation. After introducing the extended mixed-effect location scale (E-MELS), the extended mixed-effect location-scale Lasso model (Lasso E-MELS), and the extended mixed-effect location-scale tree model (E-MELS trees), we show how its parameters can be estimated using a marginal maximum likelihood approach. Using real and simulated example data, we illustrate how to use E-MELS, Lasso E-MELS, and E-MELS trees for building prediction models to forecast individuals' daily nervousness. The article is accompanied by an R package (called mels) and functions that support users in the application of the suggested models.Entities:
Keywords: lasso regression; longitudinal data; mixed-effect models; regression trees; within-person variability
Mesh:
Year: 2021 PMID: 34390456 PMCID: PMC9166855 DOI: 10.1007/s11336-021-09787-w
Source DB: PubMed Journal: Psychometrika ISSN: 0033-3123 Impact factor: 2.290
Fig. 1A simple tree (see text for explanations). N = neuroticism, A = Agreeableness.
Results for the real-data example across four models.
| Mixed-effect model | E-MELS | |||
|---|---|---|---|---|
| Standard | Lasso | Standard | Lasso | |
| Intercept | 1.59 (0.71) | 1.29 | 1.72 (0.68) | 1.72 |
| Age | 0.01 (0.01) | 0.02 | 0.01 (0.01) | – |
| Sex | 0.11 (0.16) | 0.21 | 0.11 (0.15) | – |
| Positive affect | 0.03 | |||
| Negative affect | 0.12 | 0.28 | ||
| Life satisfaction | 0.08 (0.06) | 0.02 | 0.05 (0.06) | |
| Power | 0.03 (0.07) | 0.05 | 0.03 (0.06) | – |
| Achievement | 0.07 (0.07) | 0.17 | 0.03 (0.07) | – |
| Affiliation | 0.29 (0.27) | 0.64 | 0.29 (0.26) | – |
| Intimacy | 0.01 (0.08) | – | ||
| Fear | – | |||
| Sociable (PM) | – | |||
| Creative (PM) | 0.40 | 0.31 | ||
| Friendly (PM) | 0.16 (0.17) | 0.44 | 0.09 (0.17) | – |
| Organized (PM) | 0.00 (0.13) | 0.02 (0.13) | – | |
| Self-esteem (PM) | ||||
| Sociable | – | 0.04 | ||
| Creative | 0.01 (0.02) | 0.01 (0.01) | – | |
| Friendly | ||||
| Organized | 0.05 | 0.06 | ||
| Self-esteem | ||||
| Weekday | ||||
| Temperature | 0.00 (0.01) | – | 0.01 (0.00) | 0.01 |
| Amount rainfall | 0.01 (0.01) | – | 0.01 (0.00) | 0.01 |
| 0.20 | 0.18 | 0.21 (0.04) | 0.23 | |
| Intercept | 1.23 | 1.19 | 1.07 (1.05) | 1.02 |
| Variance | – | – | 0.20 | 0.20 |
| – | ||||
| Intercept | 0.18 | 0.20 | 0.19 (0.02) | 0.21 |
| Variance | – | 0.02 | 0.02 | |
| log-Likelihood | ||||
| AIC | 19946.40 | 14589.84 | 19476.92 | 14235.98 |
| BIC | 20129.58 | 14745.50 | 19694.02 | 14372.18 |
PM = Person mean. For the fixed-effect coefficients, values in parentheses denote standard errors and coefficients in bold are significant (). Not shown are the covariance parameters between the random effects. For the Lasso models, we show the parameters of the selected model for the training data. Note that we do not report standard errors for these parameters as these are not trustworthy. For the Lasso mixed-effect model, the regularization parameter was = 110 and for the Lasso E-MELS the parameter was = 40.
Results concerning the mean squared error (MSE, standard errors in parentheses) and the standard deviation of the forecast error () of a one-step-ahead forecast across the six models for the real-data example.
| Mixed-effect model | E-MELS | ||||||
|---|---|---|---|---|---|---|---|
| Measure | Task | Standard | Lasso | Tree | Standard | Lasso | Tree |
| MSE | 1 | 0.84 (0.15) | 0.85 (0.15) | 0.82 (0.13) | 0.89 (0.15) | 0.94 (0.16) | 0.90 (0.17) |
| 2 | 1.37 (0.35) | 1.41 (0.36) | 2.61 (0.79) | 1.40 (0.36) | 1.42 (0.37) | 1.60 (0.41) | |
| 3 | 1.41 (0.37) | 1.41 (0.37) | 2.20 (0.63) | 1.37 (0.34) | 1.40 (0.35) | 1.16 (0.31) | |
| 1 | 1.08 | 1.08 | – | 1.04 | 1.04 | – | |
| 2 | 1.18 | 1.18 | – | 1.13 | 1.13 | – | |
| 3 | 1.08 | 1.09 | – | 1.04 | 1.03 | – | |
| Computation Time (in sec) | 2.71 | 18.61 | 9.41 | 131.9 | 2926.5 | 1100.9 | |
Task 1 refers to predictions for a new time point for persons that were used to build the prediction model. Task 2 refers to predictions for new persons without considering prior data, and Task 3 refers to predictions for new persons with considering prior data.
Fig. 2Results for the AIC/BIC of the E-MELS Lasso for the training data as a function of the regularization parameter .
Fig. 3Estimated E-MELS tree for the simulated training data.
Results for the simulated-data example across four models.
| Mixed-effect model | E-MELS | |||
|---|---|---|---|---|
| Standard | Lasso | Standard | Lasso | |
| Intercept | 9.11 | 9.07 | 9.18 | 9.18 |
| 0.31 | 0.31 | 0.30 | 0.30 | |
| 0.21 | 0.21 | 0.19 | 0.19 | |
| −0.04 | ||||
| – | – | |||
| 0.01 | – | 0.01 | – | |
| 0.01 | – | 0.01 | – | |
| 0.01 | – | 0.01 | – | |
| – | – | |||
| – | 0.01 | – | ||
| −0.04 | ||||
| 0.02 | 0.02 | 0.02 | 0.03 | |
| 1.13 | 1.13 | 0.94 | 0.94 | |
| Intercept | 1.70 | 1.70 | 1.08 | 1.08 |
| Variance | – | – | 0.20 | 0.20 |
| Intercept | 0.25 | 0.25 | 0.22 | 0.22 |
| Variance | – | – | 0.27 | 0.28 |
Not shown are the standard errors of the parameters and the covariance parameters between the random effects. For the Lasso models, we show the parameters obtained with the final model in which the outcome was fitted to the selected variables. For the Lasso mixed-effect model, the regularization parameter was = 320 and for the Lasso E-MELS the parameter was = 220.
Results concerning the mean squared error (MSE, standard errors in parentheses) and the standard deviation of the forecast error () of a one-step-ahead forecast across the six models for the simulated-data example.
| Mixed-effect model | E-MELS | ||||||
|---|---|---|---|---|---|---|---|
| Measure | Task | Standard | Lasso | Tree | Standard | Lasso | Tree |
| MSE | 1 | 1.44 (0.24) | 1.45 (0.25) | 1.01 (0.20) | 1.21 (0.22) | 1.20 (0.22) | 0.81 (0.14) |
| 2 | 2.61 (0.37) | 2.59 (0.37) | 2.21 (0.37) | 2.62 (0.37) | 2.61 (0.37) | 2.22 (0.37) | |
| 3 | 1.54 (0.22) | 1.56 (0.22) | 1.15 (0.18) | 1.20 (0.17) | 1.21 (0.17) | 0.67 (0.10) | |
| 1 | 1.28 | 1.29 | – | 1.09 | 1.09 | – | |
| 2 | 1.65 | 1.66 | – | 1.43 | 1.42 | – | |
| 3 | 1.29 | 1.29 | – | 1.09 | 1.08 | – | |
| Computation time (in sec) | 0.89 | 8.34 | 1.82 | 85.3 | 519.4 | 101.1 | |
Task 1 refers to predictions for a new time point for persons that were used to build the prediction model. Task 2 refers to predictions for new persons without considering prior data, and Task 3 refers to predictions for new persons with considering prior data.
Average parameter estimates depending on number of measurements (T).
| 25 | 0.999 | 0.981 | 0.497 | 0.493 | 0.271 | |
| 50 | 1.002 | 0.982 | 0.506 | 0.490 | 0.265 |
is the average across all four fixed-effect coefficients (that were all set to 1).
Mean squared error (MSE) of prediction and standard deviation of the forecast error () for a one-step forecast depending on the model and the number of training time points (T).
| Mixed-Effect Model | E-MELS | ||||||
|---|---|---|---|---|---|---|---|
| Measure | Task 1 | Task 2 | Task 3 | Task 1 | Task 2 | Task 3 | |
| MSE | 25 | 1.123 | 2.526 | 1.183 | 0.840 | 2.521 | 0.871 |
| 50 | 1.139 | 2.407 | 1.176 | 0.805 | 2.403 | 0.832 | |
| 25 | 1.099 | 1.561 | 1.101 | 1.019 | 1.250 | 1.016 | |
| 50 | 1.102 | 1.554 | 1.107 | 1.020 | 1.249 | 1.023 | |
Task 1 refers to predictions for persons that were used to build the prediction model, Task 2 refers to predictions for new persons without considering prior data, and Task 3 refers to predictions for new persons with considering their prior data.