Salta al contenuto
Note per Studenti Sample Spaces and Events Report

Sample Spaces and Events

In questa pagina 7

Probability space

Definition 1 (probability space). A probability space S\mathcal S is a triple S=(Ω,F,P)\mathcal S = (\Omega, \mathcal F, P) where

The sample space Ω\Omega

In the abstract theory Ω\Omega is simply a set. In applications its elements, called outcomes, represent the possible outcomes of the experiment being modelled.

Warning. One does not know the outcome of the experiment before performing it, but the set of all possible outcomes is known.

Examples of experiments E\mathcal E and sample spaces Ω\Omega

  1. E\mathcal E = coin tossing: Ω={T,H}\Omega = \{T,H\} (tails, heads), or with the correspondence H=1H=1, T=0T=0, Ω={0,1}\Omega = \{0,1\}.
  2. E\mathcal E = toss a coin 3 times and record the number of HH: Ω={0,1,2,3}\Omega = \{0,1,2,3\}.
  3. E\mathcal E = toss a coin 3 times and record the sequence: Ω={000,001,010,100,011,101,110,111}\Omega = \{000,001,010,100,011,101,110,111\}.
  4. E\mathcal E = toss a coin until the first head and record the number of throws: Ω={1,2,3,… }=N\Omega = \{1,2,3,\dots\} = \mathbb N.
  5. E\mathcal E = length of life of a hard disk: Ω=R+=[0,∞)\Omega = \mathbb R_+ = [0,\infty).
  6. E\mathcal E = health study recording height, age, sex: Ω=R+×N×{0,1}\Omega = \mathbb R_+ \times \mathbb N \times \{0,1\}.
  7. E\mathcal E = record the temperature at a weather station over a day: Ω={f:[0,24]→R+}\Omega = \{f : [0,24] \to \mathbb R_+\}.

Remarks.

  • Ω\Omega is not necessarily a numerical set.
  • Ω\Omega can have finitely many elements (examples 1, 2, 3), or infinitely (countably) many (example 4), or infinitely (uncountably) many (examples 5, 6, 7). The notes add that example 7 actually has RR\mathbb R^{\mathbb R} elements.
  • In the first part of the course only sample spaces with finitely many elements are treated.

Terminology

Example. In sample space (3), three tosses of a coin, take the event E={001,010,100,000}="at least 2 tails"E = \{001,010,100,000\} = \text{"at least 2 tails"} (with T=0T=0). If after the experiment the outcome is ω=011\omega = 011, then EE does not occur, since 011∉E011 \notin E.

Special events. ∅\varnothing (empty subset) is the impossible event, Ω\Omega (full set) is the certain event. ∅\varnothing never occurs, Ω\Omega always occurs.

Operations on events

Events are combined with the standard operations of set theory. For E,F⊂ΩE,F \subset \Omega:

  • EcE^c: complementary event;
  • E∩FE \cap F, or simply EFEF: intersection;
  • E∪FE \cup F: union.

Note that E∪Ec=ΩE \cup E^c = \Omega and E∩Ec=∅E \cap E^c = \varnothing. Moreover:

  • EcE^c occurs if and only if (iff) EE does not occur;
  • E∩FE \cap F occurs iff both EE and FF occur; if E∩F=∅E \cap F = \varnothing the events E,FE,F are called incompatible (disjoint);
  • E∪FE \cup F occurs iff EE or FF or both occur.

Recall the properties:

  • Distributivity: E∩(F∪G)=(E∩F)∪(E∩G)E \cap (F \cup G) = (E\cap F)\cup(E\cap G) and E∪(F∩G)=(E∪F)∩(E∪G)E \cup (F \cap G) = (E \cup F) \cap (E \cup G).
  • De Morgan's rules: (E∩F)c=Ec∪Fc(E \cap F)^c = E^c \cup F^c and (E∪F)c=Ec∩Fc(E \cup F)^c = E^c \cap F^c.

Notice that E∩F∪GE \cap F \cup G has no meaning: parentheses are necessary to interpret the last operation.

Two useful operations

  1. Difference event: E∖F≜E∩FcE \setminus F \triangleq E \cap F^c.
  2. Symmetric difference: E Δ F≜(E∖F)∪(F∖E)=(E∩Fc)∪(Ec∩F)E \,\Delta\, F \triangleq (E\setminus F)\cup(F\setminus E) = (E \cap F^c)\cup(E^c \cap F).

In a Venn diagram of two overlapping discs EE and FF, E∖FE\setminus F is the part of EE outside FF, F∖EF \setminus E is the part of FF outside EE, and EΔFE \Delta F is the union of the two crescents (everything in exactly one of the two discs).

Partition of Ω\Omega

The events {Ei}i=1n\{E_i\}_{i=1}^n form a partition of Ω\Omega if

  1. Ei∩Ej=∅E_i \cap E_j = \varnothing for i≠ji \neq j (mutually incompatible);
  2. ⋃i=1nEi=Ω\bigcup_{i=1}^n E_i = \Omega.

Examples.

  • Ω={000,001,010,100,011,101,110,111}\Omega = \{000,001,010,100,011,101,110,111\} and EiE_i = "exactly ii heads", i=0,1,2,3i = 0,1,2,3: E0={000}E_0 = \{000\}, E1={001,010,100}E_1 = \{001,010,100\}, etc. The events E0,…,E3E_0,\dots,E_3 form a partition of Ω\Omega.
  • For any given E⊂ΩE \subset \Omega, EE and EcE^c form a partition of Ω\Omega.

Decompositions into disjoint (incompatible) events

  1. For E,F⊂ΩE,F \subset \Omega, FF can always be decomposed as F=F∩Ω=F∩(E∪Ec)=(F∩E)∪(F∩Ec).F = F \cap \Omega = F \cap (E \cup E^c) = (F \cap E) \cup (F \cap E^c).
  2. More generally, if {Ei}i=1n\{E_i\}_{i=1}^n is a partition of Ω\Omega and F⊂ΩF \subset \Omega, F=F∩Ω=F∩(⋃iEi)=⋃i(F∩Ei).F = F \cap \Omega = F \cap \Big(\bigcup_i E_i\Big) = \bigcup_i (F \cap E_i).
  3. Disjoint decomposition of the union: E∪F=(E∖F)∪(E∩F)∪(F∖E)=(E∩Fc)∪(E∩F)∪(Ec∩F).E \cup F = (E \setminus F)\cup(E \cap F)\cup(F\setminus E) = (E\cap F^c)\cup(E\cap F)\cup(E^c\cap F).

These decompositions are used constantly to compute probabilities, since probabilities add over disjoint events (see Probability Measures and AxiomsA probability measure is a non-negative, normalised, sigma-additive map on the sigma-algebra of events; from the three axioms follow the complement rule, monotonicity, subadditivity and inclusion-exclusion, while the axioms do not determine P uniquely.Probability Measures and Axioms →).

Exercises on events

Let E,F,G⊂ΩE,F,G \subset \Omega be events.

  • (i) A≜A \triangleq "only EE occurs": A=E∖(F∪G)=E∩(F∪G)c=E∩Fc∩GcA = E \setminus (F \cup G) = E \cap (F\cup G)^c = E \cap F^c \cap G^c (no parentheses needed).
  • (ii) B≜B \triangleq "exactly one of E,F,GE,F,G occurs": B=(E∖(F∪G))∪(F∖(G∪E))∪(G∖(E∪F))=(E∩Fc∩Gc)∪(Ec∩F∩Gc)∪(Ec∩Fc∩G).B = \big(E\setminus(F\cup G)\big)\cup\big(F\setminus(G\cup E)\big)\cup\big(G\setminus(E\cup F)\big) = (E\cap F^c\cap G^c)\cup(E^c\cap F\cap G^c)\cup(E^c\cap F^c\cap G).
  • (iii) C≜C \triangleq at least one of E,F,GE,F,G occurs; (iv) D≜D \triangleq at most one of E,F,GE,F,G occurs; (v) H≜E Δ F Δ GH \triangleq E \,\Delta\, F \,\Delta\, G. These are listed in the notes as further exercises (no solution given).

Exercise (unions and intersections of intervals).

  • (i) ⋂n=1∞(−∞,1n]=(−∞,0]\bigcap_{n=1}^{\infty} (-\infty, \tfrac1n] = (-\infty, 0]
  • (ii) ⋂n=1∞[0,1n)={0}\bigcap_{n=1}^{\infty} [0, \tfrac1n) = \{0\}
  • (iii) ⋂n=1∞(0,1n)=∅\bigcap_{n=1}^{\infty} (0, \tfrac1n) = \varnothing
  • (iv) ⋃n=1∞(−∞,−1n)=(−∞,0)\bigcup_{n=1}^{\infty} (-\infty, -\tfrac1n) = (-\infty, 0)
  • (v) ⋃n=1∞(a+1n,b−1n)=⋃n=1∞[a+1n,b−1n]=(a,b)\bigcup_{n=1}^{\infty} (a+\tfrac1n, b-\tfrac1n) = \bigcup_{n=1}^{\infty} [a+\tfrac1n, b-\tfrac1n] = (a,b)
  • (vi) ⋂n=1∞(a−1n,b+1n)=[a,b]\bigcap_{n=1}^{\infty} (a-\tfrac1n, b+\tfrac1n) = [a,b]

These show that countable unions and intersections of intervals can produce intervals of a different type (open, closed, half-open, a point, the empty set).

Versione ripasso

  • Probability space S=(Ω,F,P)\mathcal S = (\Omega,\mathcal F,P): Ω≠∅\Omega \neq \varnothing sample space, F\mathcal F a sigma-algebrafamily of subsets closed under complement and countable intersectionsSigma-Algebras →, PP a probability measurenon-negative, normalised, additive over disjoint eventsProbability Measures and Axioms →.
  • Outcome ω∈Ω\omega\in\Omega; elementary event {ω}\{\omega\}; event E⊂ΩE\subset\Omega; EE occurs iff ω∈E\omega\in E. ∅\varnothing = impossible, Ω\Omega = certain.
  • EcE^c: EE does not occur; E∩FE\cap F: both; E∪FE\cup F: at least one; E∩F=∅E\cap F=\varnothing: incompatible.
  • E∖F=E∩FcE\setminus F=E\cap F^c; EΔF=(E∩Fc)∪(Ec∩F)E\Delta F=(E\cap F^c)\cup(E^c\cap F).
  • De Morgan: (E∩F)c=Ec∪Fc(E\cap F)^c=E^c\cup F^c, (E∪F)c=Ec∩Fc(E\cup F)^c=E^c\cap F^c.
  • Partition: pairwise disjoint events with union Ω\Omega. Then F=⋃i(F∩Ei)F=\bigcup_i (F\cap E_i) (disjoint). Also E∪F=(E∩Fc)∪(E∩F)∪(Ec∩F)E\cup F=(E\cap F^c)\cup(E\cap F)\cup(E^c\cap F).
  • "Only EE": E∩Fc∩GcE\cap F^c\cap G^c. "Exactly one of E,F,GE,F,G": union of the three such terms.
  • Ω\Omega need not be numerical; it can be finite, countable or uncountable.
  • Typical mistake: writing E∩F∪GE\cap F\cup G without parentheses.

Teoria collegata