//! Diagnostics for **categorical responses** with more than two classes — the
//! two GLMs that generalize binary logistic to a multi-class outcome.
//!
//! * [`MultinomialFit`] — **baseline-category (multinomial) logit** for an
//! *unordered* response: a softmax over `K` classes with a separate
//! coefficient vector per non-reference class, fit by Newton–Raphson.
//! * [`OrdinalFit`] — **proportional-odds (cumulative logit)** for an *ordered*
//! response: shared coefficients across `K−1` thresholds, the `MASS::polr`
//! parametrization.
//!
//! Both are non-Gaussian maximum-likelihood fits with the diagnostics that are
//! actually defined for them — coefficient standard errors, Wald `z`-statistics
//! and p-values, deviance and McFadden's pseudo-R², AIC/BIC, predicted class
//! probabilities, and deviance residuals — and both **collapse onto binary
//! [`LogisticFit`](crate::logistic::LogisticFit) when `K = 2`**, the identity
//! their test suites anchor on.
//!
//! # Response convention
//!
//! The response holds integer class labels `0 … K−1` with every class present.
//! [`MultinomialFit`] treats the labels as unordered and expects the design
//! matrix to include any intercept column; [`OrdinalFit`] treats them as ordered
//! and **must not** be given an intercept column (its thresholds serve that
//! role).
pub use ;
pub use ;