This week focuses on two fundamental concepts in statistics: probability and likelihood. The learning goals for this week are: (1) an intuition for marginal, conditional, and joint probability; (2) an intuition for likelihood; (3) how to calculate likelihood; (4) how to write functions in R; (5) how to work with probability distributions in R; (6) how to code and optimize a log-likelihood function in R.

The slides are here.

The presentation uses some shiny apps–code for these apps is found on the GitHub site. For now you will have to run them locally–we're looking at having them hosted online so they can be played with at will.

An R script (a demo/practical) which uses some of the concepts in the lecture are also on the GitHub site.

  • No labels