Roever 2020 - Prediction, Shrinkage and Credible Intervals
Summary
Conditional on , both the predictive distribution of a future study’s effect and the posterior of each study’s own true effect are normal, with closed-form moments. Marginalising over gives normal mixtures. The predictive variance adds to the effect’s variance; shrinkage pulls each toward by an amount that grows as falls. Shortest (or HPD) intervals are preferred to central intervals for skewed posteriors such as that of .
Overview
These are the outputs that turn a meta-analysis into decision inputs: where will the next study’s true effect fall (prediction), and what should I believe about this study given the others (shrinkage, “borrowing strength”).
Main Content
Predictive distribution of a new study (Sec. 2.7, Eq. 27)
For a uniform or normal effect prior and a given , is normal with
The unconditional predictive is the mixture over . Because the conditional means of and coincide and the latter variance is at least as large, the -grid built for is valid for prediction.
Shrinkage estimates of study effects (Sec. 2.8, Eq. 28-29)
Given , is normal with
(Gelman et al. 2014 Sec. 5.5). The mean is a precision-weighted average of the study’s own estimate and the common mean; as it tends to , as to . The variance has two parts: posterior uncertainty about given , plus propagated uncertainty about . Marginal posteriors integrate over .
Credible intervals (Sec. 2.9)
A central interval uses the and quantiles. If the posterior is skewed or runs to the parameter-space boundary (as for ), the highest posterior density (HPD) region, enclosing probability where the density is highest, or the shortest interval (identical for unimodal distributions) is more sensible.
bayesmetareports shortest intervals by default;interval.type="central"is cheaper to compute.
Implementation notes (App. A.4): the three mixtures (effect posterior, shrinkage posteriors, prediction) are approximated by finite normal mixtures; the grid in is chosen using the maximum symmetrised divergence across the effect posterior and all shrinkage distributions, so one grid serves all.
Examples
Shrinkage in the transplant data
For Heffron 2003 (, ) the posterior (half-normal(0.5) on , on ) has median , mean , sd 0.42 and 95% interval (shortest), versus the raw interval : the estimate is pulled toward the pooled and the interval narrows. For Gibelli 2004 () the shift is larger: median . The prediction interval for a new study is versus the effect interval , wider by exactly the term. Python reproduction (grid) gives median for study 1 and prediction central interval (central versus shortest explains the small difference).
import numpy as np
from scipy import stats
def shrink_moments(tau, y, sigma, j, mu_hat, sd_hat):
prec = 1/sigma[j]**2 + 1/tau**2
mean = (y[j]/sigma[j]**2 + mu_hat/tau**2)/prec
var = 1/prec + (1/tau**2/prec)**2 * sd_hat**2
return mean, np.sqrt(var)
def predict_moments(mu_hat, sd_hat, tau):
return mu_hat, np.sqrt(sd_hat**2 + tau**2)Connections
- Marketing measurement: is the prior for the incrementality of the next campaign or market; shrinks a noisy, small-market test toward the portfolio mean, the same logic as hierarchical channel effects in a Bayesian MMM (Hierarchical Models, Partial Pooling as Multiple Comparisons Correction).
- Frequentist analogues: BLUPs and the credibility interval in Viechtbauer 2010 - LRT, Permutation Tests, BLUPs and Model Fit (those condition on ).