Skip to content

Latest commit

 

History

History
176 lines (118 loc) · 5.93 KB

index.md

File metadata and controls

176 lines (118 loc) · 5.93 KB

Week 4 — Inference ({date}wk4 range)

:::{updated} F22 :::

These are the learning outcomes for the week:

  • Understand the elements of probability
  • Interpret and write conditional probabilities for events
  • Understand the key relationships between discrete and continuous probability
  • Compute and interpret a {term}confidence interval

{{moverview}} Content Overview

:folder: ed4af4be-ea6c-4ff0-82ac-af09015d5d25

This week is at the upper end for total video of any week in the course, and also has some of the trickier concepts. The next week — Week 5 — is significantly lighter in terms of new material, and we'll take a step back to try to solidify the things we've learned so far in the class before proceeding to Week 6.

{{mcal}} Deadlines

  • Week 4 Quiz on {date}wk4 thu at 8AM

{{mvideo}} Introduction

:::{video} introduction :length: 10m36s :name: 4-1 - Inference Intro :::

{{mvideo}} Probability

:::{video} probability :length: 13m46s :name: 4-2 - Probability :::

{{mvideo}} Joint and Conditional Probability

:::{video} joint-conditional :length: 11m50s :name: 4-3 - Joint and Conditional :::

{{mvideo}} Continuous Probability

:::{video} continuous :length: 11m48s :name: 4-4 - Continuous Probability :::

{{mdoc}} Notes on Probability

:::{reading} :title: Notes on Probability :url: ../resources/probability/ :length: 349 words :::

My notes on probability provide a linear, summary treatment of the concepts of probability that we have discussed, along with pointers for further reading.

I expect you will likely need to return to the probability material as we progress through the semester and use it more and more. A few particularly important things you need to be able to understand are:

  • What does a probability $\P[A]$ mean?
  • What does a conditional probability $\P[A|B]$ mean?
  • What does a joint probability $\P[A,B]$ mean?
  • What does an expected value $\E[X]$ mean?

In my teaching of later material, I use probability notation a lot, as it is a concise but (relatively) unambiguous way to communicate many important concepts. Also, while the philosophy of probability is largely out of scope of this course, my own philosophy of probability (roughly, instrumentalism) means that I use probabilities to describe things that a strict philosophical frequentist likely would not. One of the most practical implications for this class is that I will use conditional probability as a shorthand for fractions of events or observations:

$$ \P[A|B] = \frac{|A \cap B|}{|B|} $$

You can derive this fraction yourself from $\P[A] = \frac{|A|}{n}$, where $n$ is the total number of possible events or observations, and cancelling the $n$.

{{mvideo}} {{mnotebook}} Distributions

:::{video} :length: 9m24s :name: 4-5 - Distributions :::

Resources

{{mvideo}} Sampling and the Data Generation Process

:::{video} sampling :length: 17m53s :name: 4-6 - Sampling and the DGP :::

Resources

{{mvideo}} Confidence

This video introduces {term}confidence intervals.

:::{video} confidence :length: 9m44s :name: 4-7 - Confidence :::

{{mdoc}} Confidence in Confidence

:url: https://medium.com/@EpiEllie/having-confidence-in-confidence-intervals-8f881712d837
:title: Having confidence in confindence intervals
:length: 225 words

Read Having confidence in confidence intervals by Ellie Murray.

{{mvideo}} The Bootstrap

:::{video} bootstrap :length: 7m26s :name: 4-8 - The Bootstrap :::

{{mquiz}} Week 4 Quiz

The Week 4 quiz is on {{LMS}}, and is due at 12pm (noon) on Monday, Sep. 20.

{{mnotebook}} Penguin Inference

The Penguin Inference notebook shows confidence intervals and hypothesis tests on the penguin data.

📚 Further Reading

If you want to dive more deeply into probability theory, Michael Betancourt's case studies are rather mathematically dense but quite good:

For a book:

📚 Extra Reading (Philosophy)

  • Moving to a World Beyond “p < 0.05”, by Wasserstein, Schirm, and Lazar.

  • Abandon Statistical Significance, by McShane, Gal, Gelman, Robert, and Tackett. While the title is provocative, this article is not advocating against computing statistical significance measures. It advocates using them as one piece of evidence among many, instead of as an end-of-the-story bright-line rule for establishing discovery.

  • Interpretations of Probability. I primarily operate from somewhere in the subjective school, with a strong dose of instrumentalism.

{{massignment}} Assignment 2

Assignment 2 is due on {date}wk5 sun full.