eyes {SMPracticals} | R Documentation |
Joint distribution of visual impairment on both eyes, by race and age.
data(eyes)
A data frame with 32 observations on the following 6 variables.
40-50
51-60
61-70
70+
K.-Y. Liang, S. L. Zeger and B. Qaqish (1992) Multivariate regression analyses for categorical data (with Discussion). Journal of the Royal Statistical Society, series B, 54, 3–40.
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 505.
data(eyes) eyes.glm <- glm(y~age*colour+L*R+(L+R):poly(a,2)+colour:(L+R),poisson,data=eyes) anova(eyes.glm,test="Chi") # analysis of deviance for loglinear model