Bayesian Data Analysis: Assignment 2
Summary
Fits a hierarchical Poisson model to pump failures at a nuclear power plant and a hierarchical model to smoking habits of adolescents, in R and JAGS. Checks convergence with trace plots, the Gelman-Rubin statistic and autocorrelation, compares models by DIC, and checks fit with posterior predictive distributions.