Salta al contenuto
Note per Studenti Independence of Events Report

Independence of Events

In questa pagina 5

Pairs of independent events

Definition. The pair of events E,F∈FE,F\in\mathcal F is said to be independent if P(E∩F)=P(E)P(F).P(E\cap F)=P(E)P(F).

Remarks.

  1. The notion applies to the pair {E,F}\{E,F\}; with abuse of language one often says "EE and FF are independent events".
  2. To denote that {E,F}\{E,F\} is an independent pair one writes E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F.
  3. E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F is a probabilistic notion: it depends on PP. Do not confuse it with E∩F=∅E\cap F=\varnothing, which is only set-theoretic.
  4. Events of strictly positive probability that are disjoint cannot be independent: if E∩F=∅E\cap F=\varnothing with P(E)>0P(E)>0 and P(F)>0P(F)>0 then P(E∩F)=0≠P(E)P(F)P(E\cap F)=0\neq P(E)P(F).
  5. Example: Ω=[0,1]2\Omega=[0,1]^2 (unit square) with P(E)=P(E)= area of EE for E⊂[0,1]2E\subset[0,1]^2. Then A=[α,β]×[0,1]A=[\alpha,\beta]\times[0,1] (vertical strip) and B=[0,1]×[γ,δ]B=[0,1]\times[\gamma,\delta] (horizontal strip) are independent: P(A∩B)=(β−α)(δ−γ)=P(A)P(B)P(A\cap B)=(\beta-\alpha)(\delta-\gamma)=P(A)P(B).

Example (coin and die). Toss a coin and a die at the same time: Ω={T1,…,T6,H1,…,H6}\Omega=\{T1,\dots,T6,H1,\dots,H6\} with equiprobable measure. E=E= "HH occurs on the coin", F=F= "4 occurs on the die". Then E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F indeed: P(E)=612=12P(E)=\frac6{12}=\frac12, P(F)=P({T4,H4})=212=16P(F)=P(\{T4,H4\})=\frac2{12}=\frac16, P(E∩F)=P({H4})=112=P(E)P(F)P(E\cap F)=P(\{H4\})=\frac1{12}=P(E)P(F).

Example (draws without replacement are not independent). An urn contains bb black and rr red balls, drawn without replacement (the page renames the draws e1,e2e_1,e_2). Then P([e1=r])=rr+bP([e_1=r])=\frac r{r+b} and P([e2=r])=P([e2=r]∣[e1=r])P([e1=r])+P([e2=r]∣[e1=b])P([e1=b])=r−1r+b−1⋅rr+b+rr+b−1⋅br+b=rr+b.P([e_2=r])=P([e_2=r]\mid[e_1=r])P([e_1=r])+P([e_2=r]\mid[e_1=b])P([e_1=b])=\frac{r-1}{r+b-1}\cdot\frac r{r+b}+\frac r{r+b-1}\cdot\frac b{r+b}=\frac r{r+b}. But P([e1=r]∩[e2=r])=r(r−1)(r+b)(r+b−1)≠(rr+b)2,P([e_1=r]\cap[e_2=r])=\frac{r(r-1)}{(r+b)(r+b-1)}\neq\Big(\frac r{r+b}\Big)^2, so the events are not independent. (The page writes the denominator as b(b−1)b(b-1), which is a slip for (r+b)(r+b−1)(r+b)(r+b-1), the number of dispositions of two balls out of r+br+b.)

Exercise (mandatory, on the page). Check that if the drawing is done with replacement the events [e1=red][e_1=\text{red}] and [e2=red][e_2=\text{red}] are independent.

Example (two dice). Roll two regular dice: Ω={1,…,6}2\Omega=\{1,\dots,6\}^2 with equiprobable measure. E=E= [die I shows a 4], F=F= [the sum of the two dice is 7], G=G= [the sum is 9]. Show that E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F but E̸ ⁣⊥ ⁣ ⁣ ⁣⊥GE\not\!\perp\!\!\!\perp G. In the 6×66\times6 table: P(E)=636=16P(E)=\frac6{36}=\frac16, P(F)=636=16P(F)=\frac6{36}=\frac16, P(G)=436=19P(G)=\frac4{36}=\frac19, P(E∩F)=136P(E\cap F)=\frac1{36} (only (4,3)(4,3)), P(E∩G)=136P(E\cap G)=\frac1{36} (only (4,5)(4,5)). Hence P(E∩F)=136=P(E)P(F)⇒E⊥ ⁣ ⁣ ⁣⊥F,P(E∩G)=136≠P(E)P(G)=16⋅19⇒E̸ ⁣⊥ ⁣ ⁣ ⁣⊥G.P(E\cap F)=\frac1{36}=P(E)P(F)\Rightarrow E\perp\!\!\!\perp F,\qquad P(E\cap G)=\frac1{36}\neq P(E)P(G)=\frac16\cdot\frac19\Rightarrow E\not\!\perp\!\!\!\perp G. The example clearly shows that intuition is not a very useful guide when it comes to verifying independence of events.

Consequences of independence

(a) {∅,E}\{\varnothing,E\} for any E∈FE\in\mathcal F is an independent pair under any measure PP: P(∅∩E)=P(∅)=0=P(∅)P(E)P(\varnothing\cap E)=P(\varnothing)=0=P(\varnothing)P(E).

(b) {Ω,E}\{\Omega,E\} for any E∈FE\in\mathcal F is independent for all PP: P(Ω∩E)=P(E)=P(Ω)P(E)P(\Omega\cap E)=P(E)=P(\Omega)P(E).

(c) Lemma. If P(E)>0P(E)>0 and P(F)>0P(F)>0 the following facts are equivalent:

  • (i) E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F;
  • (ii) P(E∣F)=P(E)P(E\mid F)=P(E);
  • (iii) P(F∣E)=P(F)P(F\mid E)=P(F);
  • (iv) P(E∣F)=P(E∣Fc)P(E\mid F)=P(E\mid F^c).

Proof. (i)⇒\Rightarrow(ii): P(E∣F)=P(E∩F)P(F)=P(E)P(F)P(F)=P(E)P(E\mid F)=\frac{P(E\cap F)}{P(F)}=\frac{P(E)P(F)}{P(F)}=P(E) (definition, then assumption (i)).

(ii)⇒\Rightarrow(i): P(E∩F)=P(E∣F)P(F)=P(E)P(F)P(E\cap F)=P(E\mid F)P(F)=P(E)P(F) (multiplication formula, then assumption (ii)).

By symmetry this also proves (i)⇔\Leftrightarrow(iii).

(ii)⇒\Rightarrow(iv): by (ii) P(E∣F)=P(E)=P(E∣F)P(F)+P(E∣Fc)P(Fc)P(E\mid F)=P(E)=P(E\mid F)P(F)+P(E\mid F^c)P(F^c) (law of total probability, see Law of Total Probability and Bayes' RuleThe law of total probability computes P(E) by averaging conditional probabilities over a partition, and Bayes' rule inverts the conditioning to obtain posterior probabilities, as in the interpretation of diagnostic tests.Law of Total Probability and Bayes' Rule →); therefore (1−P(F))P(E∣F)=P(E∣Fc)P(Fc)(1-P(F))P(E\mid F)=P(E\mid F^c)P(F^c), i.e. P(Fc)P(E∣F)=P(E∣Fc)P(Fc)P(F^c)P(E\mid F)=P(E\mid F^c)P(F^c), and dividing by P(Fc)>0P(F^c)>0 gives (iv).

(iv)⇒\Rightarrow(ii): left as an exercise. □\square

(d) Lemma. The following facts are equivalent: (i) E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F, (ii) Ec⊥ ⁣ ⁣ ⁣⊥FE^c\perp\!\!\!\perp F, (iii) Ec⊥ ⁣ ⁣ ⁣⊥FcE^c\perp\!\!\!\perp F^c, (iv) E⊥ ⁣ ⁣ ⁣⊥FcE\perp\!\!\!\perp F^c.

Proof. (i)⇒\Rightarrow(ii): P(Ec∩F)=P(F)−P(E∩F)P(E^c\cap F)=P(F)-P(E\cap F) (always) =P(F)−P(E)P(F)=P(F)-P(E)P(F) (by (i)) =(1−P(E))P(F)=P(Ec)P(F)=(1-P(E))P(F)=P(E^c)P(F).

(ii)⇒\Rightarrow(iii): P(Ec∩Fc)=P(Ec)−P(Ec∩F)=P(Ec)−P(Ec)P(F)=P(Ec)P(Fc)P(E^c\cap F^c)=P(E^c)-P(E^c\cap F)=P(E^c)-P(E^c)P(F)=P(E^c)P(F^c).

(iii)⇒\Rightarrow(iv) and (iv)⇒\Rightarrow(i): left as exercises. □\square

Empirical interpretation of independence

Under the empirical measure P^n\hat P_n (see Empirical and Equiprobable MeasuresProbability theory does not say how to choose P; two common choices are the empirical measure built from repeated trials and, on a finite sample space, the equiprobable measure P(E) = favourable cases over all cases.Empirical and Equiprobable Measures →) the condition P^n(E∣F)=P^n(E)\hat P_n(E\mid F)=\hat P_n(E) is equivalent to E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F. Since P^n(E∣F)=P^n(E∩F)P^n(F)=nE∩Fn⋅nnF=nE∩FnF,P^n(E)=nEn,\hat P_n(E\mid F)=\frac{\hat P_n(E\cap F)}{\hat P_n(F)}=\frac{n_{E\cap F}}n\cdot\frac n{n_F}=\frac{n_{E\cap F}}{n_F},\qquad\hat P_n(E)=\frac{n_E}n, the condition for independence is nE∩FnF=nEn\dfrac{n_{E\cap F}}{n_F}=\dfrac{n_E}n, equivalently nE∩Fn=nEn⋅nFn\dfrac{n_{E\cap F}}n=\dfrac{n_E}n\cdot\dfrac{n_F}n. Again equivalently, the empirical independence of E,FE,F holds iff det⁡∣nE∩FnE∩FcnEc∩FnEc∩Fc∣=0(an exercise on the page).\det\begin{vmatrix}n_{E\cap F}&n_{E\cap F^c}\\n_{E^c\cap F}&n_{E^c\cap F^c}\end{vmatrix}=0\qquad(\text{an exercise on the page}). Compare with the effectiveness criterion for the drug (determinant >0>0) in Conditional ProbabilityThe conditional probability P(E|F) = P(E and F)/P(F) updates the probability of E after learning that F occurred; it is itself a probability measure and yields the multiplication formula for intersections.Conditional Probability →.

Independent families of events

Definition (for 3 events). {E1,E2,E3}\{E_1,E_2,E_3\} is an independent triple if

  • (i) Ei⊥ ⁣ ⁣ ⁣⊥EjE_i\perp\!\!\!\perp E_j for all i≠ji\neq j;
  • (ii) P(E1∩E2∩E3)=P(E1)P(E2)P(E3)P(E_1\cap E_2\cap E_3)=P(E_1)P(E_2)P(E_3).

Remark. Conditions (i) and (ii) are unrelated: there are triples satisfying (i) but not (ii), and triples satisfying (ii) but not (i). To be useful, the notion of independence for 3 events must satisfy both, because only then the generalization of Lemma (d) holds for 3 events.

Lemma. The following facts are equivalent: (i) {E1,E2,E3}\{E_1,E_2,E_3\} independent, (ii) {E1c,E2,E3}\{E_1^c,E_2,E_3\}, (iii) {E1,E2c,E3}\{E_1,E_2^c,E_3\}, (iv) {E1c,E2c,E3}\{E_1^c,E_2^c,E_3\}, (v) {E1,E2,E3c}\{E_1,E_2,E_3^c\}, (vi) {E1c,E2,E3c}\{E_1^c,E_2,E_3^c\}, (vii) {E1,E2c,E3c}\{E_1,E_2^c,E_3^c\}, (viii) {E1c,E2c,E3c}\{E_1^c,E_2^c,E_3^c\} (each one independent; replacing any subset of the events by their complements preserves independence).

Exercise: the forlorn hope

A forlorn-hope mission is organised. The soldier who will sacrifice his life is the one who draws the short straw from a set of nn straws (n−1n-1 long, 1 short). Each soldier selects a straw in turn. Is it better to select the straw at the beginning or towards the end? P(k-th draw is short)=#dispositions with k-th draw short#dispositions=(n−1)!n!=1n,P(k\text{-th draw is short})=\frac{\#\text{dispositions with }k\text{-th draw short}}{\#\text{dispositions}}=\frac{(n-1)!}{n!}=\frac1n, which does not depend on kk. But P(k-th draw short∣first k−1 long)=1n−k+1→k→n1.P(k\text{-th draw short}\mid\text{first }k-1\text{ long})=\frac1{n-k+1}\xrightarrow[k\to n]{}1. Back to the motivating urn (80 black, 20 red, without replacement; Conditional ProbabilityThe conditional probability P(E|F) = P(E and F)/P(F) updates the probability of E after learning that F occurred; it is itself a probability measure and yields the multiplication formula for intersections.Conditional Probability →): P(k-th draw red)=20×99!100!=20100,P(k\text{-th draw red})=\frac{20\times99!}{100!}=\frac{20}{100}, independent of kk (20 choices for the kk-th draw, 99!99! arrangements of the others). The unconditional probability does not depend on the position, even though the draws are not independent.

Versione ripasso

  • Definition: E⊥ ⁣ ⁣ ⁣⊥FE\perp\!\!\!\perp F iff P(E∩F)=P(E)P(F)P(E\cap F)=P(E)P(F). A probabilistic notion (depends on PP), not the same as E∩F=∅E\cap F=\varnothing. Disjoint events with positive probability are never independent.
  • {∅,E}\{\varnothing,E\} and {Ω,E}\{\Omega,E\} are independent for every PP.
  • Lemma (c), for P(E),P(F)>0P(E),P(F)>0: E⊥ ⁣ ⁣ ⁣⊥F  ⟺  P(E∣F)=P(E)  ⟺  P(F∣E)=P(F)  ⟺  P(E∣F)=P(E∣Fc)E\perp\!\!\!\perp F\iff P(E\mid F)=P(E)\iff P(F\mid E)=P(F)\iff P(E\mid F)=P(E\mid F^c).
  • Lemma (d): E⊥ ⁣ ⁣ ⁣⊥F  ⟺  Ec⊥ ⁣ ⁣ ⁣⊥F  ⟺  Ec⊥ ⁣ ⁣ ⁣⊥Fc  ⟺  E⊥ ⁣ ⁣ ⁣⊥FcE\perp\!\!\!\perp F\iff E^c\perp\!\!\!\perp F\iff E^c\perp\!\!\!\perp F^c\iff E\perp\!\!\!\perp F^c (e.g. P(Ec∩F)=P(F)−P(E)P(F)=P(Ec)P(F)P(E^c\cap F)=P(F)-P(E)P(F)=P(E^c)P(F)).
  • Empirical: independent iff nE∩F/nF=nE/nn_{E\cap F}/n_F=n_E/n iff det⁡∣nE∩FnE∩FcnEc∩FnEc∩Fc∣=0\det\begin{vmatrix}n_{E\cap F}&n_{E\cap F^c}\\n_{E^c\cap F}&n_{E^c\cap F^c}\end{vmatrix}=0.
  • Triple {E1,E2,E3}\{E_1,E_2,E_3\}: pairwise independent AND P(E1∩E2∩E3)=P(E1)P(E2)P(E3)P(E_1\cap E_2\cap E_3)=P(E_1)P(E_2)P(E_3); the two conditions are unrelated, both are needed; then any complements may replace the events.
  • Examples: coin and die independent; two dice: sum 7 independent of "die I = 4", sum 9 is not (136≠16⋅19\frac1{36}\neq\frac16\cdot\frac19); draws without replacement: P(e1=r,e2=r)≠P(e1=r)P(e2=r)P(e_1=r,e_2=r)\neq P(e_1=r)P(e_2=r); with replacement they are independent.
  • Straws: P(k-th short)=1/nP(k\text{-th short})=1/n for every kk, but P(k-th short∣first k−1 long)=1/(n−k+1)P(k\text{-th short}\mid\text{first }k-1\text{ long})=1/(n-k+1).
  • Typical mistakes: confusing disjoint with independent; trusting intuition instead of checking P(E∩F)=P(E)P(F)P(E\cap F)=P(E)P(F); checking only pairwise independence for three events.