Ruby flavoured Statistical Rethinking
This is a collection of solutions to exercises from Richard McElreath's book Statistical Rethinking implemented in Ruby. The code showcases both the mathematical concepts and Ruby's capabilities for statistical computing.
Chapter 2
- Exercise 2M1 - Globe tossing with different priors
- Exercise 2M2 - Impact of different priors on the posterior
- Exercise 2M3 - Maximum a posteriori estimation
- Exercises 2H1 and 2H2 - Hard problems with grid approximation
Chapter 3
- Experimenting Dashboard: Sampling from a Binomial - Interactive exploration of binomial sampling