Areal Rate Smoothing (Empirical Bayes, Spatial Empirical Bayes, Headbanging)
Areal rate smoothing stabilises rates from small populations by shrinking them towards a global or neighbourhood mean (empirical Bayes) or replacing them with local medians (headbanging) before mapping.
지역 비율 평활은 인구가 적은 지역의 불안정한 비율을 전체 또는 이웃 평균 쪽으로 당기거나(경험적 베이즈) 이웃 중앙값으로 바꿔(헤드뱅잉) 지도에 쓸 수 있게 안정시키는 방법입니다.
Our county cancer rates jump around because some counties have only a few hundred people; how can I make a map that is not dominated by these unstable rates?
군 단위 암 발생률이 인구가 적은 군 때문에 들쭉날쭉한데, 이런 불안정한 값에 휘둘리지 않는 지도를 만들려면 어떻게 해야 하나요?
Compute the raw rate per area and shrink it towards the overall or neighbourhood rate in proportion to its sampling variance, so small populations move most and large ones barely change. Compare the global and spatial empirical Bayes maps with the headbanging median smoother to see which patterns survive smoothing.
When to use Areal Rate Smoothing (Empirical Bayes, Spatial Empirical Bayes, Headbanging)
- Areas differ greatly in population, so raw rates of rare events are unstable.
- You need a disease or crime rate map that is less driven by small-number noise.
- You want to compare several standard smoothers on the same areas.
When to use something else
- You need formal inference on covariate effects; fit a Poisson regression or a Bayesian BYM/CAR model.
- Populations are all large and raw rates are already stable; map them directly.
Assumptions and requirements
- Counts are roughly Poisson given the area's true rate.
- The population at risk is known for every area.
- Neighbourhoods (nearest areas) are a sensible proxy for spatial similarity.
What the analysis reports
- Raw, global EB, spatial EB, spatial-rate and headbanging rates per area
- Shrinkage factor of each EB rate
- Overall rate and prior variance
- Spread of rates before and after smoothing
How to report it
Global empirical Bayes smoothing of rates for [n] areas shrank rates by [value]% on average, reducing their SD from [value] to [value]; spatial EB with [k] nearest neighbours gave an SD of [value].
Related methods
- Empirical Bayes Beta-Binomial Shrinkage
- Moran's I Spatial Autocorrelation
- CAR Areal Regression (Maximum Likelihood)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with PySAL esda and direct computations (formulas, enumeration or simulation).
독립 계산. PySAL esda·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
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 Areal Rate Smoothing (Empirical Bayes, Spatial Empirical Bayes, Headbanging) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a weight column
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.