mn6.9 {multmod} | R Documentation |
Responses given by 2982 New Jersey high-school seniors on 4 questions concerning attitude towards science. Also recorded was whether students had a high or low I.Q.
data(mn6.9)
A data frame with 2982 observations on the following 5 variables.
y1
y2
y3
y4
group
McCullagh, P. and Nelder, J.A. (1989, p. 239). Generalized Linear Models. Second Edition. Chapman & Hall/CRC.
##Marginal assessment of effect of I.Q. group on response probability model1 <- glm(y1~group, family=binomial,data=mn6.9) model2 <- glm(y2~group, family=binomial,data=mn6.9) model3 <- glm(y3~group, family=binomial,data=mn6.9) model4 <- glm(y4~group, family=binomial,data=mn6.9)