I made a mixed model to investigate the effect of 2 interventions (strength or endurance) on physical activity. Here are descriptions of my variables:
- PA = Physical Activity (measured in minutes of PA per week)
- progr = is the intervention program (1 = endurance, 2 = strength)
- time = time points of measurement (at baseline, after 6 weeks and after 12 weeks) vnr = ID-number of the subjects
I have used this code to build the model:
mix.intslo_PA_2 <- lmer(PA ~ progr + time + progr * time + (time|vnr), data_l)
summary(mix.intslo_PA_2)
Now when I get the output, I don't know how to interpret it, since I can't find a clear explanation anywhere on how to do this. What is important to interpret? The random or fixed effects and what do they mean? And how to interpret them?
This is the output:
> summary(mix.intslo_PA_2)
Linear mixed model fit by REML. t-tests use Satterthwaite's method ['lmerModLmerTest']
Formula: PA ~ progr + time + progr * time + (time | vnr)
Data: data_l
REML criterion at convergence: 8772.7
Scaled residuals:
Min 1Q Median 3Q Max
-1.99644 -0.77989 -0.01227 0.84138 1.88024
Random effects:
Groups Name Variance Std.Dev. Corr
vnr (Intercept) 28188.4 167.89
time 192.5 13.87 -0.54
Residual 137102.2 370.27
Number of obs: 594, groups: vnr, 198
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 773.982 38.722 196.001 19.988 <2e-16 ***
progr2 -54.241 53.687 196.001 -1.010 0.314
time -2.205 4.698 196.002 -0.469 0.639
progr2:time 2.025 6.514 196.002 0.311 0.756
Signif. codes: 0 ‘*’ 0.001 ‘’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Correlation of Fixed Effects:
(Intr) progr2 time
progr2 -0.721
time -0.733 0.529
progr2:time 0.529 -0.733 -0.721
vnr. What doesvnrmeasure? – Shawn Hemelstrand Jan 31 '24 at 01:06