R script with NIMBLE (examples)

Installation

Install NIMBLE

Reference

  • Jim Albert (2009) Bayesian Computation with R (2nd edition). Springer

Normal distribution

Binomial distribution

Poisson distribution (Section 3.3)

Multinomial distribution (Section 4.3)

Grouped Data (Section 6.7-6.8)

Cauchy Distribution (Section 6.9)

Heart Transplant Data (Section 6.10)

Hierarchical models

Regression example

Various examples