"deviance"
: deviance residuals defined by the model family.
"scaled.pearson"
: scaled Pearson residuals are raw residuals (data minus fitted values) divided by the standard deviation of the data according to the model mean variance relationship and estimated scale parameter.
"pearson"
: Pearson residuals are the same as scaled Pearson, but multiplied by the square root of the scale parameter (so they are independent of the scale parameter): \((y-\mu)/\sqrt{V(\mu)}\), where
\(y\) is data, \(\mu\) is model fitted value, and \(V\) is model mean-variance relationship.
"working"
: working residuals are the residuals returned from model fitting at convergence.
"response"
: response residuals are the raw residuals (data minus fitted values).
"rquantile"
: (randomized) quantile residuals (RQRs) as suggested by Dunn and Smyth (1996). Based on the idea of inverting the estimated distribution function for each observation to get approximately normally distributed residuals. RQRs are the theoretical standard normal quantiles evaluated at the estimated CDF at each observation. For models with a continuous response distribution they are simply quantile residuals; for discrete distributions, one realization of randomized quantile residuals is produced. In case of normal responses, quantile residuals are equivalent to deviance and Pearson residuals. In non-normal situations, RQRs might be a better choice for performing model checking.