Professional Documents
Culture Documents
Modelling
Here you will find daily
news and tutorials about
R, contributed by hundreds April 10, 2012 MOST VISITED ARTICLES OF THE WEEK
of bloggers.
By Jeromy Anglim
There are many ways to
follow us - 1. How to write the first for loop in R
By e-mail: 2. 5 Ways to Subset a Data Frame in R
3. R – Sorting a data frame by the contents of a
Your e-mail here [This article was first published on Jeromy Anglim's Blog: Psychology and Statistics, and
column
Subscribe
kindly contributed to R-bloggers]. (You can report issue about the content on this page here) 4. Loading packages efficiently
5. Using apply, sapply, lapply in R
On Facebook: Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. 6. In-depth introduction to machine learning in
15 hours of expert videos
7. R Tutorial Series: Simple Linear Regression
Share Tweet 8. Date Formats in R
9. Installing R packages
This post provides links to various resources on getting started with Bayesian
modelling using JAGS and R. It discusses: (1) what is JAGS; (2) why you might
want to perform Bayesian modelling using JAGS; (3) how to install JAGS; (4) SPONSORS
where to find further information on JAGS; (5) where to find examples of JAGS
scripts in action; (6) where to ask questions; and (7) some interesting
psychological applications of Bayesian modelling.
https://www.r-bloggers.com/getting-started-with-jags-rjags-and-bayesian-modelling/[05/01/2020 18:32:49]
Getting Started with JAGS, rjags, and Bayesian Modelling | R-bloggers
JAGS Installation
JAGS runs on Linux, Mac, and Windows. I run JAGS on Ubuntu through an
interface with R called rjags.
Information on JAGS
The manual for different versions of JAGS is located here. e.g., the pdf of
the manual for 3.1.0. Several particularly relevant sections include:
The rjags help pdf for information about how to interface with JAGS
from R.
http://cran.r-project.org/web/views/Bayesian.html
http://www.stat.columbia.edu/~gelman/bayescomputation/lunnbugswithcommen
ts.pdf
https://www.r-bloggers.com/getting-started-with-jags-rjags-and-bayesian-modelling/[05/01/2020 18:32:49]
Getting Started with JAGS, rjags, and Bayesian Modelling | R-bloggers
Justin Esarey
An entire course on Bayesian Statistics with examples in R and
JAGS. It includes 10 lectures and each lecture lasts around 2
hours. The content is designed for a social science audience and it
includes a syllabus linking with Simon Jackman’s text. The videos
are linked from above or available direclty on YouTube
John K. Kruschke
BUGS Project
BUGS is well known for the large set of examples that accompany
the project.
The PDF providing documentation for Volume 1 and 2 of the
examples is available here.
You can see the JAGS code used to run these examples here.
Patrick J Mineault
Miguel Lobo
A short tutorial
Simon Jackman
Simon Jackman wrote the book Bayesian Analysis for the Social
Sciences that has accompanying JAGS code.
The book’s website has several useful resources including
example papers using Bayesian methods.
An associated course that uses the book as a text book has slides
and many examples of using and R and JAGS.
Johannes Karreth
Myself
More broadly, examples and tutorials designed for WinBUGS can generally be
adapted to be useful for JAGS. So for example, you can explore these WinBUGS
examples:
Michael Lee and Eric-Jan Wagemakers have a free online book called A
Course in Bayesian Graphical Modeling for Cognitive Science: see PDF
and website.
The website for the book Markov Chain Monte Carlo has several
WinBUGS examples.
There is an extensive list of BUGS resources on the BUGS project
website.
Asking questions
https://www.r-bloggers.com/getting-started-with-jags-rjags-and-bayesian-modelling/[05/01/2020 18:32:49]
Getting Started with JAGS, rjags, and Bayesian Modelling | R-bloggers
There are several places to ask questions about JAGS, R, and Bayesian statistics.
In general, I prefer the Stack Exchange model for asking and answering
questions on the internet, although the most important issue is typically where
the experts are located.
If you know of any other interesting JAGS resources or have any comments
about my choice of software for Bayesian data analysis, feel free to post a
comment.
Share Tweet
To leave a comment for the author, please follow the link and comment on their blog:
Jeromy Anglim's Blog: Psychology and Statistics.
R-bloggers.com offers daily e-mail updates about R news and tutorials about
learning R and many other topics. Click here if you're looking to post or find an
R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you
don't.
If you got this far, why not subscribe for updates from the site?
Choose your flavor: e-mail, twitter, RSS, or facebook...
https://www.r-bloggers.com/getting-started-with-jags-rjags-and-bayesian-modelling/[05/01/2020 18:32:49]