| Disease {ACSWR} | R Documentation |
Disease Outbreak Study
Description
The purpose of this health study is investigation of an epidemic outbreak due to mosquitoes. A random sample from two sectors of the city among the individuals has been tested to determine if the individual had contracted the disease forming the binary outcome.
Usage
data(Disease)
Format
A data frame with 98 observations on the following 5 variables.
x1age
x2socioeconomic status of three categories between
x2andx3x3socioeconomic status of three categories between
x2andx3x4sector of the city
yif the individual had contracted the disease forming the binary outcome
References
Kutner, M. H., Nachtsheim, C. J., Neter, J., and Li, W. (1974-2005). Applied Linear Statistical Models, 5e. McGraw-Hill.
Examples
data(Disease)
DO_LR <- glm(y~.,data=Disease,family='binomial')
LR_Residuals <- data.frame(Y = Disease$y,Fitted = fitted(DO_LR),
Hatvalues = hatvalues(DO_LR),Response = residuals(DO_LR,"response"), Deviance =
residuals(DO_LR,"deviance"), Pearson = residuals(DO_LR,"pearson"),
Pearson_Standardized = residuals(DO_LR,"pearson")/sqrt(1-hatvalues(DO_LR)))
LR_Residuals
[Package ACSWR version 1.0 Index]