A wraper function to convert coda files into a BUGS object

February 11, 2008

(This article was first published on Yu-Sung Su's Blog, and kindly contributed to R-bloggers)

I used to fit Bayesian model using WinBUGS via R a lot. But now I am more and more prone to run models on OpenBUGS directly. I have document the reason why I like OpenBUGS and wrote a auto OpenBUGS function here. In short, I like to be able to know what's going on why my MCMC is running. However, exporting MCMC results from OpenBUGS to R is the necessary step to do the post analysis. 'coda'

To leave a comment for the author, please follow the link and comment on his blog: Yu-Sung Su's Blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.