Bayes Empirical Bayes (Normal Hierarchical Model)
Bayes empirical Bayes estimates many unit effects by shrinking each toward a common mean, but instead of plugging in estimated hyperparameters it places a prior on them and integrates them out, so the unit intervals carry the uncertainty about how much to shrink.
베이즈 경험적 베이즈는 여러 단위의 효과를 공통 평균 쪽으로 축소해 추정하되, 추정한 초모수를 그대로 꽂아 넣지 않고 초모수에 사전분포를 두어 적분해 없애므로 얼마나 축소할지에 대한 불확실성까지 단위별 구간에 반영합니다.
I have estimates and standard errors for many schools, hospitals or studies; how do I shrink them toward each other without understating uncertainty when the between-unit variance is poorly estimated?
여러 학교나 병원의 추정치와 표준오차가 있는데, 단위 간 분산이 잘 추정되지 않을 때 불확실성을 과소평가하지 않으면서 서로 쪽으로 축소 추정하려면 어떻게 하나요?
Give one estimate and its sampling variance per unit. The normal-normal model is solved exactly: the mean is integrated analytically and the between-unit SD by adaptive quadrature under a uniform or half-Cauchy prior. Each unit gets a posterior mean, SD and credible interval, shown next to the plug-in empirical Bayes values and their ratio.
When to use Bayes Empirical Bayes (Normal Hierarchical Model)
- You have unit-level estimates with known standard errors and want shrunken unit estimates.
- There are few units, so the between-unit SD is uncertain or estimated as zero.
- You want to show how much plug-in empirical Bayes understates uncertainty.
When to use something else
- The interest is the pooled effect and heterogeneity rather than unit estimates: use Bayesian Random-Effects Meta-Analysis.
- The data are counts or proportions per unit: use Empirical Bayes Beta-Binomial Shrinkage.
- You have raw observations with predictors: use Bayesian Hierarchical Model.
Assumptions and requirements
- Unit estimates are approximately normal with known sampling variances.
- True unit effects are exchangeable draws from one normal population.
- With a uniform prior on the between-unit SD at least 3 units are needed.
What the analysis reports
- Posterior mean, SD and credible interval for every unit, with shrinkage factor
- Plug-in empirical Bayes mean and SD, and the ratio of posterior SDs
- Posterior of the population mean and between-unit SD (median and interval)
- Marginal maximum-likelihood between-unit SD
How to report it
A Bayes empirical Bayes analysis of [value] units estimated the population mean at [value], 95% CrI [[value], [value]], and the between-unit SD at [value] [[value], [value]]; unit posterior SDs were [value] times the empirical Bayes SDs.
Related methods
- Bayesian Random-Effects Meta-Analysis
- Empirical Bayes Beta-Binomial Shrinkage
- Bayesian Hierarchical Model
- Bayesian False Discovery Rate (Fully Bayesian Two-Groups Model)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayes Empirical Bayes (Normal Hierarchical Model) on Quorant
- Data you need
- a table (CSV or Excel) with effect and variance
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.