You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains my solutions to the assignments in the book: "A Student’s Guide to Bayesian Statistics" by Ben Lambert. I will update the repository with my solutions continuously.
Content
An introduction to Bayesian inference
Chapter 2 - The subjective worlds of Frequentist and Bayesian statistics
The code for this section can be found: HERE
The report can be found: HERE
Chapter 3 - Probability - the nuts and bolts of Bayesian inference
The code for this section can be found: HERE
The report can be found: HERE
The sensitivity and specificity of a test for a disease - Gibbs Sampling
Coal mining disasters in the UK - Gibbs Sampling
Using Gibbs sampling to estimate the point in time when legislative and societal changes caused a reduction in coal mining disasters in
the UK. The number of disasters per year pre and post legislations were modeled using Poisson Likelihoods: Possion(lambda_1), Possion(lambda_2) with Gamma priors. The point in time when the new legislations were enacted is called n.
Chapter 15 - Hamiltonian Monte Carlo
Chapter 16 - Stan
Hierarchical models and regression
Chapter 17 - Hierarchical models
Chapter 18 - Linear regression models
Chapter 19 - Generalized linear models and other animals
About
My solutions to the assignments in the book: "A Student’s Guide to Bayesian Statistics" by Ben Lambert.