IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v063c01.html
   My bibliography  Save this article

Pitfalls in the Implementation of Bayesian Hierarchical Modeling of Areal Count Data: An Illustration Using BYM and Leroux Models

Author

Listed:
  • Gerber, Florian
  • Furrer, Reinhard

Abstract

Several different hierarchical Bayesian models can be used for the estimation of spatial risk patterns based on spatially aggregated count data. Typically, the resulting posterior distributions of the model parameters cannot be expressed in closed forms, and MCMC approaches are required for inference. However, implementations of hierarchical Bayesian models for such areal data are error-prone. Also, different implementation methods exist, and a surprisingly large variability may develop between the methods as well as between the different MCMC runs of one method. This paper has four main goals: (1) to present a point by point annotated code of two commonly used models for areal count data, namely the BYM and the Leroux models (2) to discuss technical variations in the implementation of a formula-driven sampler and to assess the variability in the posterior results from various alternative implementations (3) to give graphical tools to compare sample(r)s which complement existing convergence diagnostics and (4) to give various practical tips for implementing samplers.

Suggested Citation

  • Gerber, Florian & Furrer, Reinhard, 2015. "Pitfalls in the Implementation of Bayesian Hierarchical Modeling of Areal Count Data: An Illustration Using BYM and Leroux Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(c01).
  • Handle: RePEc:jss:jstsof:v:063:c01
    DOI: http://hdl.handle.net/10.18637/jss.v063.c01
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v063c01/v63c01.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v063c01/v63c01-code.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v063.c01?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Lee, Duncan, 2013. "CARBayes: An R Package for Bayesian Spatial Modeling with Conditional Autoregressive Priors," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 55(i13).
    2. Peter Guttorp & Stephan R. Sain & Christopher K. Wikle & Bo Li & Jason E. Smerdon, 2012. "Defining spatial comparison metrics for evaluation of paleoclimatic field reconstructions of the Common Era," Environmetrics, John Wiley & Sons, Ltd., vol. 23(5), pages 394-406, August.
    3. Furrer, Reinhard & Sain, Stephan R., 2010. "spam: A Sparse Matrix R Package with Emphasis on MCMC Methods for Gaussian Markov Random Fields," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i10).
    4. Leonhard Knorr‐Held & Nicola G. Best, 2001. "A shared component model for detecting joint and selective clustering of two diseases," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 164(1), pages 73-85.
    5. Birgit Schrödle & Leonhard Held & Andrea Riebler & Jürg Danuser, 2011. "Using integrated nested Laplace approximations for the evaluation of veterinary surveillance data from Switzerland: a case‐study," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 60(2), pages 261-279, March.
    6. Leonhard Knorr‐Held & Håvard Rue, 2002. "On Block Updating in Markov Random Field Models for Disease Mapping," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 29(4), pages 597-614, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Lan Hu & Yongwan Chun & Daniel A. Griffith, 2020. "Uncovering a positive and negative spatial autocorrelation mixture pattern: a spatial analysis of breast cancer incidences in Broward County, Florida, 2000–2010," Journal of Geographical Systems, Springer, vol. 22(3), pages 291-308, July.
    2. Pebesma, Edzer & Bivand, Roger & Ribeiro, Paulo Justiniano, 2015. "Software for Spatial Statistics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i01).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ying C. MacNab, 2018. "Some recent work on multivariate Gaussian Markov random fields," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 27(3), pages 497-541, September.
    2. Alastair Rushworth & Duncan Lee & Christophe Sarran, 2017. "An adaptive spatiotemporal smoothing model for estimating trends and step changes in disease risk," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 66(1), pages 141-157, January.
    3. Bivand, Roger & Gómez-Rubio, Virgilio & Rue, Håvard, 2015. "Spatial Data Analysis with R-INLA with Some Extensions," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i20).
    4. Nikoline N. Knudsen & Jörg Schullehner & Birgitte Hansen & Lisbeth F. Jørgensen & Søren M. Kristiansen & Denitza D. Voutchkova & Thomas A. Gerds & Per K. Andersen & Kristine Bihrmann & Morten Grønbæk , 2017. "Lithium in Drinking Water and Incidence of Suicide: A Nationwide Individual-Level Cohort Study with 22 Years of Follow-Up," IJERPH, MDPI, vol. 14(6), pages 1-13, June.
    5. Roman Flury & Reinhard Furrer, 2021. "Discussion on Competition for Spatial Statistics for Large Datasets," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 26(4), pages 599-603, December.
    6. McCausland, William J. & Miller, Shirley & Pelletier, Denis, 2011. "Simulation smoothing for state-space models: A computational efficiency analysis," Computational Statistics & Data Analysis, Elsevier, vol. 55(1), pages 199-212, January.
    7. Davies, Tilman M. & Bryant, David, 2013. "On Circulant Embedding for Gaussian Random Fields in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 55(i09).
    8. Mayer Alvo & Jingrui Mu, 2023. "COVID-19 Data Analysis Using Bayesian Models and Nonparametric Geostatistical Models," Mathematics, MDPI, vol. 11(6), pages 1-13, March.
    9. Strid, Ingvar, 2010. "Efficient parallelisation of Metropolis-Hastings algorithms using a prefetching approach," Computational Statistics & Data Analysis, Elsevier, vol. 54(11), pages 2814-2835, November.
    10. Douglas R. M. Azevedo & Marcos O. Prates & Dipankar Bandyopadhyay, 2021. "MSPOCK: Alleviating Spatial Confounding in Multivariate Disease Mapping Models," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 26(3), pages 464-491, September.
    11. Li Xu & Qingshan Jiang & David R. Lairson, 2019. "Spatio-Temporal Variation of Gender-Specific Hypertension Risk: Evidence from China," IJERPH, MDPI, vol. 16(22), pages 1-26, November.
    12. Steinsland, Ingelin, 2007. "Parallel exact sampling and evaluation of Gaussian Markov random fields," Computational Statistics & Data Analysis, Elsevier, vol. 51(6), pages 2969-2981, March.
    13. Xiaoqing Zhao & Junwei Pu & Xingyou Wang & Junxu Chen & Liang Emlyn Yang & Zexian Gu, 2018. "Land-Use Spatio-Temporal Change and Its Driving Factors in an Artificial Forest Area in Southwest China," Sustainability, MDPI, vol. 10(11), pages 1-19, November.
    14. Volker Schmid & Leonhard Held, 2004. "Bayesian Extrapolation of Space–Time Trends in Cancer Registry Data," Biometrics, The International Biometric Society, vol. 60(4), pages 1034-1042, December.
    15. Wiki, Jesse & Kingham, Simon & Campbell, Malcolm, 2021. "A geospatial analysis of Type 2 Diabetes Mellitus and the food environment in urban New Zealand," Social Science & Medicine, Elsevier, vol. 288(C).
    16. Enrique Gracia & Antonio López-Quílez & Miriam Marco & Marisol Lila, 2018. "Neighborhood characteristics and violence behind closed doors: The spatial overlap of child maltreatment and intimate partner violence," PLOS ONE, Public Library of Science, vol. 13(6), pages 1-13, June.
    17. Maura Mezzetti, 2012. "Bayesian factor analysis for spatially correlated data: application to cancer incidence data in Scotland," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 21(1), pages 49-74, March.
    18. Tasuku Okui & Akie Hirata & Naoki Nakashima, 2022. "Association of Esophageal Cancer Mortality with Municipal Socioeconomic Deprivation Level in Japan, 2013–2017: An Ecological Study Using Nationwide Data," IJERPH, MDPI, vol. 19(9), pages 1-9, April.
    19. Jane Law & Christopher Perlman, 2018. "Exploring Geographic Variation of Mental Health Risk and Service Utilization of Doctors and Hospitals in Toronto: A Shared Component Spatial Modeling Approach," IJERPH, MDPI, vol. 15(4), pages 1-13, March.
    20. Ferreira, Marco A.R. & Porter, Erica M. & Franck, Christopher T., 2021. "Fast and scalable computations for Gaussian hierarchical models with intrinsic conditional autoregressive spatial random effects," Computational Statistics & Data Analysis, Elsevier, vol. 162(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:063:c01. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.