Conditional Probability as a Restricted Count

Conditioning restricts attention to outcomes where the supplied event occurred. The original probabilities must be renormalized over that restriction.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Filter the sample space
  2. Notice the denominator
  3. Form the denominator from the condition first
  4. Check the condition has positive probability

Filter the sample space

A fair die is known to show an even face. The remaining equally likely outcomes are 2, 4, and 6. The conditional chance of at least four is two thirds. Equally likely outcomes justify the filtered count.

Notice the denominator

Without the condition, at least four occurs on three of six faces. For a condition with probability zero, the elementary ratio has no denominator. Verify the domain requirement before coding that division.[1]

Form the denominator from the condition first

A table of twenty deliveries contains eight rainy trips. Three rainy trips and two dry trips are late. Given rain, the late proportion is \(3/8\), because non-rainy trips are outside the restricted sample. Given lateness, the rain proportion has denominator five instead. See Bayes' rule from counts.

                  Late  On time   Total
Rain                3       5       8
Dry                 2      10      12
P(late given rain)=3/8    P(rain given late)=3/5

Check the condition has positive probability

If a sample contains no rainy trips, the sample conditional proportion given rain has a zero denominator. It cannot be recovered by interpreting the numerator zero as probability zero. Test the orientation using an asymmetric table.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩