powered by
Data on the relation between rainfall and the numbers of people testing positive for toxoplasmosis in 34 cities in El Salvador.
data(toxo)
A data frame with 34 observations on the following 3 variables.
Annual rainfall (mm)
Number of persons tested
Number of persons testing positive for toxoplasmosis
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 516.
data(toxo) anova(glm(cbind(r,m-r)~poly(rain,3),data=toxo,family=binomial),test="Chi") fit <- glm(cbind(r,m-r)~poly(rain,3),data=toxo,family=quasibinomial) anova(fit,test="F") summary(fit)
Run the code above in your browser using DataLab