I - Computational simplifications
Example. P(A)=0.3, P(B)=0.5. Compute P(A∪B).
Solution. The problem cannot be solved in general, but under the assumption that A and B are independent,
P(A∪B)=P(A)+P(B)−P(A∩B)=P(A)+P(B)−P(A)P(B)=0.3+0.5−0.15=0.65.
(The numerical value follows from the formula with the given data.)
Example. Let A,B,C be events in F with P(A)=21, P(B)=31, P(C)=41. Compute the probability that only one of the three events occurs.
Again this computation cannot be completed with the available data, but if {A,B,C} is an independent triple the computation becomes very simple. Let E = "only one event occurs":
E=(A∩Bc∩Cc)∪(Ac∩B∩Cc)∪(Ac∩Bc∩C)(disjoint union).
Then
P(E)=P(A)(1−P(B))(1−P(C))+(1−P(A))P(B)(1−P(C))+(1−P(A))(1−P(B))P(C),
(the page writes the first two terms and then "etc."; the third is the analogous one). With the given numbers (computed here, not on the page): 21⋅32⋅43+21⋅31⋅43+21⋅32⋅41=41+81+121=2411.
II - Construction of probability measures
We discuss ways to construct probability measures on the sample space
Ω={0,1}n={(b1,b2,…,bn):bi∈{0,1}}.
This is the sample space of the possible outcomes of n tosses of a coin, or equivalently of all possible bit-streams of length n.
(a) The equiprobable measure
The equiprobable measure P on Ω assigns probability
P({ω})=∣Ω∣1=2n1to every ω=(b1,…,bn)∈Ω.
It has an interesting interpretation. Let
[ek=1]={ω∈Ω:bk=1},
the event of Ω made of all the n-bit sequences whose k-th bit is 1. (For k=1 this is the sequences whose first bit is 1.)
- ∣[ek=1]∣=2n−1 for every k, since one bit is fixed and n−1 are free. Therefore
P([ek=1])=∣Ω∣∣[ek=1]∣=2n2n−1=21k=1,2,…,n.
- For k=h, ∣[ek=1]∩[eh=1]∣=2n−2, since two bits are fixed (positions h and k) and all the others are free. Therefore
P([ek=1]∩[eh=1])=2n2n−2=41.
- In general, for any distinct k1,k2,…,kr with r=2,…,n,
P([ek1=1]∩[ek2=1]∩⋯∩[ekr=1])=2r1.
This is equivalent to two facts:
- the family of events {[e1=1],…,[en=1]} is independent for P;
- the events [ek=1] are equiprobable, with P([ek=1])=21 for k=1,…,n.
By the properties of independent families (replacing an event of an independent family by its complement keeps the family independent), any n-tuple of events
[e1=b1],[e2=b2],…,[en=bn],b1,…,bn∈{0,1},
is an independent family, since [ek=bk] either coincides with [ek=1] or is [ek=0]=[ek=1]c. The conclusion is that for ω=(b1,…,bn)
P({ω})=P(t=1⋂n[et=bt])=t=1∏nP([et=bt])=2n1.
Lemma. Let Q be a measure on Ω={0,1}n satisfying
- Q([et=1])=21 for all t=1,2,…,n;
- the family of events {[et=1], t=1,…,n} is independent under Q.
Then for any ω∈Ω, Q({ω})=2n1, i.e. Q coincides with the equiprobable measure.
Proof. Q({ω})=Q(⋂t=1n[et=bt])=∏t=1nQ([et=bt])=2n1. □
(b) The binomial measures Pp
We now define a family of probability measures on Ω={0,1}n.
Definition. The measure Pp on Ω={0,1}n is completely specified by the following two constraints:
- Pp([et=1])=p with p∈[0,1] assigned, for all t=1,2,…,n;
- the family of events {[et=1], t=1,…,n} is independent under Pp.
Remark. To each p∈[0,1] corresponds one distinct measure Pp. The equiprobable measure corresponds to p=21.
To specify Pp completely it is enough to compute Pp({ω}) for all ω=(b1,…,bn)∈Ω. By constraints 1 and 2, and recalling that Pp([et=0])=1−Pp([et=1])=1−p,
Pp({ω})=Pp(t=1⋂n[et=bt])=Pp([e1=b1])×⋯×Pp([en=bn])=pn1(1−p)n−n1,
where n1=∑t=1nbt is the number of bits equal to 1 in (b1,…,bn).
Notice that Pp is not an equiprobable measure if p=21, since the ω's with a different number of bits 1 get assigned different probabilities.
Let now Ek={ω∈Ω:n1=k} be the event containing all the sequences with exactly k bits equal to 1. All the sequences in Ek are equiprobable, with probability pk(1−p)n−k, hence Pp(Ek)=∣Ek∣pk(1−p)n−k, i.e.
Pp(Ek)=(kn)pk(1−p)n−k,k=0,1,…,n.
Since (Ek)k=0n is a partition of Ω={0,1}n one must have ∑k=0nPp(Ek)=1, and indeed
k=0∑nPp(Ek)=k=0∑n(kn)pk(1−p)n−k=(p+(1−p))n=1.
The binomial model
The measure Pp is a reasonable model when:
- the experiment to model probabilistically can be repeated n times in identical conditions;
- each trial has two possible outcomes, coded {0,1};
- the trials do not influence each other;
- the probability P([et=1])=p does not depend on t=1,2,…,n.
Under these conditions it is reasonable to model the experiment by choosing the measure Pp on Ω={0,1}n, where p=P([et=1]), t=1,…,n.
Example (ISP). An ISP has 20 data lines and 24 users. Let [ui=1] = "user i is connected to the ISP", i=1,2,…,24, and let P([ui=1])=0.8.
The experiment satisfies the conditions of the binomial model: there are n=24 trials, each has two outcomes (connected / not connected), the probability of "connected" is constant over the n trials, and the connections do not influence each other. The probability of saturation of the ISP (more customers connected than lines) is
P(saturation)=P(E21∪E22∪E23∪E24)=k=21∑24(k24)0.8k0.224−k.
Optimization of the sales. The same model allows one to maximise the number of customers M while guaranteeing a preassigned low probability of saturation. Find
max{M:k=21∑M(kM)0.8k0.2M−k≤0.05}.
Airlines face the same problem in the management of overbooking.
Versione ripasso
Simplifications. Under independence of A,B: P(A∪B)=P(A)+P(B)−P(A)P(B). For an independent triple, "only one occurs" is a disjoint union of three events, e.g. P(A)(1−P(B))(1−P(C))+… (with 21,31,41 it gives 2411).
Equiprobable measure on {0,1}n. P({ω})=2−n. Then P([ek=1])=21 and P([ek1=1]∩⋯∩[ekr=1])=2−r: the events [ek=1] are independent and equiprobable. Lemma: conversely any Q with Q([et=1])=21 and independent [et=1] is the equiprobable measure ([et=bt] is [et=1] or its complement).
Binomial measure Pp. Defined by Pp([et=1])=p and independence. Then
Pp({ω})=pn1(1−p)n−n1,n1=# of 1s;Pp(Ek)=(kn)pk(1−p)n−k.
p=21 gives the equiprobable measure; for p=21 it is not equiprobable. The Ek partition Ω, and ∑kPp(Ek)=(p+1−p)n=1.
Binomial model: n identical repeatable trials, two outcomes, no mutual influence, constant p.
ISP example: n=24, p=0.8, 20 lines: P(saturation)=∑k=2124(k24)0.8k0.224−k; overbooking: largest M keeping this sum at most 0.05.
Typical mistake: using Pp when the trials influence each other or p changes with t.