Posterior Predictive Check

bayesianmodel-checkingposterior-predictivegoodness-of-fitmcmc

Definition

A posterior predictive check (PPC) is a Bayesian model diagnostic that asks: does replicated data yrepy^{rep} generated from the fitted model look like the observed data yy? The check is operationalised via a realized discrepancy D(y;θ)D(y;\theta) — a scalar measure of discrepancy that depends on both data and unknown parameters θ\theta. The posterior predictive p-value is pb(y)=P[D(yrep;θ)D(y;θ)y]p_b(y) = P[D(y^{rep};\theta) \geq D(y;\theta) \mid y], where both θ\theta and yrepy^{rep} are drawn from their joint posterior predictive distribution.

Key Ideas

How It Works

  1. Fit the model by MCMC, obtaining draws {θ(l)}l=1L\{\theta^{(l)}\}_{l=1}^L.
  2. At each iteration, simulate yrep,lp(yrepθ(l))y^{rep,l} \sim p(y^{rep} \mid \theta^{(l)}).
  3. Compute D(y;θ(l))D(y;\theta^{(l)}) and D(yrep,l;θ(l))D(y^{rep,l};\theta^{(l)}).
  4. Plot the pairs as a scatterplot with the 45° reference line.
  5. p^b=L1l1[D(yrep,l;θ(l))D(y;θ(l))]\hat p_b = L^{-1} \sum_l \mathbf{1}[D(y^{rep,l};\theta^{(l)}) \geq D(y;\theta^{(l)})].

Values near 0 or 1 indicate the observed data are extreme relative to what the model predicts — either the chosen discrepancy statistic is systematically smaller (near 0) or larger (near 1) for observed than for replicated data. Values near 0.5 indicate adequate fit along the dimension measured by DD.

Application: Long-Horizon Event Studies (Brav 2000)

Brav (2000) applies the predictive framework to inference in long-horizon buy-and-hold return studies. The discrepancy is the sample mean abnormal return; the predictive distribution is constructed by simulating buy-and-hold returns from the posterior of a seemingly unrelated regression (SUR) model with shrinkage priors on firm residual standard deviations (SDs) and a common equicorrelation ρ\rho. This is formally a posterior predictive check — the observed sample mean is compared against the predictive null density — and it dominates the nonparametric bootstrap by correctly propagating both residual variance uncertainty and cross-sectional dependence. Applied to 1,521 initial public offerings (IPOs, 1975–1984), the characteristic-based model cannot be rejected while the Fama-French three-factor model is rejected.

Why It Matters

PPCs provide a practically free model diagnostic once MCMC is running, with no additional model fitting required. They can be tailored to any aspect of concern: autocorrelation structure, tail behavior, conditional means, variance homogeneity. In hierarchical models, the mixed predictive variant is particularly appropriate because it conditions on observed group-level effects and avoids the extreme conservatism of the posterior predictive check at the hyperparameter level. The framework unifies Guttman's (1967) future-observation replications, Rubin's (1984) Bayesian predictive distributions, and classical goodness-of-fit into a single computational recipe.

Open Questions

Related