Zero-Inflated Mixed-Effects Count Regression (ZIP / ZINB with Random Intercept)
The zero-inflated mixed count model treats each count as either a structural zero or a draw from a Poisson or negative binomial distribution whose mean includes a normal random intercept for the cluster. A logistic part models the probability of a structural zero. Parameters are estimated by maximum likelihood with adaptive Gauss-Hermite quadrature.
영과잉 혼합 개수 모형은 각 개수를 구조적 0이거나, 군집별 정규 무선 절편이 평균에 들어간 포아송 또는 음이항 분포의 값으로 봅니다. 구조적 0의 확률은 로지스틱 부분으로 모형화하고, 모수는 적응형 가우스-에르미트 구적으로 최대가능도 추정합니다.
How do predictors affect counts with many zeros when observations are grouped in clusters?
관측이 군집으로 묶여 있고 0이 많은 개수 자료에서 예측변수는 어떤 영향을 줍니까?
The method reports count-part rate ratios and zero-inflation odds ratios with confidence intervals, the random-intercept SD, the negative binomial dispersion if chosen, the log-likelihood and information criteria, and a test of the random intercept.
When to use Zero-Inflated Mixed-Effects Count Regression (ZIP / ZINB with Random Intercept)
- Counts contain more zeros than a Poisson or negative binomial model allows.
- Observations are nested in clusters such as patients, sites or schools.
- You want cluster-specific rate ratios.
When to use something else
- Observations are independent: use Zero Inflated Poisson Regression
- There are no excess zeros: use Generalized Linear Mixed Model (GLMM)
Assumptions and requirements
- Normal random intercept in the count part
- Correct choice of count distribution
- Enough clusters
What the analysis reports
- Rate ratios and zero-inflation odds ratios
- Random-intercept SD with CI
- Log-likelihood, AIC, BIC and LR test of the random intercept
How to report it
A zero-inflated Poisson mixed model ([value] clusters, N = [value], [value]% zeros) estimated a random-intercept SD of [value]; the predictor had IRR = [value], 95% CI [[value], [value]].
Related methods
- Zero Inflated Poisson Regression
- Zero Inflated Negative Binomial Regression
- Generalized Linear Mixed Model (GLMM)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and statsmodels at a stated tolerance of 1e-6.
독립 계산. SciPy·statsmodels 대조 참조 시험 2건 통과(허용오차 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 Zero-Inflated Mixed-Effects Count Regression (ZIP / ZINB with Random Intercept) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a cluster ID
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.