Disease: Disease Outbreak Study

Description Usage Format References Examples

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

1

Format

A data frame with 98 observations on the following 5 variables.

x1

age

x2

socioeconomic status of three categories between x2 and x3

x3

socioeconomic status of three categories between x2 and x3

x4

sector of the city

y

if 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

1
2
3
4
5
6
7
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

ACSWR documentation built on May 2, 2019, 6:53 a.m.