Summary
Gelman, Meng, and Stern (1996) develop a unified framework for Bayesian model checking using realized discrepancies — test quantities D(y;θ) that depend on both observed data and unknown parameters, in contrast to classical test statistics T(y) that depend on data alone. The posterior predictive p-value pb(y)=P[D(yrep;θ)≥D(y;θ)∣y] is computed as a free byproduct of Markov chain Monte Carlo (MCMC) output: simulate yrep alongside draws of θ, then count the proportion of pairs where D(yrep;θ)>D(y;θ). The paper appears in Statistica Sinica 6 (1996): 733–807, together with discussions by Rubin, Kass–Wasserman, Draper, Lewis–Raftery, and Weerahandi–Tsui.
Key Claims
- Realized discrepancy vs. test statistic: D(y;θ) depends on both data and unknown parameters; the classical T(y) is the special case where dependence on θ is dropped. Including θ allows the discrepancy to target specific parameters (e.g., mean, variance, skewness), making the check more sensitive to particular forms of misfit.
- Posterior predictive p-value: pb(y)=PA[D(yrep;θ)≥D(y;θ)∣H,y]. Computed from MCMC as the fraction of iterations where D(yrep,l;θ(l))≥D(y;θ(l)); equivalently, the proportion of points above the 45° line in a scatterplot of (D(y;θ(l)),D(yrep,l;θ(l))).
- Three replication types (Figure 1):
- Posterior predictive (focus of paper): yrep∣θ, with θ from the posterior; measures fit to observed data conditional on the current model.
- Prior predictive (Box 1980): new θ from the prior, new y — undefined for improper priors.
- Mixed predictive: same hyperparameters α, new θ and y — appropriate for hierarchical models, avoids the improper-prior problem by conditioning on observed hyperparameters.
- Minimum discrepancy: Dmin(y)=minθD(y;θ) is the classical analogue (analogous to χ2 or the residual sum of squares). For a normal linear model with n observations and k parameters: Dmin(y)∼χn2−χk2 and D(y;θ)∼χn−k2. Realized discrepancy yields a more conservative check because Dmin(y)≤D(y;θ).
- Conservatism: Under the true model, pb(y) is centered at 0.5 but is less variable than Uniform(0,1); extreme values (near 0 or 1) still indicate definitive misfit. Rubin's discussion attributes this conservatism to positive correlation between y and the replications yrep — analogous to the superefficiency of multiple imputation where the fraction of missing information is underestimated.
- Positron emission tomography (PET) image example: χ2 realized discrepancy ≈30,000 with n−k=20,000 degrees of freedom; posterior predictive check (ppc) p-value ≈1. The independent-Poisson model is grossly overfit (fails to account for spatial correlation in image intensities), detected unambiguously.
- Actuarial mortality (Broffitt 1988): Data are age-graduated mortality rates; the model assumes monotone increasing and convex rates. Two discrepancy statistics: pmin=10% and prealized=6.3%. Both indicate borderline misfit; the realized discrepancy is slightly more extreme because it penalises both data and parameter directions.
- Latent class mixture (93 infants, Stern et al. 1995): Three-class model for behavioral temperament data. Two discrepancy statistics yield ppc p-values of 93% and 74% — marginal evidence that the three-component mixture does not fully account for dependence structure across observational occasions.
- Intellectual lineage: Guttman (1967) introduced future-observation replications for goodness-of-fit; Rubin (1984) formalised the Bayesian framework with posterior predictive distributions; Gelman-Meng-Stern (GMS, 1996) unify both, extend to hierarchical models (mixed predictive), and provide the MCMC implementation.
Concepts Introduced or Extended
Entities Mentioned
Quotes
"We define a 'realized discrepancy' D(y;θ) to be a scalar summary of the data y and parameters θ that measures some aspect of discrepancy between model and data."
"The posterior predictive p-value pB(y) is the probability under the posterior predictive distribution that the realized discrepancy statistic for a replicated data set is more extreme than for the observed data."
"The posterior predictive p-value is conservative, in the sense that it does not have a uniform distribution under the assumed model, but is centered at 0.5 with less variance than a uniform distribution."
My Take
The paper's central insight — that letting the test statistic depend on θ makes checking essentially free once MCMC is running — is elegant and practical. The 45° scatterplot is an underappreciated diagnostic tool: it visualizes not just the p-value but also the variability and correlation structure of the check. The conservatism is a real limitation for formal testing (the p-value cannot be taken as a classical type-I error rate), but the paper's framing as model assessment rather than testing sidesteps this partially. The three-replication-type taxonomy (posterior/prior/mixed predictive) is the cleanest framework for understanding what "model checking" means in a Bayesian context. The main practical limitation is the choice of discrepancy: the framework is powerful but underdeterminate — different D(y;θ) detect different forms of misfit, and there is no omnibus statistic. The mixed predictive check for hierarchical models is an underused contribution; it properly conditions on the observed hyperparameter level and avoids the pathologies of both prior predictive (improper prior) and posterior predictive (overly conservative).