| Literature DB >> 21647351 |
Emily A Blood1, Debbie M Cheng.
Abstract
Linear mixed models (LMMs) are frequently used to analyze longitudinal data. Although these models can be used to evaluate mediation, they do not directly model causal pathways. Structural equation models (SEMs) are an alternative technique that allows explicit modeling of mediation. The goal of this paper is to evaluate the performance of LMMs relative to SEMs in the analysis of mediated longitudinal data with time-dependent predictors and mediators. We simulated mediated longitudinal data from an SEM and specified delayed effects of the predictor. A variety of model specifications were assessed, and the LMMs and SEMs were evaluated with respect to bias, coverage probability, power, and Type I error. Models evaluated in the simulation were also applied to data from an observational cohort of HIV-infected individuals. We found that when carefully constructed, the LMM adequately models mediated exposure effects that change over time in the presence of mediation, even when the data arise from an SEM.Entities:
Mesh:
Substances:
Year: 2011 PMID: 21647351 PMCID: PMC3103895 DOI: 10.1155/2011/435078
Source DB: PubMed Journal: J Environ Public Health ISSN: 1687-9805
Figure 1Path diagram of unrestricted structural equation model.
Performance of SEM and linear mixed model assuming total effect of main independent variable is constant when true underlying effects are small for early time points and small to moderate for late time points.
| Simulated data scenarios | Constant effect SEM | Constant effect LMM | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Time point | Effect size | Sample size | Effect distribution | Bias (%) | Coverage probability (%) | Power (%) | Bias (%) | Coverage probability (%) | Power (%) |
|
| 0.05 | 350 | Equal | 180 | 67 | 65 | 171 | 71 | 62 |
|
| 0.25 | 350 | Equal | −44 | 56 | 65 | − 45 | 53 | 62 |
|
| |||||||||
|
| 0.05 | 350 | Primarily indirect | 179 | 70 | 60 | 164 | 73 | 55 |
|
| 0.25 | 350 | Primarily indirect | − 44 | 55 | 60 | − 47 | 51 | 55 |
|
| |||||||||
|
| 0.05 | 350 | Primarily direct | 173 | 69 | 66 | 169 | 69 | 65 |
|
| 0.25 | 350 | Primarily direct | −45 | 50 | 66 | − 46 | 49 | 65 |
|
| |||||||||
|
| 0.05 | 100 | Equal | 168 | 86 | 24 | 159 | 88 | 22 |
|
| 0.25 | 100 | Equal | −46 | 82 | 24 | − 48 | 81 | 22 |
|
| |||||||||
|
| 0.05 | 200 | Equal | 178 | 80 | 41 | 169 | 81 | 38 |
|
| 0.25 | 200 | Equal | −44 | 73 | 41 | − 46 | 70 | 38 |
|
| |||||||||
|
| 0.05 | 400 | Equal | 175 | 65 | 67 | 165 | 69 | 64 |
|
| 0.25 | 400 | Equal | −45 | 49 | 67 | − 47 | 46 | 64 |
|
| |||||||||
|
| 0.05 | 350 | Equal | 395 | 3 | 97 | 369 | 2 | 94 |
|
| 0.5 | 350 | Equal | −50 | 16 | 97 | −53 | 21 | 94 |
|
| |||||||||
|
| 0.05 | 400 | Equal | −148 | 73 | 8 | − 137 | 76 | 6 |
|
| − 0.11 | 400 | Equal | −78 | 63 | 8 | − 83 | 60 | 6 |
Based on 1000 simulated datasets.
Performance of SEM and linear mixed model assuming delayed effects of main independent variable when true underlying effects are small for early time points and small to moderate for late time points.
| Simulated data scenarios | Delayed effect SEM | Naive delayed effect LMM | Full delayed effect LMM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Time point | Effect size | Sample size | Bias (%) | Coverage probability (%) | Power (%) | Bias (%) | Coverage probability (%) | Power (%) | Bias (%) | Coverage probability | Power (%) |
|
| 0.05 | 350 | 10 | 95 | 13 | 390 | 23 | 53 | 9.6 | 95 | 13 |
|
| 0.25 | 350 | −0.1 | 95 | 83 | 109 | 9 | 100 | −0.3 | 94 | 82 |
|
| |||||||||||
|
| 0.05* | 350 | −4.2 | 95 | 11 | 522 | 6 | 82 | −5.0 | 95 | 10 |
|
| 0.25* | 350 | 1.7 | 95 | 83 | 144 | 0.8 | 100 | 1.4 | 94 | 82 |
|
| |||||||||||
|
| 0.05** | 350 | 2.2 | 94 | 11 | −234 | 61 | 17 | 2.2 | 94 | 12 |
|
| 0.25** | 350 | −0.7 | 95 | 85 | 633 | 48 | 100 | −0.7 | 96 | 84 |
|
| |||||||||||
|
| 0.05 | 100 | −0.2 | 94 | 8 | −397 | 68 | 20 | −0.9 | 94 | 7 |
|
| 0.25 | 100 | −2.9 | 94 | 34 | 107 | 58 | 92 | −2.5 | 94 | 32 |
|
| |||||||||||
|
| 0.05 | 200 | 0.2 | 95 | 10 | −396 | 45 | 34 | -0.9 | 95 | 9 |
|
| 0.25 | 200 | 0.8 | 95 | 63 | 109 | 28 | 99 | 0.7 | 96 | 61 |
|
| |||||||||||
|
| 0.05 | 400 | 0.2 | 94 | 14 | −400 | 17 | 60 | −1.4 | 94 | 12 |
|
| 0.25 | 400 | 8.0 | 96 | 88 | 109 | 6 | 100 | −0.8 | 94 | 86 |
|
| |||||||||||
|
| 0.05 | 350 | 4.2 | 96 | 11 | −684 | 0.2 | 97 | 4.1 | 96 | 9 |
|
| 0.5 | 350 | 0.5 | 95 | 100 | 98 | 0 | 100 | 0.09 | 95 | 100 |
|
| |||||||||||
|
| 0.05 | 400 | 0.4 | 95 | 11 | −148 | 80 | 6 | 0.6 | 95 | 10 |
|
| −0.11 | 400 | 1.5 | 95 | 30 | −90 | 74 | 6 | 2 | 95 | 30 |
Based on 1000 simulated datasets.
Results are from simulated data with total effects equally distributed between direct and indirect effects, except where indicated.
*Total effect is primarily direct.
**Total effect is primarily indirect.
Performance of unrestricted structural equation model (USEM) and unrestricted and time interaction linear mixed models (UMM and TIMM, resp.) when true underlying effects are small for early time points and small to moderate for late time points.
| Simulated data scenarios | USEM | TIMM | UMM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Time point | Effect size | Sample size | Bias (%) | Coverage probability (%) | Power (%) | Bias (%) | Coverage probability (%) | Power (%) | Bias (%) | Coverage probability (%) | Power (%) |
|
| 0.05 | 350 | 16 | 95 | 8 | − 50 | 93 | 6 | 16 | 96 | 7 |
|
| 0.05 | 350 | 9.4 | 94 | 8 | 51 | 94 | 19 | 8.6 | 94 | 8 |
|
| 0.05 | 350 | 7.4 | 94 | 9 | 153 | 75 | 56 | 4.9 | 95 | 8 |
|
| 0.25 | 350 | −0.6 | 94 | 54 | −29 | 81 | 76 | −0.09 | 94 | 54 |
|
| 0.25 | 350 | −0.4 | 94 | 48 | −8.9 | 94 | 73 | −0.5 | 93 | 48 |
|
| 0.25 | 350 | −0.08 | 93 | 40 | 11 | 93 | 66 | −1.0 | 94 | 38 |
|
| |||||||||||
|
| 0.05* | 350 | −4.0 | 94 | 8 | −71 | 94 | 5 | −6.3 | 95 | 7 |
|
| 0.05* | 350 | −9.6 | 96 | 7 | 38 | 94 | 15 | −9.8 | 95 | 6 |
|
| 0.05* | 350 | −1.4 | 95 | 8 | 146 | 78 | 49 | 1.3 | 95 | 7 |
|
| 0.25* | 350 | 2.9 | 95 | 55 | −29 | 81 | 70 | 2.6 | 94 | 54 |
|
| 0.25* | 350 | 2.2 | 95 | 49 | −7.4 | 94 | 71 | 1.6 | 94 | 48 |
|
| 0.25* | 350 | 0.4 | 95 | 36 | 14 | 94 | 66 | −0.5 | 95 | 36 |
|
| |||||||||||
|
| 0.05** | 350 | 10 | 95 | 7 | −60 | 94 | 6 | 8.7 | 95 | 7 |
|
| 0.05** | 350 | −14 | 93 | 7 | 44 | 95 | 18 | −14 | 93 | 7 |
|
| 0.05** | 350 | 11 | 94 | 8 | 148 | 75 | 56 | 12 | 94 | 9 |
|
| 0.25** | 350 | −0.4 | 95 | 58 | −29 | 81 | 79 | −0.3 | 95 | 55 |
|
| 0.25** | 350 | 0.0 | 96 | 50 | −8.6 | 95 | 77 | 0.2 | 96 | 48 |
|
| 0.25** | 350 | −0.2 | 96 | 37 | 12 | 95 | 70 | −2.6 | 96 | 36 |
|
| |||||||||||
|
| 0.05 | 100 | −25 | 94 | 7 | −26 | 94 | 6 | −69 | 93 | 6 |
|
| 0.05 | 100 | 8.8 | 94 | 6 | 7.2 | 93 | 6 | 36 | 94 | 9 |
|
| 0.05 | 100 | 10 | 96 | 5 | 14 | 95 | 5 | 141 | 90 | 20 |
|
| 0.25 | 100 | −2.0 | 94 | 20 | −2.2 | 93 | 20 | −31 | 90 | 30 |
|
| 0.25 | 100 | −3.8 | 94 | 17 | −3.2 | 94 | 17 | −9.8 | 95 | 29 |
|
| 0.25 | 100 | −2.5 | 94 | 16 | −2.2 | 94 | 16 | 11 | 95 | 26 |
|
| |||||||||||
|
| 0.05 | 200 | 8.2 | 95 | 7 | −60 | 95 | 5 | 7.7 | 95 | 7 |
|
| 0.05 | 200 | 1.2 | 95 | 7 | 45 | 95 | 13 | 0.4 | 95 | 6 |
|
| 0.05 | 200 | −7.8 | 95 | 7 | 150 | 83 | 34 | −9.2 | 95 | 6 |
|
| 0.25 | 200 | 4.0 | 96 | 38 | −29 | 97 | 52 | 4.1 | 95 | 36 |
|
| 0.25 | 200 | −3.0 | 95 | 28 | −8.1 | 95 | 50 | −2.6 | 95 | 28 |
|
| 0.25 | 200 | −0.7 | 94 | 24 | 13 | 95 | 45 | −1.3 | 94 | 25 |
|
| |||||||||||
|
| 0.05 | 400 | 41 | 95 | 8 | −65 | 94 | 5 | 2.7 | 95 | 7 |
|
| 0.05 | 400 | −3.2 | 94 | 7 | 41 | 94 | 19 | −4.7 | 97 | 6 |
|
| 0.05 | 400 | −0.2 | 95 | 9 | 146 | 74 | 58 | −2.3 | 96 | 7 |
|
| 0.25 | 400 | −1.3 | 95 | 60 | −30 | 76 | 80 | −1.7 | 95 | 58 |
|
| 0.25 | 400 | 1.2 | 95 | 54 | −8.6 | 95 | 79 | 1.0 | 94 | 53 |
|
| 0.25 | 400 | −0.5 | 96 | 43 | 12 | 95 | 73 | −1.9 | 96 | 40 |
|
| |||||||||||
|
| 0.05 | 400 | −6 | 95 | 7 | 52 | 94 | 14 | −7 | 95 | 7 |
|
| 0.05 | 400 | 4 | 97 | 6 | −33 | 95 | 8 | 3 | 97 | 7 |
|
| 0.05 | 400 | 2 | 95 | 8 | −119 | 82 | 5 | 5 | 95 | 7 |
|
| −0.11 | 400 | 0.4 | 95 | 17 | −52 | 83 | 14 | 0.9 | 95 | 17 |
|
| −0.11 | 400 | 2.5 | 95 | 17 | −13 | 95 | 23 | 4 | 95 | 17 |
|
| −0.11 | 400 | 1 | 95 | 13 | 26 | 94 | 26 | 2 | 95 | 13 |
Based on 1000 simulated datasets.
Results are from simulated data with total effects equally distributed between direct and indirect effects, except where indicated.
*Total effect is primarily direct.
**Total effect is primarily indirect.
Type I error rates for mediated structural equation models and linear mixed models at various sample sizes.
| Simulated data | Unrestricted | Delayed effect | Constant effect | Time interaction | ||||
|---|---|---|---|---|---|---|---|---|
| Time point | Sample size | SEM | LMM | SEM | LMM | SEM | LMM | LMM |
|
| 100 | 0.050 | 0.050 | 0.053 | 0.053 | 0.05 | 0.053 | 0.053 |
|
| 100 | 0.064 | 0.072 | 0.053 | 0.053 | 0.05 | 0.053 | 0.065 |
|
| 100 | 0.038 | 0.039 | 0.053 | 0.053 | 0.05 | 0.053 | 0.053 |
|
| 100 | 0.047 | 0.051 | 0.045 | 0.043 | 0.05 | 0.053 | 0.045 |
|
| 100 | 0.048 | 0.051 | 0.045 | 0.043 | 0.05 | 0.053 | 0.041 |
|
| 100 | 0.050 | 0.053 | 0.045 | 0.043 | 0.05 | 0.053 | 0.038 |
|
| ||||||||
|
| 350 | 0.053 | 0.053 | 0.048 | 0.046 | 0.030 | 0.031 | 0.054 |
|
| 350 | 0.044 | 0.044 | 0.048 | 0.046 | 0.030 | 0.031 | 0.047 |
|
| 350 | 0.051 | 0.051 | 0.048 | 0.046 | 0.030 | 0.031 | 0.032 |
|
| 350 | 0.049 | 0.049 | 0.046 | 0.045 | 0.030 | 0.031 | 0.038 |
|
| 350 | 0.038 | 0.038 | 0.046 | 0.045 | 0.030 | 0.031 | 0.046 |
|
| 350 | 0.052 | 0.052 | 0.046 | 0.045 | 0.030 | 0.031 | 0.049 |
|
| ||||||||
|
| 500 | 0.058 | 0.064 | 0.047 | 0.045 | 0.054 | 0.053 | 0.052 |
|
| 500 | 0.048 | 0.048 | 0.047 | 0.045 | 0.054 | 0.053 | 0.049 |
|
| 500 | 0.049 | 0.046 | 0.047 | 0.045 | 0.054 | 0.053 | 0.054 |
|
| 500 | 0.049 | 0.050 | 0.048 | 0.048 | 0.054 | 0.053 | 0.047 |
|
| 500 | 0.051 | 0.048 | 0.048 | 0.048 | 0.054 | 0.053 | 0.048 |
|
| 500 | 0.046 | 0.047 | 0.048 | 0.048 | 0.054 | 0.053 | 0.044 |
Based on 1000 simulated datasets.
The total effect of heavy alcohol consumption on CD4 cell count from a prospective cohort study of HIV-infected subjects on antiretroviral therapy (n = 319) [29]. Longitudinal regression analyses were performed using linear mixed models and structural equation models, and adjusted mean differences (SE) are reported.
| SEM | LMM | ||||||
|---|---|---|---|---|---|---|---|
| Time point | Constant effect | Delayed effect | Unrestricted | Constant effect | Delayed effect | Time interaction | Unrestricted |
|
| −3.7 (9.6) | 0.41 (11.6) | −4.8 (19.6) | −3.0 (11.3) | −2.3 (13.8) | 0.44 (22.0) | −7.7 (23.9) |
|
| −3.7 (9.6) | 0.41 (11.6) | 0.13 (20.1) | −3.0 (11.3) | −2.3 (13.8) | −0.41 (18.1) | 6.2 (24.1) |
|
| −3.7 (9.6) | 0.41 (11.6) | −1.4 (20.4) | −3.0 (11.3) | −2.3 (13.8) | −1.3 (14.7) | 6.9 (23.7) |
|
| −3.7 (9.6) | 0.41 (11.6) | 5.7 (18.9) | −3.0 (11.3) | −2.3 (13.8) | −2.1 (12.3) | 0.68 (22.3) |
|
| −3.7 (9.6) | −10.3 (14.0) | −3.4 (20.2) | −3.0 (11.3) | −4.1 (16.5) | −3.0 (11.3) | −4.6 (24.1) |
|
| −3.7 (9.6) | −10.3 (14.0) | 3.8 (22.0) | −3.0 (11.3) | −4.1 (16.5) | −3.8 (12.3) | 9.5 (25.1) |
|
| −3.7 (9.6) | −10.3 (14.0) | −13.1 (25.9) | −3.0 (11.3) | −4.1 (16.5) | −4.7 (14.8) | −13.6 (30.3) |
|
| −3.7 (9.6) | −10.3 (14.0) | −41.8 (31.6) | −3.0 (11.3) | −4.1 (16.5) | −5.5 (18.2) | −15.8 (35.1) |