R: Residuals for multinomial logistic regression and adjacent...

residuals.brmultinom {brglm2} | R 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

[Package brglm2 version 0.7.0 Index]