Residuals for multinomial logistic regression and adjacent category logit models
# S3 method for brmultinom
residuals(object, type = c("pearson", "response", "deviance", "working"), ...)# S3 method for bracl
residuals(object, type = c("pearson", "response", "deviance", "working"), ...)
the object coming out of bracl()
and
brmultinom()
.
the type of residuals which should be returned. The
options are: "pearson"
(default), "response"
, "deviance"
,
"working"
. See Details.
Currently not used.
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.
brmultinom bracl