Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. > df.fit.a <- lme(value~1, random=~1|subject, data=df)
  2. > df.fit.b <- lme(value~test + side + phase + location, random=~1|subject, data=df)
  3. > summary(df.fit.a)
  4. Linear mixed-effects model fit by REML
  5. Data: df
  6. AIC BIC logLik
  7. 1604.43 1614.31 -799.2149
  8.  
  9. Random effects:
  10. Formula: ~1 | subject
  11. (Intercept) Residual
  12. StdDev: 0.5872029 13.2372
  13.  
  14. Fixed effects: value ~ 1
  15. Value Std.Error DF t-value p-value
  16. (Intercept) -7.685 0.9542529 190 -8.053421 0
  17.  
  18. Standardized Within-Group Residuals:
  19. Min Q1 Med Q3 Max
  20. -3.7316282 -0.5566897 0.4704000 0.5886418 1.3740825
  21.  
  22. Number of Observations: 200
  23. Number of Groups: 10
  24. > summary(df.fit.b)
  25. Linear mixed-effects model fit by REML
  26. Data: df
  27. AIC BIC logLik
  28. 1439.337 1471.912 -709.6683
  29.  
  30. Random effects:
  31. Formula: ~1 | subject
  32. (Intercept) Residual
  33. StdDev: 2.280891 8.83572
  34.  
  35. Fixed effects: value ~ test + side + phase + location
  36. Value Std.Error DF t-value p-value
  37. (Intercept) -5.7530 1.908676 183 -3.014131 0.0029
  38. testB 14.1240 1.249559 183 11.303183 0.0000
  39. sideR -0.0160 1.249559 183 -0.012805 0.9898
  40. phaseven -2.6020 1.249559 183 -2.082334 0.0387
  41. locationi2 -13.3400 1.975727 183 -6.751945 0.0000
  42. locationi3 -16.3825 1.975727 183 -8.291884 0.0000
  43. locationi4 -8.1200 1.975727 183 -4.109879 0.0001
  44. locationi5 -0.5825 1.975727 183 -0.294828 0.7685
  45. Correlation:
  46. (Intr) testB sideR phasvn loctn2 loctn3 loctn4
  47. testB -0.327
  48. sideR -0.327 0.000
  49. phaseven -0.327 0.000 0.000
  50. locationi2 -0.518 0.000 0.000 0.000
  51. locationi3 -0.518 0.000 0.000 0.000 0.500
  52. locationi4 -0.518 0.000 0.000 0.000 0.500 0.500
  53. locationi5 -0.518 0.000 0.000 0.000 0.500 0.500 0.500
  54.  
  55. Standardized Within-Group Residuals:
  56. Min Q1 Med Q3 Max
  57. -3.3119087 -0.5726300 0.1257032 0.7247609 2.2145151
  58.  
  59. Number of Observations: 200
  60. Number of Groups: 10
  61.  
  62. Fixed effects: value ~ test_location + side + phase
  63. Value Std.Error DF t-value p-value
  64. (Intercept) 0.575833 1.8242559 179 0.315654 0.7526
  65. test_locationA_i2 -26.255000 2.1289582 179 -12.332323 0.0000
  66. test_locationA_i3 -30.430000 2.1289582 179 -14.293376 0.0000
  67. test_locationA_i4 -14.615000 2.1289582 179 -6.864860 0.0000
  68. test_locationA_i5 -2.435000 2.1289582 179 -1.143752 0.2543
  69. test_locationB_i1 0.283917 2.1378105 179 0.132807 0.8945
  70. test_locationB_i2 -0.141083 2.1378105 179 -0.065994 0.9475
  71. test_locationB_i3 -2.051083 2.1378105 179 -0.959432 0.3386
  72. test_locationB_i4 -1.341083 2.1378105 179 -0.627316 0.5313
  73. test_locationB_i5 1.553917 2.1378105 179 0.726873 0.4683
  74. sideR -0.016000 0.9520991 179 -0.016805 0.9866
  75. phaseven -1.419583 0.9717320 179 -1.460879 0.1458
  76. Correlation:
  77. (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
  78. test_locationA_i2 -0.584
  79. test_locationA_i3 -0.584 0.500
  80. test_locationA_i4 -0.584 0.500 0.500
  81. test_locationA_i5 -0.584 0.500 0.500 0.500
  82. test_locationB_i1 -0.562 0.498 0.498 0.498 0.498
  83. test_locationB_i2 -0.562 0.498 0.498 0.498 0.498 0.504
  84. test_locationB_i3 -0.562 0.498 0.498 0.498 0.498 0.504 0.504
  85. test_locationB_i4 -0.562 0.498 0.498 0.498 0.498 0.504 0.504 0.504
  86. test_locationB_i5 -0.562 0.498 0.498 0.498 0.498 0.504 0.504 0.504 0.504
  87. sideR -0.261 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
  88. phaseven -0.213 0.000 0.000 0.000 0.000 -0.091 -0.091 -0.091 -0.091 -0.091 0.000
  89.  
  90. Standardized Within-Group Residuals:
  91. Min Q1 Med Q3 Max
  92. -3.22153059 -0.46606190 0.04970901 0.52432545 2.15477603
  93.  
  94. Number of Observations: 200
  95. Number of Groups: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement