Back to HomepageCredit: Lee Seonghak
The objective of this homework is to practice the mechanics of Bayesian analysis. You will use R and the statistical Rethinking package for your analysis. By the end of this homework, you should feel comfortable setting up, running, sampling for, and interpretting basic Bayesian inference to build models and find posterior probabilities.
You will now do some basic Bayesian inference in R. Everything you need to know should be covered in Week 2 of class (see links to resources below). Complete the remaining "TODO" tasks in the R markdown file. Be sure to provide the code you wrote to get your solutions!
When you have completed this assignment, don't forget to push the changes to get credit!