Ellis Hughes and I continue our series on simulation and sampling by moving into a basic introduction to Bayesian thinking. We code two of the common Bayesian problems that get discussed in intro courses/textbooks: (1) The probability of disease given a positive test; and, (2) the probability that a coin is biased towards heads or tails.
To watch our screen cast, CLICK HERE.
To access our code, CLICK HERE.
If you’d like to see the code in Python (I wrote a script for that too), CLICK HERE.