Bayesian credible and prediction intervals for the two-parameter negative binomial (NB2) model
Md Mahadi Hasan , Md Monzur Murshed , Md Nahid Hasan
Electronic Research Archive ›› 2026, Vol. 34 ›› Issue (9) : 6957 -6998.
Overdispersed count data are common in many applications, where the variance exceeds the mean, and the Poisson model is inadequate. The two-parameter negative binomial (NB2) model addresses this limitation through a dispersion parameter and provides a standard framework for modeling overdispersed counts. In this paper, we evaluated Bayesian credible intervals for the NB2 mean and Bayesian posterior predictive intervals for a single future count and for the mean of a future sample in a controlled one-sample, intercept-only setting. Posterior inference was obtained using weakly informative priors and Hamiltonian Monte Carlo with the No-U-Turn Sampler. The Bayesian intervals were assessed through simulation using operational coverage probability and expected width, and were compared with Wald, MLE-based normal, and parametric bootstrap confidence and prediction intervals. Prior-family sensitivity was examined using calibrated lognormal, Gamma, and log-Student-t priors. Robustness was also evaluated under zero-inflated NB2, structured-zero, and Poisson-lognormal data-generating mechanisms while fitting the NB2 model. Two real-data examples, involving Quine school-absence counts and epilepsy baseline seizure counts, illustrated the practical implementation of the methods.
Bayesian inference / coverage probability / credible interval / Markov chain Monte Carlo (MCMC) / overdispersed count data / posterior predictive interval / prediction of future counts / two-parameter negative binomial distribution (NB2)
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
Stan Development Team, Prior Choice Recommendations , 2026. Available from: https://github.com/stan-dev/stan/wiki/Prior-Choice-Recommendations. |
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
P. F. Thall, S. C. Vail, Some covariance models for longitudinal count data with overdispersion, Biometrics, 46 (1990), 657-671. https://doi.org/10.2307/2532086 |
/
| 〈 |
|
〉 |