Robbins Nonparametric Empirical Bayes (Poisson)
Robbins' empirical Bayes estimates the expected rate of a unit from its observed Poisson count using only the frequencies of neighbouring counts in the population: E[rate | x] = (x + 1) f(x + 1) / f(x), with no assumption about the shape of the prior.
로빈스 경험적 베이즈는 관측된 포아송 빈도만으로 각 단위의 기대 발생률을 추정하는 방법입니다. 사전분포의 형태를 가정하지 않고, 값이 x인 단위의 발생률을 (x에 1을 더한 값)에 (x+1이 관측된 도수)를 곱하고 (x가 관측된 도수)로 나누어 계산합니다.
Given how many events each unit had this period, what rate should I expect for a unit with a given count next period?
이번 기간에 각 단위가 겪은 사건 수를 알 때, 특정 사건 수를 보인 단위는 다음 기간에 어느 정도의 발생률을 보일까요?
For each observed count the estimate compares how many units had that count with how many had one more. Units with high counts are pulled back toward the population because part of a high count is luck. A gamma-Poisson (negative binomial) model fitted to the same counts is shown alongside as a smooth parametric version, which is more stable where counts are sparse.
When to use Robbins Nonparametric Empirical Bayes (Poisson)
- You have one Poisson-type count per unit for many units (claims, accidents, defects, citations)
- You want shrunken rate estimates without choosing a prior distribution
- You want to predict next-period counts for units grouped by their current count
When to use something else
- Units have different exposure times or covariates: use Poisson Rate Regression with Person-Time Offset
- The data are successes out of trials: use Empirical Bayes Beta-Binomial Shrinkage
- You have estimates with known standard errors rather than counts: use Bayes Empirical Bayes (Normal Hierarchical Model)
Assumptions and requirements
- Each count is Poisson given the unit's rate
- Units share the same exposure
- Rates are drawn independently from a common (unknown) distribution
- Enough units fall at each count and the next for the ratio to be stable
What the analysis reports
- Robbins estimate for each observed count with delta-method SE and interval
- Gamma-Poisson posterior mean for each count
- Gamma shape and mean of the fitted prior
- Method-of-moments prior mean and variance
How to report it
Using Robbins' formula across [value] units, units with zero events in the base period had an expected rate of [value] (95% CI [value] to [value]), compared with [value] under a gamma-Poisson model.
Related methods
- Empirical Bayes Beta-Binomial Shrinkage
- Gamma-Poisson Shrinker for Disproportionality (EBGM)
- Negative Binomial Regression
- Bayes Empirical Bayes (Normal Hierarchical Model)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-3.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-3).
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 Robbins Nonparametric Empirical Bayes (Poisson) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- 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.