Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > df.fit.a <- lme(value~1, random=~1|subject, data=df)
- > df.fit.b <- lme(value~test + side + phase + location, random=~1|subject, data=df)
- > summary(df.fit.a)
- Linear mixed-effects model fit by REML
- Data: df
- AIC BIC logLik
- 1604.43 1614.31 -799.2149
- Random effects:
- Formula: ~1 | subject
- (Intercept) Residual
- StdDev: 0.5872029 13.2372
- Fixed effects: value ~ 1
- Value Std.Error DF t-value p-value
- (Intercept) -7.685 0.9542529 190 -8.053421 0
- Standardized Within-Group Residuals:
- Min Q1 Med Q3 Max
- -3.7316282 -0.5566897 0.4704000 0.5886418 1.3740825
- Number of Observations: 200
- Number of Groups: 10
- > summary(df.fit.b)
- Linear mixed-effects model fit by REML
- Data: df
- AIC BIC logLik
- 1439.337 1471.912 -709.6683
- Random effects:
- Formula: ~1 | subject
- (Intercept) Residual
- StdDev: 2.280891 8.83572
- Fixed effects: value ~ test + side + phase + location
- Value Std.Error DF t-value p-value
- (Intercept) -5.7530 1.908676 183 -3.014131 0.0029
- testB 14.1240 1.249559 183 11.303183 0.0000
- sideR -0.0160 1.249559 183 -0.012805 0.9898
- phaseven -2.6020 1.249559 183 -2.082334 0.0387
- locationi2 -13.3400 1.975727 183 -6.751945 0.0000
- locationi3 -16.3825 1.975727 183 -8.291884 0.0000
- locationi4 -8.1200 1.975727 183 -4.109879 0.0001
- locationi5 -0.5825 1.975727 183 -0.294828 0.7685
- Correlation:
- (Intr) testB sideR phasvn loctn2 loctn3 loctn4
- testB -0.327
- sideR -0.327 0.000
- phaseven -0.327 0.000 0.000
- locationi2 -0.518 0.000 0.000 0.000
- locationi3 -0.518 0.000 0.000 0.000 0.500
- locationi4 -0.518 0.000 0.000 0.000 0.500 0.500
- locationi5 -0.518 0.000 0.000 0.000 0.500 0.500 0.500
- Standardized Within-Group Residuals:
- Min Q1 Med Q3 Max
- -3.3119087 -0.5726300 0.1257032 0.7247609 2.2145151
- Number of Observations: 200
- Number of Groups: 10
- Fixed effects: value ~ test_location + side + phase
- Value Std.Error DF t-value p-value
- (Intercept) 0.575833 1.8242559 179 0.315654 0.7526
- test_locationA_i2 -26.255000 2.1289582 179 -12.332323 0.0000
- test_locationA_i3 -30.430000 2.1289582 179 -14.293376 0.0000
- test_locationA_i4 -14.615000 2.1289582 179 -6.864860 0.0000
- test_locationA_i5 -2.435000 2.1289582 179 -1.143752 0.2543
- test_locationB_i1 0.283917 2.1378105 179 0.132807 0.8945
- test_locationB_i2 -0.141083 2.1378105 179 -0.065994 0.9475
- test_locationB_i3 -2.051083 2.1378105 179 -0.959432 0.3386
- test_locationB_i4 -1.341083 2.1378105 179 -0.627316 0.5313
- test_locationB_i5 1.553917 2.1378105 179 0.726873 0.4683
- sideR -0.016000 0.9520991 179 -0.016805 0.9866
- phaseven -1.419583 0.9717320 179 -1.460879 0.1458
- Correlation:
- (Intr) ts_A_2 ts_A_3 ts_A_4 ts_A_5 ts_B_1 ts_B_2 ts_B_3 ts_B_4 ts_B_5 sideR
- test_locationA_i2 -0.584
- test_locationA_i3 -0.584 0.500
- test_locationA_i4 -0.584 0.500 0.500
- test_locationA_i5 -0.584 0.500 0.500 0.500
- test_locationB_i1 -0.562 0.498 0.498 0.498 0.498
- test_locationB_i2 -0.562 0.498 0.498 0.498 0.498 0.504
- test_locationB_i3 -0.562 0.498 0.498 0.498 0.498 0.504 0.504
- test_locationB_i4 -0.562 0.498 0.498 0.498 0.498 0.504 0.504 0.504
- test_locationB_i5 -0.562 0.498 0.498 0.498 0.498 0.504 0.504 0.504 0.504
- sideR -0.261 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
- phaseven -0.213 0.000 0.000 0.000 0.000 -0.091 -0.091 -0.091 -0.091 -0.091 0.000
- Standardized Within-Group Residuals:
- Min Q1 Med Q3 Max
- -3.22153059 -0.46606190 0.04970901 0.52432545 2.15477603
- Number of Observations: 200
- Number of Groups: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement