Media Statistika (Feb 2024)

MAKING BAYESIAN DISEASE MAPPING EASY AND INTERACTIVE: AN R SHINY APPLICATION

  • Aswi Aswi,
  • Muhammad Arif Tiro,
  • Sudarmin Sudarmin,
  • Sukarna Sukarna,
  • Awi Awi,
  • Nurwan Nurwan,
  • Susanna Cramb

DOI
https://doi.org/10.14710/medstat.16.2.148-159
Journal volume & issue
Vol. 16, no. 2
pp. 148 – 159

Abstract

Read online

Spatial analysis of count data is important in epidemiology and other domains to identify spatial patterns. While Bayesian spatial models are a popular approach, they do require detailed knowledge of the process for model fitting, checking, and visualising results. Although a number of R packages are available to simplify running the model, there are still complexities when checking the model. This paper aims to provide a user-friendly and interactive R Shiny web application for the analysis of spatial data using Bayesian spatial Conditional Autoregressive Leroux models. The web application is built with the integration of the R packages shiny and CARBayes. The required data are the number of cases, population, and optionally some covariates for each region. In this case, we used Covid-19 data in 2021 in South Sulawesi province, Indonesia. This application enables fitting a Bayesian spatial CAR Leroux model under several hyperpriors and selecting the most appropriate through comparing several goodness of fit measures. The application also enables checking convergence, plus obtaining and visualising in an interactive map the relative risk of disease for each region.

Keywords