Boole's inequality

In probability theory, Boole's inequality, also known as the union bound, says that for any finite or countable set of events, the probability that at least one of the events happens is no greater than the sum of the probabilities of the individual events. This inequality provides an upper bound on the probability of occurrence of at least one of a countable number of events in terms of the individual probabilities of the events. Boole's inequality is named for its discoverer, George Boole.

Formally, for a countable set of events A1, A2, A3, ..., we have

P ( ⋃ i = 1 ∞ A i ) ≤ ∑ i = 1 ∞ P ( A i ) . {\displaystyle {\mathbb {P} }\left(\bigcup _{i=1}^{\infty }A_{i}\right)\leq \sum _{i=1}^{\infty }{\mathbb {P} }(A_{i}).}

In measure-theoretic terms, Boole's inequality follows from the fact that a measure (and certainly any probability measure) is σ-sub-additive.

Proof

Proof using induction

Boole's inequality may be proved for finite collections of n {\displaystyle n} events using the method of induction.

For the n = 1 {\displaystyle n=1} case, it follows that

P ( A 1 ) ≤ P ( A 1 ) . {\displaystyle \mathbb {P} (A_{1})\leq \mathbb {P} (A_{1}).}

For the case n {\displaystyle n} , we have

P ( ⋃ i = 1 n A i ) ≤ ∑ i = 1 n P ( A i ) . {\displaystyle {\mathbb {P} }\left(\bigcup _{i=1}^{n}A_{i}\right)\leq \sum _{i=1}^{n}{\mathbb {P} }(A_{i}).}

Since P ( A ∪ B ) = P ( A ) + P ( B ) − P ( A ∩ B ) , {\displaystyle \mathbb {P} (A\cup B)=\mathbb {P} (A)+\mathbb {P} (B)-\mathbb {P} (A\cap B),} and because the union operation is associative, we have

P ( ⋃ i = 1 n + 1 A i ) = P ( ⋃ i = 1 n A i ) + P ( A n + 1 ) − P ( ⋃ i = 1 n A i ∩ A n + 1 ) . {\displaystyle \mathbb {P} \left(\bigcup _{i=1}^{n+1}A_{i}\right)=\mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\right)+\mathbb {P} (A_{n+1})-\mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\cap A_{n+1}\right).}

Since

P ( ⋃ i = 1 n A i ∩ A n + 1 ) ≥ 0 , {\displaystyle {\mathbb {P} }\left(\bigcup _{i=1}^{n}A_{i}\cap A_{n+1}\right)\geq 0,}

by the first axiom of probability, we have

P ( ⋃ i = 1 n + 1 A i ) ≤ P ( ⋃ i = 1 n A i ) + P ( A n + 1 ) , {\displaystyle \mathbb {P} \left(\bigcup _{i=1}^{n+1}A_{i}\right)\leq \mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\right)+\mathbb {P} (A_{n+1}),}

and therefore

P ( ⋃ i = 1 n + 1 A i ) ≤ ∑ i = 1 n P ( A i ) + P ( A n + 1 ) = ∑ i = 1 n + 1 P ( A i ) . {\displaystyle \mathbb {P} \left(\bigcup _{i=1}^{n+1}A_{i}\right)\leq \sum _{i=1}^{n}\mathbb {P} (A_{i})+\mathbb {P} (A_{n+1})=\sum _{i=1}^{n+1}\mathbb {P} (A_{i}).}

Proof without using induction

For any events in A 1 , A 2 , A 3 , … {\displaystyle A_{1},A_{2},A_{3},\dots } in our probability space we have

P ( ⋃ i A i ) ≤ ∑ i P ( A i ) . {\displaystyle \mathbb {P} \left(\bigcup _{i}A_{i}\right)\leq \sum _{i}\mathbb {P} (A_{i}).}

One of the axioms of a probability space is that if B 1 , B 2 , B 3 , … {\displaystyle B_{1},B_{2},B_{3},\dots } are disjoint subsets of the probability space then

P ( ⋃ i B i ) = ∑ i P ( B i ) ; {\displaystyle \mathbb {P} \left(\bigcup _{i}B_{i}\right)=\sum _{i}\mathbb {P} (B_{i});}

this is called countable additivity.

If we modify the sets A i {\displaystyle A_{i}} , so they become disjoint,

B i = A i − ⋃ j = 1 i − 1 A j {\displaystyle B_{i}=A_{i}-\bigcup _{j=1}^{i-1}A_{j}}

we can show that

⋃ i = 1 ∞ B i = ⋃ i = 1 ∞ A i . {\displaystyle \bigcup _{i=1}^{\infty }B_{i}=\bigcup _{i=1}^{\infty }A_{i}.}

by proving both directions of inclusion.

Suppose x ∈ ⋃ i = 1 ∞ A i {\displaystyle x\in \bigcup _{i=1}^{\infty }A_{i}} . Then x ∈ A k {\displaystyle x\in A_{k}} for some minimum k {\displaystyle k} such that i < k ⟹ x ∉ A i {\displaystyle i<k\implies x\notin A_{i}} . Therefore x ∈ B k = A k − ⋃ j = 1 k − 1 A j {\displaystyle x\in B_{k}=A_{k}-\bigcup _{j=1}^{k-1}A_{j}} . So the first inclusion is true: ⋃ i = 1 ∞ A i ⊂ ⋃ i = 1 ∞ B i {\displaystyle \bigcup _{i=1}^{\infty }A_{i}\subset \bigcup _{i=1}^{\infty }B_{i}} .

Next suppose that x ∈ ⋃ i = 1 ∞ B i {\displaystyle x\in \bigcup _{i=1}^{\infty }B_{i}} . It follows that x ∈ B k {\displaystyle x\in B_{k}} for some k {\displaystyle k} . And B k = A k − ⋃ j = 1 k − 1 A j {\displaystyle B_{k}=A_{k}-\bigcup _{j=1}^{k-1}A_{j}} so x ∈ A k {\displaystyle x\in A_{k}} , and we have the other inclusion: ⋃ i = 1 ∞ B i ⊂ ⋃ i = 1 ∞ A i {\displaystyle \bigcup _{i=1}^{\infty }B_{i}\subset \bigcup _{i=1}^{\infty }A_{i}} .

By construction of each B i {\displaystyle B_{i}} , B i ⊂ A i {\displaystyle B_{i}\subset A_{i}} . For B ⊂ A , {\displaystyle B\subset A,} it is the case that P ( B ) ≤ P ( A ) . {\displaystyle \mathbb {P} (B)\leq \mathbb {P} (A).}

So, we can conclude that the desired inequality is true:

P ( ⋃ i A i ) = P ( ⋃ i B i ) = ∑ i P ( B i ) ≤ ∑ i P ( A i ) . {\displaystyle \mathbb {P} \left(\bigcup _{i}A_{i}\right)=\mathbb {P} \left(\bigcup _{i}B_{i}\right)=\sum _{i}\mathbb {P} (B_{i})\leq \sum _{i}\mathbb {P} (A_{i}).}

Bonferroni inequalities

Boole's inequality may be generalized to find upper and lower bounds on the probability of finite unions of events. These bounds are known as Bonferroni inequalities, after Carlo Emilio Bonferroni; see Bonferroni (1936).

Let

S 1 := ∑ i = 1 n P ( A i ) , S 2 := ∑ 1 ≤ i 1 < i 2 ≤ n P ( A i 1 ∩ A i 2 ) , … , S k := ∑ 1 ≤ i 1 < ⋯ < i k ≤ n P ( A i 1 ∩ ⋯ ∩ A i k ) {\displaystyle S_{1}:=\sum _{i=1}^{n}{\mathbb {P} }(A_{i}),\quad S_{2}:=\sum _{1\leq i_{1}<i_{2}\leq n}{\mathbb {P} }(A_{i_{1}}\cap A_{i_{2}}),\quad \ldots ,\quad S_{k}:=\sum _{1\leq i_{1}<\cdots <i_{k}\leq n}{\mathbb {P} }(A_{i_{1}}\cap \cdots \cap A_{i_{k}})}

for all integers k in {1, ..., n}.

Then, when K ≤ n {\displaystyle K\leq n} is odd:

∑ j = 1 K ( − 1 ) j − 1 S j ≥ P ( ⋃ i = 1 n A i ) = ∑ j = 1 n ( − 1 ) j − 1 S j {\displaystyle \sum _{j=1}^{K}(-1)^{j-1}S_{j}\geq \mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\right)=\sum _{j=1}^{n}(-1)^{j-1}S_{j}}

holds, and when K ≤ n {\displaystyle K\leq n} is even:

∑ j = 1 K ( − 1 ) j − 1 S j ≤ P ( ⋃ i = 1 n A i ) = ∑ j = 1 n ( − 1 ) j − 1 S j {\displaystyle \sum _{j=1}^{K}(-1)^{j-1}S_{j}\leq \mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\right)=\sum _{j=1}^{n}(-1)^{j-1}S_{j}}

holds.

The equalities follow from the inclusion–exclusion principle, and Boole's inequality is the special case of K = 1 {\displaystyle K=1} .

Proof for odd K

Let E = ⋂ i = 1 n B i {\displaystyle E=\bigcap _{i=1}^{n}B_{i}} , where B i ∈ { A i , A i c } {\displaystyle B_{i}\in \{A_{i},A_{i}^{c}\}} for each i = 1 , … , n {\displaystyle i=1,\dots ,n} . These such E {\displaystyle E} partition the sample space, and for each E {\displaystyle E} and every i {\displaystyle i} , E {\displaystyle E} is either contained in A i {\displaystyle A_{i}} or disjoint from it.

If E = ⋂ i = 1 n A i c {\displaystyle E=\bigcap _{i=1}^{n}A_{i}^{c}} , then E {\displaystyle E} contributes 0 to both sides of the inequality.

Otherwise, assume E {\displaystyle E} is contained in exactly L {\displaystyle L} of the A i {\displaystyle A_{i}} . Then E {\displaystyle E} contributes exactly P ( E ) {\displaystyle \mathbb {P} (E)} to the right side of the inequality, while it contributes

∑ j = 1 K ( − 1 ) j − 1 ( L j ) P ( E ) {\displaystyle \sum _{j=1}^{K}(-1)^{j-1}{L \choose j}\mathbb {P} (E)}

to the left side of the inequality. However, by Pascal's rule, this is equal to

∑ j = 1 K ( − 1 ) j − 1 ( ( L − 1 j − 1 ) + ( L − 1 j ) ) P ( E ) {\displaystyle \sum _{j=1}^{K}(-1)^{j-1}\left({L-1 \choose j-1}+{L-1 \choose j}\right)\mathbb {P} (E)}

which telescopes to

( 1 + ( L − 1 K ) ) P ( E ) ≥ P ( E ) {\displaystyle \left(1+{L-1 \choose K}\right)\mathbb {P} (E)\geq \mathbb {P} (E)}

Thus, the inequality holds for all events E {\displaystyle E} , and so by summing over E {\displaystyle E} , we obtain the desired inequality:

∑ j = 1 K ( − 1 ) j − 1 S j ≥ P ( ⋃ i = 1 n A i ) {\displaystyle \sum _{j=1}^{K}(-1)^{j-1}S_{j}\geq \mathbb {P} \left(\bigcup _{i=1}^{n}A_{i}\right)}

The proof for even K {\displaystyle K} is nearly identical.

Example

Suppose that you are estimating 5 parameters based on a random sample, and you can control each parameter separately. If you want your estimations of all five parameters to be good with a chance 95%, what should you do to each parameter?

Tuning each parameter's chance to be good to within 95% is not enough because "all are good" is a subset of each event "Estimate i is good". We can use Boole's Inequality to solve this problem. By finding the complement of event "all five are good", we can change this question into another condition:

P( at least one estimation is bad) = 0.05 ≤ P( A1 is bad) + P( A2 is bad) + P( A3 is bad) + P( A4 is bad) + P( A5 is bad)

One way is to make each of them equal to 0.05/5 = 0.01, that is 1%. In another word, you have to guarantee each estimate good to 99%( for example, by constructing a 99% confidence interval) to make sure the total estimation to be good with a chance 95%. This is called the Bonferroni Method of simultaneous inference.

See also

References

  1. ^ Boole, George (1847). The Mathematical Analysis of Logic. Philosophical Library. ISBN 9780802201546.
  2. ^ Casella, George; Berger, Roger L. (2002). Statistical Inference. Duxbury. pp. 11–13. ISBN 0-534-24312-6.
  3. ^ Venkatesh, Santosh (2012). The Theory of Probability. Cambridge University Press. pp. 94–99, 113–115. ISBN 978-0-534-24312-8.

Other related articles

This article incorporates material from Bonferroni inequalities on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.