Learn R Programming

SMPracticals (version 1.3-1)

toxo: Toxoplasmosis Data

Description

Data on the relation between rainfall and the numbers of people testing positive for toxoplasmosis in 34 cities in El Salvador.

Usage

data(toxo)

Arguments

source

Efron, B. (1986) Double exponential families and their use in generalized linear regression. Journal of the American Statistical Association, 82, 171--200.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 516.

Examples

Run this code
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