Bayesian Zero-Inflated Count Regression
Bayesian zero-inflated count regression mixes a point mass at zero (structural zeros, logit model) with a Poisson or negative binomial count model (log link), and samples the joint posterior of both parts with Hamiltonian Monte Carlo.
베이즈 영과잉 가산 회귀는 0에 몰린 점질량(구조적 0, 로짓 모형)과 포아송 또는 음이항 가산 모형(로그 연결)을 섞고, 두 부분의 결합 사후분포를 해밀토니안 몬테카를로로 뽑는 방법입니다.
My count outcome has far more zeros than a Poisson or negative binomial model predicts, and I want credible intervals for both who is never at risk and how often the others experience the event; what fits?
가산 결과에 포아송이나 음이항 모형이 예측하는 것보다 0이 훨씬 많습니다. 사건이 아예 일어날 수 없는 집단과 나머지의 발생 빈도를 신용구간과 함께 보고 싶은데 무엇이 맞나요?
The zero part estimates odds ratios for being a structural zero and the count part estimates incidence-rate ratios among those at risk, each with credible intervals. A posterior predictive check compares the predicted and observed share of zeros.
When to use Bayesian Zero-Inflated Count Regression
- Counts with excess zeros from a group that can never experience the event
- You want separate covariates or interpretations for the zero and count processes
- Small samples where maximum-likelihood ZIP or ZINB is unstable
When to use something else
- All zeros come from one hurdle decision: use Hurdle and Two-Part Models
- There is no excess of zeros: use Bayesian Generalized Linear Model
- Only maximum-likelihood estimates are needed: use Zero Inflated Poisson Regression
Assumptions and requirements
- Zeros arise from a mixture of structural and sampling zeros
- Log-linear count mean and logit zero-inflation probability
- Independent observations; NB2 variance for the negative binomial version
What the analysis reports
- Incidence-rate ratios and zero-inflation odds ratios with credible intervals
- NB2 dispersion (ZINB)
- Average structural-zero probability
- Posterior predictive share of zeros, R-hat, ESS and divergences
How to report it
A Bayesian zero-inflated negative binomial regression (N = [value], [value] zeros) estimated an average structural-zero probability of [value]; the incidence-rate ratio for [predictor] was [value], 95% CrI [[value], [value]].
Related methods
- Zero Inflated Poisson Regression
- Zero Inflated Negative Binomial Regression
- Hurdle and Two-Part Models
- Bayesian Generalized Linear Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 Bayesian Zero-Inflated Count Regression on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.