Related Experiment Video
Updated: Sep 29, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
On Bayesian modeling of censored data in JAGS
Xinyue Qi1, Shouhao Zhou2, Martyn Plummer3
1The University of Texas MD Anderson Cancer Center, Houston, TX, USA.
This study introduces a new Bayesian modeling strategy for censored data in JAGS, fixing the deviance calculation for accurate model comparison. The method ensures correct posterior samples and deviance values for survival and drug safety data analysis.
Area of Science:
- Statistics
- Computational Statistics
- Bayesian Inference
Background:
- Markov Chain Monte Carlo (MCMC) methods are essential for Bayesian modeling.
- Just Another Gibbs Sampling (JAGS) is a popular software for MCMC analysis.
- The default deviance calculation in JAGS for censored data is inaccurate, hindering model comparison.
Purpose of the Study:
- To develop an automated approach for correct deviance function specification in JAGS for censored data.
- To provide a generic and simple alternative modeling strategy for analyzing censored outcomes.
- To enable accurate likelihood-based Bayesian model comparison.
Main Methods:
- Proposed an alternative modeling strategy for censored data analysis in JAGS.
- Implemented the strategy to automatically specify the correct deviance function.
- Applied the method to survival data and drug safety data examples.
Main Results:
- The alternative strategy correctly draws posterior samples in JAGS.
- The proposed method automatically yields the correct deviance for model assessment.
- Accurate mean deviance values were obtained for survival data using the exact likelihood.
- Deviance Information Criterion (DIC) and penalized expected deviance were computed for Bayesian models of censored drug safety data.
Conclusions:
- An effective strategy for modeling censored data in JAGS with correct deviance specification was proposed.
- The approach simplifies the computation of Kullback-Leibler based model selection measures.
- The method is applicable to various censored data types, including survival data, and diverse Bayesian model structures.
Related Concept Videos
Censoring Survival Data
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Statistical Methods for Analyzing Epidemiological Data
Mechanistic Models: Compartment Models in Individual and Population Analysis
Assumptions of Survival Analysis

