R – Comparing OpenBugs and JAGS for Gibbs Sampling

bugsgibbsjagsrsoftware

I am about to try out a BUGS style environment for estimating Bayesian models. Are there any important advantages to consider in choosing between OpenBugs or JAGS? Is one likely to replace the other in the foreseeable future?

I will be using the chosen Gibbs Sampler with R. I don't have a specific application yet, but rather I am deciding which to intall and learn.

Best Answer

BUGS/OpenBugs has a peculiar build system which made compiling the code difficult to impossible on some systems — such as Linux (and IIRC OS X) where people had to resort to Windows emulation etc.

Jags, on the other hand, is a completely new project written with standard GNU tools and hence portable to just about anywhere — and therefore usable anywhere.

So in short, if your system is Windows then you do have a choice, and a potential cost of being stuck to Bugs if you ever move. If you are not on Windows, then Jags is likely to be the better choice.