Guest User

Untitled

a guest
Jan 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. > coxtest(Model1,Model2)
  2. Cox test
  3.  
  4. Model 1: group ~ A + B
  5. Model 2: group ~ C + B
  6. Estimate Std. Error z value Pr(>|z|)
  7. fitted(M1) ~ M2 -3.0809 3.1646 -0.9735 0.3303
  8. fitted(M2) ~ M1 -31.1339 2.0889 -14.9043 <2e-16 ***
  9. ---
  10. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  11.  
  12.  
  13. > jtest(Model1,Model2)
  14. J test
  15.  
  16. Model 1: group ~ A + B
  17. Model 2: group ~ C + B
  18. Estimate Std. Error t value Pr(>|t|)
  19. M1 + fitted(M2) 0.18681 0.21166 0.8826 0.3786
  20. M2 + fitted(M1) 0.93740 0.13155 7.1257 2.149e-11 ***
  21. ---
  22. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  23.  
  24.  
  25. > encomptest(Model1,Model2, data=data)
  26. Encompassing test
  27. Model 1: group ~ A + B
  28. Model 2: group ~ C + B
  29. Model E: group ~ A + B + C
  30. Res.Df Df F Pr(>F)
  31. M1 vs. ME 188 -1 1.2402 0.2669
  32. M2 vs. ME 188 -1 24.3536 1.76e-06 ***
  33. ---
  34. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Add Comment
Please, Sign In to add comment