Salta al contenuto
Note per Studenti Empirical and Equiprobable Measures Report

Empirical and Equiprobable Measures

In questa pagina 4

Choice of the probability measure PP

Probability theory (PT) does not suggest how to choose the probability measure PP: it only gives rules to operate with PP to compute the probability of the events of interest (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 →). Some common choices, often useful to model experiments with uncertain outcomes, are discussed here.

Empirical measure

Let (Ω,F)(\Omega,\mathcal F) be the sample space and σ\sigma-algebra chosen to represent the outcomes of the experiment to be modelled. Assume the experiment can be repeated nn times under similar conditions. Let ω1,ω2,…,ωn\omega_1,\omega_2,\dots,\omega_n be the observed outcomes in the nn trials. For any E∈FE\in\mathcal F let nEn_E be the number of observed outcomes among ω1,…,ωn\omega_1,\dots,\omega_n that belong to EE. The empirical measure, denoted P^n\hat P_n, is defined by P^n(E)≜nEn.\hat P_n(E) \triangleq \frac{n_E}{n}.

Remark. To assign P^n(E)\hat P_n(E) for all E∈FE\in\mathcal F it is enough to repeat the experiment nn times only once: the same sequence ω1,…,ωn\omega_1,\dots,\omega_n is used for all E∈FE\in\mathcal F.

Example 1. Ω={0,1}\Omega=\{0,1\} (toss of a coin). Toss the coin n=12n=12 times and observe the sequence 011011101011011011101011. For E={1}E=\{1\}: nE=n{1}=8n_E = n_{\{1\}} = 8, so P^12({1})=812=23,P^12({0})=412=13.\hat P_{12}(\{1\}) = \frac{8}{12} = \frac23,\qquad \hat P_{12}(\{0\}) = \frac{4}{12} = \frac13.

Of course it is not enough to call a map "empirical probability" to make it a probability: we must check that P^n\hat P_n is indeed a probability measure.

P^n\hat P_n satisfies the probability axioms.

  • (i) P^n(E)≥0\hat P_n(E)\ge0, trivial since P^n(E)=nE/n\hat P_n(E)=n_E/n with nE,n≥0n_E,n\ge0.
  • (ii) P^n(Ω)=1\hat P_n(\Omega)=1: indeed nΩ=nn_\Omega=n since all outcomes ω1,…,ωn∈Ω\omega_1,\dots,\omega_n\in\Omega.
  • (iii) If {Ei}\{E_i\} are disjoint sets and E=⋃iEiE=\bigcup_i E_i, then nE=∑inEin_E=\sum_i n_{E_i}, since each outcome ω1,…,ωn\omega_1,\dots,\omega_n can belong to only one of the EiE_i. It follows that P^n(E)=P^n(⋃iEi)=nEn=∑inEin=∑inEin=∑iP^n(Ei). □\hat P_n(E) = \hat P_n\Big(\bigcup_iE_i\Big) = \frac{n_E}{n} = \frac{\sum_i n_{E_i}}{n} = \sum_i \frac{n_{E_i}}{n} = \sum_i\hat P_n(E_i).\ \square

Example 2. Ω=[0,1]2\Omega=[0,1]^2, elementary outcomes ω=(x,y)\omega=(x,y) with 0≤x,y≤10\le x,y\le1. Repeat the experiment nn times, observe ω1,…,ωn\omega_1,\dots,\omega_n and for any E⊂ΩE\subset\Omega let P^n(E)=nE/n\hat P_n(E)=n_E/n. In the figure n=8n=8 points are scattered in the unit square and 4 of them fall in a region AA, so P^8(A)=4/8=1/2\hat P_8(A)=4/8=1/2.

Problems with the empirical measure

P^n\hat P_n depends strongly on the sequence of nn trials that produced the observed outcomes ω1,…,ωn\omega_1,\dots,\omega_n. Repeating the nn trials gives in general different outcomes and the measure changes. Sometimes, when nn grows to +∞+\infty, the empirical measure stabilizes: recording the outcomes of nn trials (nn large) several times and computing each time P^n(E)\hat P_n(E) for a given EE, one gets numbers very close to each other. Even with these problems the empirical measure is widely used, especially in social, economic and health studies.

The case of discrete sample spaces

When Ω\Omega is discrete (i.e. ∣Ω∣|\Omega| is finite or ∣Ω∣=∣N∣|\Omega|=|\mathbb N| is countable) its elements can be listed: Ω={ω1,…,ωN}  if ∣Ω∣=N finite,Ω={ω1,ω2,ω3,… }  if ∣Ω∣=∣N∣.\Omega=\{\omega_1,\dots,\omega_N\}\ \text{ if } |\Omega|=N \text{ finite},\qquad \Omega=\{\omega_1,\omega_2,\omega_3,\dots\}\ \text{ if } |\Omega|=|\mathbb N|. In this case it is always possible to choose F=P(Ω)\mathcal F=\mathcal P(\Omega), and PP is completely specified by its values on the elementary outcomes: for any E⊂ΩE\subset\Omega, E=⋃ωi∈E{ωi} (disjoint decomposition),P(E)=P(⋃ωi∈E{ωi})=∑ωi∈EP({ωi}).E=\bigcup_{\omega_i\in E}\{\omega_i\}\ \text{(disjoint decomposition)},\qquad P(E)=P\Big(\bigcup_{\omega_i\in E}\{\omega_i\}\Big)=\sum_{\omega_i\in E}P(\{\omega_i\}).

Remark. This works because Ω\Omega is discrete. If Ω\Omega has uncountably many elements, σ\sigma-additivity does not work on sets EE with uncountably many elements.

For Ω\Omega finite, Ω={ω1,…,ωN}\Omega=\{\omega_1,\dots,\omega_N\}, it is enough to assign N−1N-1 probabilities, e.g. P({ω1}),…,P({ωN−1})P(\{\omega_1\}),\dots,P(\{\omega_{N-1}\}), to specify PP completely, since P({ωN})=1−∑i=1N−1P({ωi})P(\{\omega_N\}) = 1-\sum_{i=1}^{N-1}P(\{\omega_i\}).

The case of Ω\Omega finite and equiprobable PP

This choice is often (but not always) reasonable for finite Ω\Omega. If Ω={ω1,…,ωN}\Omega=\{\omega_1,\dots,\omega_N\} the equiprobable measure is P({ωi})=constant=1∣Ω∣=1Nfor all ωi∈Ω.P(\{\omega_i\}) = \text{constant} = \frac1{|\Omega|}=\frac1N\quad\text{for all }\omega_i\in\Omega. It follows that for any E⊂ΩE\subset\Omega P(E)=∑ωi∈EP({ωi})=1N ∣E∣=∣E∣∣Ω∣.P(E)=\sum_{\omega_i\in E}P(\{\omega_i\}) = \frac1N\,|E| = \frac{|E|}{|\Omega|}. In elementary textbooks this measure is interpreted as P(E)=∣E∣∣Ω∣=favorable casesall cases.P(E)=\frac{|E|}{|\Omega|}=\frac{\text{favorable cases}}{\text{all cases}}.

Example 3 (not equiprobable). Three tosses of a coin, record the total number of heads: Ω={0,1,2,3}\Omega=\{0,1,2,3\}. The equiprobable probability on Ω\Omega is not a reasonable choice, since the outcome 33 occurs only if the sequence of tosses is 111111, whereas the outcome 22 occurs if the sequence is any of 110,101,011110,101,011.

Example 4. Three tosses of a coin, record the three outcomes: Ω={000,001,010,100,011,101,110,111}\Omega=\{000,001,010,100,011,101,110,111\}. If the coin is balanced it is reasonable to assume that the 8 elementary outcomes are equiprobable, P({ωi})=1/8P(\{\omega_i\})=1/8 for i=1,…,8i=1,\dots,8. Let Ei=E_i= "exactly ii heads occur in the 3 tosses", i=0,1,2,3i=0,1,2,3:

E0={000}, E1={001,010,100}, E2={011,101,110}, E3={111},E_0=\{000\},\ E_1=\{001,010,100\},\ E_2=\{011,101,110\},\ E_3=\{111\}, P(E0)=∣E0∣∣Ω∣=18,P(E1)=38,P(E2)=38,P(E3)=18.P(E_0)=\frac{|E_0|}{|\Omega|}=\frac18,\quad P(E_1)=\frac38,\quad P(E_2)=\frac38,\quad P(E_3)=\frac18.

So the total number of heads, which has the non-equiprobable values 1/8,3/8,3/8,1/81/8,3/8,3/8,1/8 in Example 3, is obtained by counting sequences in the equiprobable space of Example 4.

Example 5. Fifty tosses of a coin with Ω={0,1}50\Omega=\{0,1\}^{50} and equiprobable measure PP. If Ei≜E_i\triangleq "exactly ii heads", compute P(E34)=∣E34∣/∣Ω∣P(E_{34})=|E_{34}|/|\Omega|. The problem is to evaluate cardinalities: this is the task of the counting techniques in Counting PrinciplesCounting finite sets rests on the addition principle for disjoint sets and the multiplication principle for staged procedures, which requires a constant number of outcomes at each stage and distinct composite outcomes.Counting Principles →, Sampling and Allocation ProblemsCounting problems are modelled either as drawing balls from an urn (sampling) or as placing tokens into cells (allocation), leading to dispositions with and without repetition, permutations and combinations without repetition.Sampling and Allocation Problems → and Binomial CoefficientsBinomial coefficients count the k-element subsets of an n-element set, satisfy the symmetry and Pascal recursion, and combined with equiprobable measures they give probabilities such as team selection, train boarding and urn draws.Binomial Coefficients → (there it is shown that the number of sequences of nn bits containing kk ones is (nk)\binom nk, so here ∣E34∣=(5034)|E_{34}|=\binom{50}{34} and ∣Ω∣=250|\Omega|=2^{50}).

Versione ripasso

  • PT does not tell how to choose PP; it only gives rules to compute with it.
  • Empirical measure: after nn trials ω1,…,ωn\omega_1,\dots,\omega_n, P^n(E)=nE/n\hat P_n(E)=n_E/n (nEn_E = number of outcomes in EE). It is a probability measure: P^n≥0\hat P_n\ge0, P^n(Ω)=1\hat P_n(\Omega)=1, additive since each ωj\omega_j lies in at most one of disjoint EiE_i. Example: sequence 011011101011011011101011 gives P^12({1})=8/12=2/3\hat P_{12}(\{1\})=8/12=2/3.
  • Problem: P^n\hat P_n changes with the sequence of trials; it may stabilise for large nn. Widely used in social, economic and health studies.
  • Discrete Ω\Omega (finite or countable): take F=P(Ω)\mathcal F=\mathcal P(\Omega); P(E)=∑ωi∈EP({ωi})P(E)=\sum_{\omega_i\in E}P(\{\omega_i\}). For ∣Ω∣=N|\Omega|=N only N−1N-1 probabilities are free. Fails for uncountable Ω\Omega.
  • Equiprobable measure: P({ωi})=1/∣Ω∣P(\{\omega_i\})=1/|\Omega|, hence P(E)=∣E∣/∣Ω∣P(E)=|E|/|\Omega| (favourable over all cases). Not always reasonable: the number of heads in 3 tosses (Ω={0,1,2,3}\Omega=\{0,1,2,3\}) is not equiprobable (1/8,3/8,3/8,1/81/8,3/8,3/8,1/8), while the 8 sequences are.
  • 50 tosses: P(E34)=∣E34∣/250P(E_{34})=|E_{34}|/2^{50}, a counting problem.
  • Typical mistake: using equiprobability on the wrong sample space.

Teoria collegata