Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > coxtest(Model1,Model2)
- Cox test
- Model 1: group ~ A + B
- Model 2: group ~ C + B
- Estimate Std. Error z value Pr(>|z|)
- fitted(M1) ~ M2 -3.0809 3.1646 -0.9735 0.3303
- fitted(M2) ~ M1 -31.1339 2.0889 -14.9043 <2e-16 ***
- ---
- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
- > jtest(Model1,Model2)
- J test
- Model 1: group ~ A + B
- Model 2: group ~ C + B
- Estimate Std. Error t value Pr(>|t|)
- M1 + fitted(M2) 0.18681 0.21166 0.8826 0.3786
- M2 + fitted(M1) 0.93740 0.13155 7.1257 2.149e-11 ***
- ---
- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
- > encomptest(Model1,Model2, data=data)
- Encompassing test
- Model 1: group ~ A + B
- Model 2: group ~ C + B
- Model E: group ~ A + B + C
- Res.Df Df F Pr(>F)
- M1 vs. ME 188 -1 1.2402 0.2669
- M2 vs. ME 188 -1 24.3536 1.76e-06 ***
- ---
- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Add Comment
Please, Sign In to add comment