This is an outline of the topics we covered in the first week of class. These notes are not a substitute for your own note-taking. I highly recommend that you take your own notes during class. If you ever miss a class for any reason, reach out to another student in class to get a copy of their notes.
In prior math courses, you mostly asked
A toxin molecule in a cell has a certain chance each minute to leave the cell.
A patient takes a diagnostic test for a disease and wants to know the chance that they have the disease based on the test result.
The
An experiment consists of rolling a standard 6-sided die (D6).
The sample space is
Note: we'll use notation like D6 to indicate a 6-sided die with faces 1, 2, 3, 4, 5, 6. Similarly, for example, D4 will indicate a 4-sided die with faces 1, 2, 3, 4.
The symbol
The symbol
Consider sets
The
The
The
The
The
It's useful sometimes to draw pictures called
Venn diagram showing sets
Venn diagram showing sets
Venn diagram showing sets
Venn diagram showing set
Next, we want to start assigning probabilities to each individual outcome so we can then find the probabilities of events.
An experiment consists of rolling a D6.
The sample space is
Note that we don't have to assign the same probability to each outcome.
If we do, we call this distribution
Given a finite set
If
Suppose we have a weighted die that's much more likely to come up 6 than any other outcome.
With this distribution, if
Pick a number from 1 to 10. What is the probability of picking 3?
Some considerations:
Are we using the uniform distribution?
What even is the sample space here? Do we need to pick only integers, or is
What would "uniform" mean if the sample space was infinite?
A
If
Suppose we flip a coin until we see heads.
The sample space is
Instead of "uniform", what if we want to treat the coin as a fair coin? Then what would the distribution be?
One last (very useful!) observation.
Recall: If
For any event
Question: How does evidence (e.g., knowledge of one event occurring) change our knowledge of probabilities for other events?
Roll a fair D6 two times.
Let
The
Two overlapping circles representing events
Continuing from the previous example,
Setup: A patient takes a diagnostic test.
Let
The
But, what the patient really wants to know is
A disease has a prevalence of 1%. A test has sensitivity of 90% and specificity of 91%. For a patient who gets a positive test result, what is the probability that they have the disease?
C!
For events
For example, if a patient sees a positive diagnostic test result, they might try to calculate:
Observation:
Observation 2:
Continuing from the previous example:
Question:
Events
Observation: If
Continuing
Now consider the event