Examples Building a model from BUGS code Read this example on a new page. Converting to NIMBLE Read this example on a new page. Creating a default MCMC Read this example on a new page. Customizing an MCMC Read this example on a new page. Parallelizing NIMBLE Read this example on a new page. Simulating from a model (quickly!) Read this example on a new page. Using linear predictors in a regression model Read this example on a new page. Building a generalized linear mixed model and an MCMC for it Read this example on a new page. Variable selection using reversible jump MCMC (RJMCMC) Read this example on a new page. Restarting an MCMC Read this example on a new page. Posterior predictive sampling and other post-MCMC use of samples Read this example on a new page. Ecology examples from the book Applied Hierarchical Modeling in Ecology Read this example on a new page. Writing a new distribution for use in BUGS code: zero-inflated Poisson Read this example on a new page. Gaussian process models Read this example on a new page. Conditional autoregressive (CAR) models Read this example on a new page. Item response theory (IRT) models Read this example on a new page. Maximum likelihood via Monte Carlo Expectation-Maximization (MCEM) Read this example on a new page. Stochastic volatility modeling using a custom distribution Read this example on a new page. Bayesian nonparametric density estimation Read this example on a new page. Bayesian nonparametric random effects Read this example on a new page. Bayesian nonparametrics with jointly clustered observations Read this example on a new page.