To cite pexm in publications use:

Mayrink VD, Duarte JDN, Demarqui FN (2021). “pexm: A JAGS Module for Applications Involving the Piecewise Exponential Distribution.” Journal of Statistical Software, 100(8), 1–28. doi:10.18637/jss.v100.i08.

Corresponding BibTeX entry:

  @Article{,
    title = {{pexm}: A {JAGS} Module for Applications Involving the
      Piecewise Exponential Distribution},
    author = {Vin\'{i}cius D. Mayrink and Jo\~{a}o Daniel N. Duarte and
      F\'{a}bio N. Demarqui},
    journal = {Journal of Statistical Software},
    year = {2021},
    volume = {100},
    number = {8},
    pages = {1--28},
    doi = {10.18637/jss.v100.i08},
  }