statsmodels.discrete.discrete_model.MultinomialResults.resid_response# MultinomialResults.resid_response[source]# The response residuals Response residuals are defined to be \[y - p\] where \(y\) is the nobs x J indicator matrix of the observed categories and \(p\) are the predicted probabilities. The residuals are a nobs x J array.