Definition
Bayesian residual analysis replaces classical point-estimate residuals (Pearson, deviance) with full posterior distributions over residual quantities. Because classical binary regression residuals have unknown sampling distributions, calibrating outlier plots is difficult; Bayesian residuals have continuous-valued posteriors that can be graphed and summarised with interpretable tail probabilities.
Key Ideas
- Parametric residual: ri=yi−pi(β) where pi=F(xiTβ). Even though yi is discrete, ri is bounded on (yi−1,yi) and its posterior is continuous. An observation is flagged if pr(∣ri∣>K∣y) is large; Albert-Chib (1995) use K=0.75.
- Latent data residual (probit): εi=Zi−xiTβ, where Zi is the Albert-Chib (1993b) data-augmentation latent variable. A priori εi∼N(0,1), providing a natural calibration reference. The posterior (Albert-Chib 1995, eq. 3) is a truncated normal: ∝ϕ(εi)⋅I(εi>−xiTβ) if yi=1, and ∝ϕ(εi)⋅I(εi<−xiTβ) if yi=0. Outlying criterion: pr(∣εi∣>K∣y) versus the prior tail 2[1−Φ(K)].
- Free computation: because the Albert-Chib (1993b) Gibbs sampler already draws Zi(g) and β(g) at each iteration, the latent residual εi(g)=Zi(g)−xiTβ(g) is available at no extra cost.
- Rao-Blackwellised density: π^(εi∣y)=G−1∑gπ(εi∣yi,β(g)), obtained by averaging the closed-form truncated-normal density over Gibbs draws (Gelfand-Smith 1990). Smoother than empirical quantiles from raw simulation.
How It Works
Probit case
Run the two-block Albert-Chib (1993b) Gibbs sampler. At each iteration g, record:
εi(g)=Zi(g)−xiTβ(g)
Summarise the G draws to get π^(εi∣y) and compute pr(∣εi∣>K∣y)=G−1∑g1[∣εi(g)∣>K] (or use the Rao-Blackwellised form for a smoother estimate).
Logistic link
Zi cannot be simulated directly from a logistic model, so only Rao-Blackwellised density estimates are available; these are computed by averaging over posterior draws of β (Dellaportas-Smith 1993).
Longitudinal random effects probit
For the model pr(yit=1∣bi)=Φ(xitTβ+bi), the latent residual is εit=Zit−xitTβ, which has prior N(0,1+σ2) integrating over the random effect. The outlying criterion becomes pr(∣εit∣>K(1+σ2)1/2∣y) (Albert-Chib 1995, eq. 5).
Why It Matters
- Classical Pearson and deviance residuals for binary regression have unknown finite-sample distributions, making it impossible to assign precise probabilities to observed outlier patterns. Bayesian residuals have interpretable posterior distributions with a known a priori reference (N(0,1) for the probit latent residual).
- The approach is computationally free for probit models estimated via data augmentation: no additional sampling is required beyond what the standard Gibbs sampler already produces.
- Extensions to random effects and longitudinal data are clean because the latent variable structure is preserved.
Open Questions
- For the logistic link, Rao-Blackwellised densities are less interpretable than the probit latent residual because no Zi simulation is available. A more principled Bayesian residual for logistic regression remains an open question.
- The approach has not been extended to multivariate probit (correlated binary responses), where the latent Zi vector is higher-dimensional.
- Formal multiple-testing correction for simultaneous outlier detection across all observations is not addressed.
Related