statsmodels.discrete.discrete_model.MultinomialResults.pred_table

MultinomialResults.pred_table()[source]

Returns the J x J prediction table.

Notes

pred_table[i,j] refers to the number of times “i” was observed and the model predicted “j”. Correct predictions are along the diagonal.