pexm: a JAGS module for applications involving the piecewise exponential distribution

04/26/2020
by   Vinicius D. Mayrink, et al.
0

In this study, we present a new module built for users interested in a programming language similar to BUGS to fit a Bayesian model based on the piecewise exponential (PE) distribution. The module is an extension to the open-source program JAGS by which a Gibbs sampler can be applied without requiring the derivation of complete conditionals and the subsequent implementation of strategies to draw samples from unknown distributions. The PE distribution is widely used in the fields of survival analysis and reliability. Currently, it can only be implemented in JAGS through methods to indirectly specify the likelihood based on the Poisson or Bernoulli probabilities. Our module provides a more straightforward implementation and is thus more attractive to the researchers aiming to spend more time exploring the results from the Bayesian inference rather than implementing the Markov Chain Monte Carlo (MCMC) algorithm. For those interested in extending JAGS, this work can be seen as a tutorial including important information not well investigated or organized in other materials. Here, we describe how to use the module taking advantage of the interface between R and JAGS. A short simulation study is developed to ensure that the module behaves well and a real illustration, involving two PE models, exhibits a context where the module can be used in practice.

READ FULL TEXT
research
03/03/2023

Eryn : A multi-purpose sampler for Bayesian inference

In recent years, methods for Bayesian inference have been widely used in...
research
10/08/2020

MatDRAM: A pure-MATLAB Delayed-Rejection Adaptive Metropolis-Hastings Markov Chain Monte Carlo Sampler

Markov Chain Monte Carlo (MCMC) algorithms are widely used for stochasti...
research
08/26/2019

MALA-within-Gibbs samplers for high-dimensional distributions with sparse conditional structure

Markov chain Monte Carlo (MCMC) samplers are numerical methods for drawi...
research
05/26/2022

Consistent and fast inference in compartmental models of epidemics using Poisson Approximate Likelihoods

Addressing the challenge of scaling-up epidemiological inference to comp...
research
03/02/2021

Laplacian-P-splines for Bayesian inference in the mixture cure model

The mixture cure model for analyzing survival data is characterized by t...
research
05/16/2019

Extending OCaml's 'open'

We propose a harmonious extension of OCaml's 'open' construct. OCaml's...

Please sign up or login with your details

Forgot password? Click here to reset