Research Article

Metropolis-Hastings Algorithms based on a Zero-inflated Poisson Model

Yaoyu Chen*
The University of Manchester, Manchester, United Kingdom

* Corresponding author: [email protected]

Abstract

The Metropolis-Hastings algorithm is a well-proven Markov Chain Monte Carlo (MCMC) technique for generating sequences of random samples from probability distributions difficult to sample directly. In this article, we develop two versions of the Metropolis-Hastings algorithm — Independent Metropolis and Random-Walk Metropolis — and integrate them with a zero-inflated Poisson model to calculate the percentage of children among widowed women in Manchester, 2021. The excess of zeros in the data are estimated using a zero-inflated Poisson distribution. So we calculate both Metropolis-Hastings algorithms for estimation of the parameters of the model such as the Poisson rate parameter and the zero-inflation parameter. Using these algorithms we have shown that the zero-inflated Poisson model estimates are quite consistent with observed data and hence useful for modelling count data with excess zeros. These observations indicate that Independent Metropolis and Random-Walk Metropolis methods both fit the model parameters correctly, with Random-Walk Metropolis resulting in stable convergence.

Keywords: Metropolis-Hastings algorithm; Independent Metropolis; Random-walk Metropolis; Markov Chain Monte Carlo; zero-inflated Poisson model
Published: January 24, 2025
DOI: 10.54254/2755-2721/2025.20591
Volume: ACE Vol.116
pp. 187-193
Download PDF

References

  1. N. Metropolis and S. Ulam, “The monte carlo method,” Journal of the American statistical association, vol. 44, no. 247, pp. 335–341, 1949.
  2. N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller, and E. Teller, “Equation of state calculations by fast computing machines,” The journal of chemical physics, vol. 21, no. 6, pp. 1087–1092, 1953.
  3. W. K. Hastings, “Monte Carlo sampling methods using Markov chains and their applications,” Biometrika, vol. 57, no. 1, pp. 97–109, 1970.
  4. P. H. Peskun, “Optimum monte-carlo sampling using markov chains,” Biometrika, vol. 60, no. 3, pp. 607–612, 1973.
  5. A. Gelman, W. R. Gilks, and G. O. Roberts, “Weak convergence and optimal scaling of random walk metropolis algorithms,” The annals of applied probability, vol. 7, no. 1, pp. 110–120, 1997.
  6. C. Andrieu, N. De Freitas, A. Doucet, and M. I. Jordan, “An introduction to mcmc for machine learning,”Machine learning, vol. 50, no. 1, pp. 5–43, 2003.
  7. C. Robert and G. Casella, “A short history of markov chain monte carlo: Subjective recollections from incomplete data,” Statistical Science, vol. 26, no. 1, pp. 102–115, 2011.
  8. Madrigal-Cianci, Juan P., Fabio Nobile, and Raul Tempone. "Analysis of a class of multilevel Markov chain Monte Carlo algorithms based on independent Metropolis–Hastings." SIAM/ASA Journal on Uncertainty Quantification 11.1 (2023): 91-138.
  9. Teixeira, J. S., et al. "A new adaptive approach of the Metropolis-Hastings algorithm applied to structural damage identification using time domain data." Applied Mathematical Modelling 82 (2020): 587-606.
  10. Choi, Michael CH, and Lu-Jing Huang. "On hitting time, mixing time and geometric interpretations of metropolis–hastings reversiblizations." Journal of Theoretical Probability 33.2 (2020): 1144-1163.