Gelman-Pardoe (2004) Bayesian Measures of Explained Variance and Pooling in Multilevel (Hierarchical) Models

bayesianhierarchical-modelgoodness-of-fitr-squaredshrinkagemcmcvariance-decomposition

Summary

Gelman and Pardoe (2004) propose two scalar summary measures for evaluating and communicating multilevel model fit at each level of the hierarchy. The first, R² (eq. 7), measures the proportion of level-specific variance explained by the linear predictor μ; the second, λ (eq. 8), measures the fraction of residual variance that is reduced by hierarchical pooling relative to independent estimation. Both quantities are computed as free byproducts of Markov chain Monte Carlo (MCMC) posterior simulation — no null model or refitting is required. The paper also derives a Bayesian adjusted R² for linear regression with a (n3)/(np2)(n-3)/(n-p-2) correction factor (strictly lower than the classical Wherry 1931 formula using (n1)/(np)(n-1)/(n-p)). Applied to the Minnesota radon data (919 houses, 85 counties, 4 nested models), the measures reveal that the county-level uranium predictor explains 83% of cross-county slope variation, while hierarchical pooling nearly completely determines the slope estimates (λ_β = 0.97).

Key Claims

Level R2R^2 λ\lambda Interpretation
Household (yy) 0.21 0.03 Predictor log(radon)₀ explains 21% of house-level variation; very little pooling at household level
County intercept (α\alpha) 0.53 0.81 Uranium explains 53% of county-intercept variation; strong pooling
County slope (β\beta) 0.83 0.97 Uranium explains 83% of county-slope variation; slopes nearly entirely from county-level model

Concepts Introduced or Extended

Entities Mentioned

Quotes

"We propose two scalar summaries, R2R^2 and λ\lambda... The first, R2R^2, is intended to measure the proportion of variance explained by the predictors in the model; the second, λ\lambda, is intended to measure the degree of pooling from the hierarchical model for the unexplained variation." (§1)

"As with R2R^2, the quantity λ\lambda can be negative, and a negative value of λ\lambda would be a sign of model misspecification." (§3)

"For a balanced one-way hierarchical model... λ\lambda reduces to ω=1σα2/(σα2+σy2/n)\omega = 1 - \sigma^2_\alpha/(\sigma^2_\alpha + \sigma^2_y/n), the classical pooling factor." (§3)

My Take

The two measures are elegant and practically valuable: they give multilevel modelers a simple language for communicating fit at each level ("uranium explains 83% of slope variation"), analogous to R² in OLS. The MCMC-free-byproduct property is especially useful — unlike classical model comparison, neither R² nor λ requires refitting. The Bayesian adjusted R² correction (n3)/(np2)(n-3)/(n-p-2) is tighter than Wherry's but the difference is small in large samples. The main limitation is the independence-of-errors assumption embedded in Vk()V_k(\cdot): in models with correlated residuals (spatial, temporal hierarchies), the measures can misrepresent explained variance. The explicit connection to Bühlmann credibility (ω = λ for balanced one-way models) helpfully bridges the actuarial and Bayesian multilevel literatures. This paper predates the ubiquity of brms/Stan; its ideas are partly embedded in posterior R² measures in those toolchains.