Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2 Probability of An Event
3 Independent Events
Independent Events
S
6
4
an event
A={dice sum to 7}
3
die #2
1 2 3 4 5 6
Event: a subset of S
Elementary Event
Probability of An Event
n(A)
Relative frequency of an event A = n
n(A)
0≤ n ≤1
If A and B are disjoint events,
then n(A∪B)
n = n(A)
n + n
n(B)
Example
Experiment: toss a fair coin. S = {H, T }, A = {H}
n(A) 1
n −→ 2 as n −→ ∞
n(A)
Probability of an event A : P(A) = lim n
n−→∞
It indicates the likelihood that event A will occur.
Axioms of Probability
∞ ∞
!
[ X
P Ai = P(Ai ) countably additive
i=1 i=1
A1 A2 A3
A4
An
S
A5
A6
A Special Case
0 ≤ P(si ) ≤ 1
Pn
P(si ) = 1
i=1
S P
If A = si ; then P(A) = P(si )
i∈I i∈I
S
X
P(A) = P(A ∩ Bi )
i=1
n−1
X
+ (−1) P(Ai ∩ Ai ∩ · · · ∩ Ain )
1 2
1≤i1 <i2 <···<in ≤n
Conditional Probability
Example
Child 2
girl
B
A
boy
Child 1
boy girl
Example
Child 2
girl
B
A
boy
Child 1
boy girl
1 3 1 1
P(A) = 4 P(B) = 4 P(A ∩ B) = 4 P(A|B) = P(A ∩ B)/P(B) = 3
Excercises
Bayes’ Formula
If B1 , B2 , . . . , form a partition of S.
i.e., Bi ∩ Bj = φ for i 6= j - disjoint
∞
S
Bi = S - exhaustive
i=1
∞ ∞
S S
then A = A ∩ S = A ∩ Bi = (A ∩ Bi )
i=1 i=1
∞
P
i.e., P(A) = P(A|Bi )P(Bi )
i=1
P(A ∩ Bj )
P(Bj |A) =
P(A)
P(A|Bj )P(Bj )
∴ P(Bj |A) = ∞
P
P(A|Bi )P(Bi )
i=1
Example
A satellite is sending a binary code {0, 1}. 70% of the message is 00 s. 80% chance of
a given 0 or 1 being received correctly. Find the probability that 0 was sent if 1 is
received.
Example
A satellite is sending a binary code {0, 1}. 70% of the message is 00 s. 80% chance of
a given 0 or 1 being received correctly. Find the probability that 0 was sent if 1 is
received.
80%
70% ‘0’
“0” 62%
20
%
Example
A satellite is sending a binary code {0, 1}. 70% of the message is 00 s. 80% chance of
a given 0 or 1 being received correctly. Find the probability that 0 was sent if 1 is
received.
80%
70% ‘0’
“0” 62%
20
%
Bi : i was sent (i = 0, 1)
Ai : i is received (i = 0, 1)
P(B0 ) = 0.7 ⇒ P(B1 ) = 0.3
P(A0 |B0 ) = 0.8 ⇒ P(A1 |B0 ) = 0.2
P(A1 |B1 ) = 0.8 ⇒ P(A0 |B1 ) = 0.2
Example
A satellite is sending a binary code {0, 1}. 70% of the message is 00 s. 80% chance of
a given 0 or 1 being received correctly. Find the probability that 0 was sent if 1 is
received.
80%
70% ‘0’
“0” 62%
20
%
Independent Events
⇒ P(A ∩ B) = P(A)P(B)
5 A
P(A) = 18/36 = 1/2 P(B) = 18/36 = 1/2
4
3
P(A ∩ B) = 9/36 = 1/4
2
die #2
∴ P(A ∩ B) = P(A)P(B) ⇒ B and A are 1 2 3 4 5 6
independent.
5
P(B) = 1/2 P(C) = 15/36 = 5/12
4
3
P(B ∩ C) = 12/36 = 1/3
2
die #2
∴ P(B ∩ C) 6= P(B)P(C) ⇒ B and C are 1 2 3 4 5 6
dependent.
Consider events A1 , A2 , . . .
Q T
If they ere independent, then P Ai = P(Ai ), hence
i i
T
P Ai is non-increasing as i increases.
i
Events Ai , for i = 1, 2, . . . are independent if
!
\ Y
P Ai = P(Ai ), for any I = {i1 , i2 , . . . , ir }and any r > 1
i∈I i∈I