This new module was built for users interested in a programming language similar to BUGS to fit a Bayesian model based on the piecewise exponential distribution. The module is an extension of the open-source program JAGS. 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...