Andishe_ye Amari

Andishe_ye Amari

Adding new mathematical functions and statistical distributions to WinBUGS software

Document Type : Original Article

Author
Faculty of Biostatistics, Faculty of Medical Sciences, Tarbiat Modares University, Iran
Abstract
WinBUGS is a popular software in computational Bayesian statistics that can be used to easily fit Bayesian models to data.
Although mathematical functions and well-known statistical distributions are defined in this software, sometimes it is necessary to include other functions and distributions in the calculations.
This is done with some tricks and indirectly. Using the WinBUGS development tool called WBDev, new mathematical functions and distributions can be added to this software and used directly. This makes writing model codes easier and calculations faster and more efficient.
In this article, the method and steps for defining new functions and distributions are described with examples.
Keywords

Volume 23, Issue 2
February 2019
Pages 27-36

  • Receive Date 10 May 2025
  • First Publish Date 10 May 2025
  • Publish Date 20 February 2019