brglm2 (version 0.6.2)

residuals.brmultinom: Residuals for multinomial logistic regression and adjacent category logit models

Description

Residuals for multinomial logistic regression and adjacent category logit models

Usage

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

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

Arguments

object

the object coming out of bracl and brmultinom.

type

the type of residuals which should be returned. The options are: "pearson" (default), "response", "deviance", "working". See Details.

...

Currently not used.

Details

The residuals computed are the residuals from the equivalent Poisson log-linear model fit, organized in a form that matches the output of fitted(object, type = "probs"). As a result, the output is residuals defined in terms of the object and expected multinomial counts.

See Also

brmultinom bracl