Alex John Quijano
10/27/2021
Basic probability rules
Independence
DeMorgan’s laws
Independence vs Dependence
Take-home message: Understanding conditional probability
Consider another classic problem in probability: rolling a die with six sides, numbered from 1 to 6.
Sample Space: \(\Omega = \{1,2,3,4,5,6\}\)
Probability of each outcome is \(P(x_i) = \frac{1}{6}\) where \(x_i\) is an outcome in the \(i\)th roll.
03:33
03:33
\[ \begin{align} P(\text{1 roll until 1st 6}) & = \frac{1}{6} \\ P(\text{2 rolls until 1st 6}) & = \frac{5}{6}\frac{1}{6} = \frac{5}{6^2} \\ & \vdots \\ P(\text{n rolls until 1st 6}) & = \frac{5^{n-1}}{6^n} \end{align} \]
Classical problem in probability and statistics.
Purpose: We quote from Wiki: Urn Problem
“In probability and statistics, an urn problem is an idealized mental exercise in which some objects of real interest (such as atoms, people, cars, etc.) are represented as colored balls in an urn or other container. One pretends to draw (remove) one or more balls from the urn; the goal is to determine the probability of drawing one color or another, or some other properties. A key parameter is whether each ball is returned to the urn after each draw.”
Suppose I have an urn with only 2 balls, 1 black and 1 red.
If I sample with replacement, this is equivalent to flipping a fair coin: \(P(Black) = \frac{1}{2}\) and \(P(Red) = \frac{1}{2}\).
Question - What about 10 balls, 5 black and 5 red?
The probability is the same!
Sampling with replacement = independence
03:33
Now think about sampling without replacement.
Start with 10 balls, 5 red and 5 black.
Draw Ball 1. For that ball, \(P(red) = \frac{1}{2}\) and \(P(black) = \frac{1}{2}\).
Draw Ball 2. For that ball, \(P(red)\) and \(P(black)\) will depend on color of Ball 1.
Sampling without replacement = dependence
Today, we discussed the following:
Independence vs Dependence
Probability Urns Example
Next, we will discuss:
More on Conditional probabilities
Bayes’ theorem introduction