This folder contains all materials for Day 1 of the Applied Bayesian Methods course
- The Bayesian framework — Bayes' theorem, posterior inference, the likelihood principle and its connection to Bayesian updating
- Choice of priors — weakly informative, conjugate, and regularising priors; prior predictive checks
- Mixed effects models as Bayesian hierarchical models — random effects with different covariance structures (independent, correlated, spatial)
- Connections to penalized regression — ridge/lasso as Bayesian shrinkage; equivalence between regularisation penalties and prior distributions
- Temporal random effects in INLA (time permitting) — a brief applied example to bridge into Day 2
- Language: R
- Primary packages:
rstanarm,brms - Supporting packages:
bayesplot,loo,tidybayes,lme4(for reference/comparison)
day1/
├── exercises/
├── slides/
- Slides are built with Reveal.js via Quarto (
format: revealjs). - Rendered output (e.g.
*.html,*_files/) is gitignored at the repo level — do not force-add these. - Stan models may take time to compile on first run; pre-compiled model objects (
.rds) can be saved toscripts/to speed up live demos.