Total Probability by Partitioning into Groups

A total event probability can be computed as a weighted sum of its probabilities within disjoint groups covering the population.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Calculate two group effects
  2. Check the weights
  3. Multiply rates by group frequencies before adding
  4. Confirm the groups partition the population

Calculate two group effects

If half the traffic reaches each queue and their success rates are 90 and 60 percent, the overall rate is 75 percent. With 80 percent of traffic in the first queue, it rises to 84 percent. Partitions ensure each observation contributes to one group.

Check the weights

A bare mean of group rates treats each group equally, even when their sizes differ. Use the actual group membership proportions in the relevant population. See conditional probability.[1]

Multiply rates by group frequencies before adding

Suppose one inspection line handles three quarters of items and has failure rate two percent. A second line handles one quarter and fails at six percent. The total rate is \(0.75\cdot0.02+0.25\cdot0.06=0.03\). See combining unequal group rates.

For 1000 items at the stated rates
Line A: 750 items × .02 = 15 failures
Line B: 250 items × .06 = 15 failures
Overall: 30
1000 = 3%

Confirm the groups partition the population

Counting overlapping groups would repeat items in the weighted sum. Missing group assignments need a row if those items belong to the population. The law of total probability follows by partitioning the target event into contributions by group.

References

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