私は 2 x 2 の表を検討しました。データは、ランニング前後の生徒の脈拍数に関するものです。PulseBeforeとPulseAfterに対して乱(Yes/No)を考え、分割表を作りました。ポアソン対数線形モデルを当てはめたところ、次のような出力が得られました。
inde<-glm(dat$Ran1~dat$Pulse1+dat$Pulse2,family=poisson)
inde
Call: glm(formula = dat$Ran1 ~ dat$Pulse1 + dat$Pulse2, family = poisson)
Coefficients:
(Intercept) dat$Pulse1 dat$Pulse2
-2.09795 -0.02745 0.02968
Degrees of Freedom: 108 Total (i.e. Null); 106 Residual
Null Deviance: 79.37
Residual Deviance: 37.21 AIC: 135.2
これは正しいです?