Define sample space and experiment
Define probabilities
Define random variable and distribution function
Examples:
- Event A: “Die shows an even number”
\(A = \{2,4,6\}\)
Certain event: The sample space itself \(S\) (probability = 1)
Impossible event: The empty set \(\varnothing\) (probability = 0)
Since events are subsets of the sample space, we can use set theory:
For any event \(A\):
\(0\leq \Pr(A) \leq 1\)
\(\Pr(S) = 1\) where \(S\) is the sample space.
The complement of \(A\) (denoted \(A^c\)) is “not \(A\)”.
\[\Pr(A^c) = 1 - \Pr(A)\]
If the probability of rain is 0.3,
then the probability of no rain is:
For any two events \(A\) and \(B\):
\[\Pr(A \cup B) = \Pr(A) + \Pr(B) - \Pr(A \cap B)\]
If \(A\) and \(B\) cannot happen together,
\[ \Pr(A \cap B) = 0 \]
Then:
\[ \Pr(A \cup B) = \Pr(A) + \Pr(B) \]
For any two events \(A\) and \(B\):
\[ \Pr(A \cap B) = \Pr(A \mid B)\Pr(B) \]
or equivalently,
\[ \Pr(A \cap B) = \Pr(B \mid A)\Pr(A) \]
The probability of (A) given that (B) occurred:
\[ \Pr(A \mid B) = \frac{\Pr(A \cap B)}{\Pr(B)}, \quad \Pr(B) > 0 \]
If 30% of students play soccer, 20% play basketball,
and 10% play both:
Complement Rule:
\[ \Pr(A^c) = 1 - \Pr(A) \]
Addition Rule:
\[ \Pr(A \cup B) = \Pr(A) + \Pr(B) - \Pr(A \cap B) \]
Multiplication Rule:
\[ \Pr(A \cap B) = \Pr(A \mid B)\Pr(B) \]
Conditional Probability:
\[ \Pr(A \mid B) = \frac{\Pr(A \cap B)}{\Pr(B)} \]
Suppose we want to understand the efficacy of a test for a certain disease. Consider the following table:
Disease | Presence | Total | ||
---|---|---|---|---|
Yes | No | |||
Test Result | Yes | 42 | 6 | |
No | 17 | 35 | ||
100 | ||||
Find the probability that an individual has a disease
Find the probability that an individual tests negative for a disease
Find the probability for someone who has the disease, given that they test positive.
Find the probability that the test gives an accurate result
Find the probability that the test gives and inaccurate result