Skip to contents

residuals method for class "mmes".

Usage

# S3 method for class 'mmes'
residuals(object,
                          type=c("response", "deviance", "pearson", "working"), ...)

Arguments

object

an object of class "mmes"

type

For a non-Gaussian PQL fit, return response residuals (default), signed deviance residuals, Pearson residuals, or final IRLS working residuals. Deviance and Pearson residuals use the prior weights (binomial trials, see binm).

...

Further arguments to be passed

Value

For Gaussian fits, residuals of the form e = y - Xb - Zu. For non-Gaussian PQL fits, residuals on the requested scale.

Author

Giovanny Covarrubias

See also