Learn R Programming

rsq (version 2.7)

toxo: 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")

Arguments

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.

Author

Dabao Zhang, Department of Epidemiology and Biostatistics, University of California, Irvine

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).

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

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

Run the code above in your browser using DataLab