ProbabilityTheory Slides
ProbabilityTheory Slides
Nathaniel E. Helwig
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
Simple Experiment
Example. Suppose that you roll two standard (six-sided) dice and sum
the obtained numbers. The sample space is S = {2, 3, . . . , 11, 12},
where s = 2 corresponds to rolling “snake eyes” (i.e., two 1’s) and
s = 12 corresponds to rolling “boxcars” (i.e., two 6’s).
Nathaniel E. Helwig (Minnesota) Introduction to Probability Theory c August 27, 2020 5 / 33
Experiments and Events
Definition of an Event
Example. For the coin flipping example, the two events A = {0} and
B = {n} are mutually exclusive events, whereas
A = {a | a is an even number between 0 and n} and
B = {b | b is an odd number between 1 and n} are exhaustive events.
Example. For the dice rolling example, the two events A = {2} and
B = {12} are mutually exclusive events, whereas
A = {a | a is an even number between 2 and 12} and
B = {b | b is an odd number between 3 and 11} are exhaustive events.
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
Definition of a Probability
Axioms of Probability
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
Since F : S → [0, 1], we have that F (s) ≥ 0 and F (s) ≤ 1 for any s ∈ S.
Assume that the coin is fair, i.e., P (H) = P (T ) = 1/2, and that the n
flips are independent, i.e., unrelated to one another.
Although there are only four elements in the sample space, i.e., |S| = 4,
there are a total of 2n = 8 possible sequences that we could observe
when flipping two coins.
Assume that the dice are fair, i.e., equal chance of observing each
outcome {1, . . . , 6} on a single roll, and that the two rolls are
independent, i.e., unrelated to one another.
Although there are only 11 elements in the sample space, i.e., |S| = 11,
there are a total of 62 = 36 possible sequences that we could observe
when rolling two dice.
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
In this case, the sample points have the form s = (a, b), where a and b
are the two events that combine to form the joint event.
Suppose that you flip a coin n = 2 times and record the outcome of
each coin flip (instead of recording the number of heads).
Note that the sample space has size |S| = 4 and the elementary events
are defined as S = {(T, T ), (H, T ), (T, H), (H, H)}.
Note that the sample space has size |S| = 52, given that a could take
13 different values and b could take 4 different values (and 13 × 4 = 52).
Suppose that we roll two dice and record the value of each dice
(instead of summing the values).
Note that the sample space has size |S| = 36. See the example on
Slide 19 for the 36 elementary events.
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
Table of Contents
2. What is a Probability?
3. Probability Distributions
4. Joint Events
5. Bayes’ Theorem
1. 0 ≤ P (A) ≤ 1
2. P (Ac ) = 1 − P (A)
3. P (A ∪ Ac ) = 1
4. P (S) = 1
5. P (∅) = 1 − P (S) = 0
6. P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
7. P (A ∪ B) ≤ P (A) + P (B)
8. P (A ∩ B) ≤ P (A ∪ B)
9. If A ⊆ B, then P (A) ≤ P (B)
10. If A ⊆ B, then P (B\A) = P (B) − P (A)
11. P (A|B) = P (A ∩ B)/P (B) = P (B|A)P (A)/P (B)
12. P (A|B) = P (A)P (B) if A and B are independent