Probability of a Union by the Principle of Inclusion-Exclusion
Probability of a Union by the Principle of Inclusion-Exclusion
This Demonstration calculates the probability that there is at least one element from each of at most six classes when a given number of elements is sampled without replacement from among all the elements. This probability can be expressed in terms of the probability of a union of events and is calculated using the principle of inclusion-exclusion.