toxo {rsq} | R Documentation |
Toxoplasmosis Test in El Salvador
Description
Recorded are the numbers of subjects testing positive for toxoplasmosis in 34 cities of El Salvador.
Usage
data("toxo")
Format
A data frame with the test results in 34 cities of El Salvador, includingthe following 4 variables.
city
index of each city.
positive
the number of subjects testing positive for toxoplasmosis.
nsubs
the total number of subjects tested.
rainfall
annual rainfall (mm) in home city of subject.
Details
All subjects are between 11 and 15 year old. The data set was abstracted from a larger data set in Rmington et al. (1970).
Author(s)
Dabao Zhang, Department of Statistics, Purdue University
Source
Efron, B. (1978). Regression and ANOVA with zero-one data: measures of residual variation. JASA, 73: 113-121.
References
Remington, J.S., Efron, B., Cavanaugh, E., Simon, H.J., and Trejos, A. (1970). Studies on toxoplasmosis in El Salvador, prevalence and incidence of toxoplasmosis as measured by the Sabin-Feldman Dye test. Transactions of the Royal Society of Tropical Medicine and Hygiene, 64: 252-267.
See Also
rsq, rsq.partial, pcor, simglm
.
Examples
data(toxo)
summary(toxo)
attach(toxo)
toxofit<-glm(cbind(positive,nsubs-positive)~rainfall+I(rainfall^2)+I(rainfall^3),family=binomial)
rsq(toxofit)
rsq(toxofit,adj=TRUE)
rsq.partial(toxofit)
detach(toxo)