residuals.brmultinom: Residuals for multinomial logistic regression and adjacent...

View source: R/brmultinom.R

residuals.brmultinomR Documentation

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 class 'brmultinom'
residuals(object, type = c("pearson", "response", "deviance", "working"), ...)

## S3 method for class '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


brglm2 documentation built on Oct. 12, 2023, 1:07 a.m.