Bayesian Residual Analysis

bayesianresidual-analysisoutlier-detectionprobitrao-blackwelllatent-variabledata-augmentation

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

How It Works

Probit case

Run the two-block Albert-Chib (1993b) Gibbs sampler. At each iteration gg, record: εi(g)=Zi(g)xiTβ(g)\varepsilon_i^{(g)} = Z_i^{(g)} - x_i^T\beta^{(g)} Summarise the GG draws to get π^(εiy)\hat\pi(\varepsilon_i \mid y) and compute pr(εi>Ky)=G1g1[εi(g)>K]\text{pr}(|\varepsilon_i| > K \mid y) = G^{-1}\sum_g \mathbf{1}[|\varepsilon_i^{(g)}| > K] (or use the Rao-Blackwellised form for a smoother estimate).

Logistic link

ZiZ_i 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 β\beta (Dellaportas-Smith 1993).

Longitudinal random effects probit

For the model pr(yit=1bi)=Φ(xitTβ+bi)\text{pr}(y_{it} = 1 \mid b_i) = \Phi(x_{it}^T\beta + b_i), the latent residual is εit=ZitxitTβ\varepsilon_{it} = Z_{it} - x_{it}^T\beta, which has prior N(0,1+σ2)\mathcal{N}(0, 1 + \sigma^2) integrating over the random effect. The outlying criterion becomes pr(εit>K(1+σ2)1/2y)\text{pr}(|\varepsilon_{it}| > K(1+\sigma^2)^{1/2} \mid y) (Albert-Chib 1995, eq. 5).

Why It Matters

Open Questions

Related