With , the fitted logistic model isRisk category 1 is the reference level, so its effect is included in the intercept; adding a separate coefficient for both levels would make the design matrix linearly dependent.
Holding risk category fixed, increasing pollution by one unit multiplies the disease odds byThus the fitted odds increase by about twenty percent per unit of pollution.
There are observations. The null model estimates one intercept, so its residual degrees of freedom are . The fitted model estimates three coefficients, so its residual degrees of freedom are .
Fit the intercept-only model withIts deviance is . Since it has one fitted coefficient, its AIC on the same convention is
glm(dis ~ 1, family = binomial, data = disease)The first likelihood-ratio test compareswith the alternative that at least one is nonzero. The deviance drop is compared with , giving ; there is strong evidence that the covariates improve the model.
Articles by others on the same topic
There are currently no matching articles.