Cargando…
On Bayesian modeling of censored data in JAGS
BACKGROUND: Just Another Gibbs Sampling (JAGS) is a convenient tool to draw posterior samples using Markov Chain Monte Carlo for Bayesian modeling. However, the built-in function dinterval() for censored data misspecifies the default computation of deviance function, which limits likelihood-based Ba...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8944154/ https://www.ncbi.nlm.nih.gov/pubmed/35321656 http://dx.doi.org/10.1186/s12859-021-04496-8 |
_version_ | 1784673660791947264 |
---|---|
author | Qi, Xinyue Zhou, Shouhao Plummer, Martyn |
author_facet | Qi, Xinyue Zhou, Shouhao Plummer, Martyn |
author_sort | Qi, Xinyue |
collection | PubMed |
description | BACKGROUND: Just Another Gibbs Sampling (JAGS) is a convenient tool to draw posterior samples using Markov Chain Monte Carlo for Bayesian modeling. However, the built-in function dinterval() for censored data misspecifies the default computation of deviance function, which limits likelihood-based Bayesian model comparison. RESULTS: To establish an automatic approach to specifying the correct deviance function in JAGS, we propose a simple and generic alternative modeling strategy for the analysis of censored outcomes. The two illustrative examples demonstrate that the alternative strategy not only properly draws posterior samples in JAGS, but also automatically delivers the correct deviance for model assessment. In the survival data application, our proposed method provides the correct value of mean deviance based on the exact likelihood function. In the drug safety data application, the deviance information criterion and penalized expected deviance for seven Bayesian models of censored data are simultaneously computed by our proposed approach and compared to examine the model performance. CONCLUSIONS: We propose an effective strategy to model censored data in the Bayesian modeling framework in JAGS with the correct deviance specification, which can simplify the calculation of popular Kullback–Leibler based measures for model selection. The proposed approach applies to a broad spectrum of censored data types, such as survival data, and facilitates different censored Bayesian model structures. |
format | Online Article Text |
id | pubmed-8944154 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-89441542022-03-25 On Bayesian modeling of censored data in JAGS Qi, Xinyue Zhou, Shouhao Plummer, Martyn BMC Bioinformatics Research BACKGROUND: Just Another Gibbs Sampling (JAGS) is a convenient tool to draw posterior samples using Markov Chain Monte Carlo for Bayesian modeling. However, the built-in function dinterval() for censored data misspecifies the default computation of deviance function, which limits likelihood-based Bayesian model comparison. RESULTS: To establish an automatic approach to specifying the correct deviance function in JAGS, we propose a simple and generic alternative modeling strategy for the analysis of censored outcomes. The two illustrative examples demonstrate that the alternative strategy not only properly draws posterior samples in JAGS, but also automatically delivers the correct deviance for model assessment. In the survival data application, our proposed method provides the correct value of mean deviance based on the exact likelihood function. In the drug safety data application, the deviance information criterion and penalized expected deviance for seven Bayesian models of censored data are simultaneously computed by our proposed approach and compared to examine the model performance. CONCLUSIONS: We propose an effective strategy to model censored data in the Bayesian modeling framework in JAGS with the correct deviance specification, which can simplify the calculation of popular Kullback–Leibler based measures for model selection. The proposed approach applies to a broad spectrum of censored data types, such as survival data, and facilitates different censored Bayesian model structures. BioMed Central 2022-03-23 /pmc/articles/PMC8944154/ /pubmed/35321656 http://dx.doi.org/10.1186/s12859-021-04496-8 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Research Qi, Xinyue Zhou, Shouhao Plummer, Martyn On Bayesian modeling of censored data in JAGS |
title | On Bayesian modeling of censored data in JAGS |
title_full | On Bayesian modeling of censored data in JAGS |
title_fullStr | On Bayesian modeling of censored data in JAGS |
title_full_unstemmed | On Bayesian modeling of censored data in JAGS |
title_short | On Bayesian modeling of censored data in JAGS |
title_sort | on bayesian modeling of censored data in jags |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8944154/ https://www.ncbi.nlm.nih.gov/pubmed/35321656 http://dx.doi.org/10.1186/s12859-021-04496-8 |
work_keys_str_mv | AT qixinyue onbayesianmodelingofcensoreddatainjags AT zhoushouhao onbayesianmodelingofcensoreddatainjags AT plummermartyn onbayesianmodelingofcensoreddatainjags |