Probabilities and Conditional Probabilities
Part of Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics.
Main Stam4Econ site | View this section in the book | Author: Fan Wang | DOI: 10.5281/zenodo.24696926
Date: 2026-11-30 | HTML | PDF | QMD
1 Probabilities and Conditional Probabilities
1.1 Intersection
The definition of intersection of two sets \(C = A \cap B\),is that \(C\) is the set of all elements that are in both \(A\) and \(B\), in set builder notation, we have:
\[ C = \{ x | x \in A \text{ and } x \in B \} \]
Suppose we have the probability for event \(A\) and event \(B\) are \(P(A)\) and \(P(B)\), respectively with \(P\) satisfying the Kolmogorov Law of probability. Then the probability for the intersection of event \(A\) and event \(B\) is denoted as:
\[ P(C) = P(A \cap B) \]
How do we know if the \(C\) is included in the sigma algebra, \(\mathcal{B}\), which is the domain of the probability function \(P : \mathcal{B} \rightarrow [0, 1]\)? We know because: (1) the complements of \(A\) and \(B\) are in the sigma algebra, (2) and the union of the complements is also in the sigma algebra, (3) and the complement of that union is also in the sigma algebra, and (4) that complement of the union is exactly the intersection of \(A\) and \(B\).
1.2 Conditional probabilities, events, and mapping to data.
We define the idea of conditional probability as follows. For an event \(B\) with \(P(B)>0\), the conditional probability of event \(A\) given \(B\) is:
\[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} \]
We call \(P(B)\) the unconditional probability, and \(P(A \mid B)\) the conditional probability.
If two \(A\) and \(B\) with \(P(A)>0\) and \(P(B)>0\) are independent, then the conditional probability is equal to the unconditional probability, \(P(A \mid B) = P(A)\) and \(P(B \mid A) = P(B)\).
Note that independence does not mean events \(A\) and \(B\) are disjoint. Specifically:
Proposition: if \(A\) and \(B\) are independent, and \(P(A)>0\) and \(P(B)>0\), then \(A\) and \(B\) are not disjoint.
Proof by contradiction: suppose \(A\) and \(B\) are disjoint, then \(P(A \cap B) = 0\), so \(P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{0}{P(B)} = 0 \neq P(A)\), which contradicts the independence condition.
1.3 Law of total probability
The law of total probability states that, given \(\left\{B_1, B_2, \dots\right\}\) events which partition \(S\), and \(P(B_i)>0\) for all \(i\), then:
\[ P(A) = \sum_{i} P(A \mid B_i) P(B_i) \]
- Why is the condition \(P(B_i) > 0\) needed? This is required because the conditional probability \(P(A \mid B_i)\) is only defined when \(P(B_i) > 0\).
The partition requirement is essential. For example, the following claim is false:
If disjoint events \(B_1,B_2,\ldots\) each have positive probability, then \(P(A)=\sum_i P(A\mid B_i)P(B_i)\) even when their union does not cover the sample space.
Counterexample to the Proposition:
The proposition claims: Given events \(\{B_1, B_2, \dots\}\) with \(\sum_i B_i < 1\) (i.e., the \(B_i\) do not partition the sample space), and \(P(B_i)>0\) for all \(i\), then \(P(A) = \sum_{i} P(A \mid B_i) P(B_i)\).
This is false.
Counterexample:
Let the sample space \(S = \{1,2,3,4\}\), with equal probability for each outcome:\(P(\{i\}) = 0.25\).
Let \(B_1 = \{1\}\), \(B_2 = \{2\}\) (so \(B_1 \cap B_2 = \emptyset\)), and \(A = \{1,2,3\}\).
- \(P(B_1) = 0.25\), \(P(B_2) = 0.25\)
- \(P(A) = 0.75\)
- \(P(A \mid B_1) = \frac{P(A \cap B_1)}{P(B_1)} = \frac{0.25}{0.25} = 1\)
- \(P(A \mid B_2) = \frac{0.25}{0.25} = 1\)
Now,
\[\sum_{i=1}^2 P(A \mid B_i) P(B_i) = 1 \times 0.25 + 1 \times 0.25 = 0.5\]
But \(P(A) = 0.75 \neq 0.5\).
Conclusion: The formula \(P(A) = \sum_{i} P(A \mid B_i) P(B_i)\) only holds if the \(B_i\) partition the sample space (i.e., \(\bigcup_i B_i = S\) and \(B_i\) are disjoint). If not, the formula can fail, as shown above.