glm.diag.Rd
Calculates jackknife deviance residuals, standardized deviance residuals, standardized Pearson residuals, approximate Cook statistic, leverage and estimated dispersion.
glm.diag(glmfit)
glmfit |
|
---|
Returns a list with the following components
The vector of jackknife deviance residuals.
The vector of standardized deviance residuals.
The vector of standardized Pearson residuals.
The vector of approximate Cook statistics.
The vector of leverages of the observations.
The value used to standardize the residuals. This is the estimate of residual standard deviation in the Gaussian family and is the square root of the estimated shape parameter in the Gamma family. In all other cases it is 1.
Davison, A.C. and Snell, E.J. (1991) Residuals and diagnostics. In Statistical Theory and Modelling: In Honour of Sir David Cox. D.V. Hinkley, N. Reid and E.J. Snell (editors), 83--106. Chapman and Hall.
See the help for glm.diag.plots
for an example of the
use of glm.diag
.