Probability Theory and Mathematical Statistics: As - Prof. Oksana Pavlenko
Probability Theory and Mathematical Statistics: As - Prof. Oksana Pavlenko
AND MATHEMATICAL
STATISTICS
As.prof. Oksana Pavlenko
2020.
The formula of total probability and LECTURE 2
Bayes’ formula
A = H1 A + H2 A + ... + Hn A
n
P( A) = P( H1 A) + P( H 2 A) + ... + P( H n A) = P( H i A)
i =1
P( H i A) = P( H i ) P( A / H i )
n
P( A) = P( H i ) P( A / H i ) – the formula of total probability
i =1
Remark. The total probability can be interpreted as weighted mean value of
conditional probabilities.
3
𝐶10 C81 C 21
𝐻1 : vvv 𝑃(𝐻1 ) = 3 ≈ 0.55 P( A / H1 ) = 2
0.36,
𝐶12 C10
2
𝐶10 ⋅ 𝐶21 C71 C31
𝐻2 : vvd 𝑃(𝐻2 ) = 3 ≈ 0.41, P( A / H 2 ) = 2
0.47,
𝐶12 C10
1
𝐶10 ⋅ 𝐶22 C61 C 41
𝐻3 : vdd 𝑃(𝐻3 ) = ≈ 0.04, P( A / H 3 ) = 2
= 0.53,
3
𝐶12 C10
3
P( A) = P( H i ) P( A / H i ) 0.55 0.36 + 0.41 0.47 + 0.04 0.53 0.41
i =1
P( H i ) P( A / H i ) = P( A) P( H i / A)
P( H i ) P( A / H i )
P( H i / A) = – Bayes’ formula
P( A)
Thomas Bayes
P( H1 ) P( A / H1 ) 0.25 0.98
P( H1 / A) = = 0.26
P( A) 0.94
P3 (0) = 0.216 𝑃7 5 −?
np − q Mo np + p
Example n = 7,
p = 0.4
7 0.4 − 0.6 Mo 7 0.4 + 0.4
2.2 Mo 3.2
Mo = 3
Example n = 4,
p = 0.8
4 0.8 − 0.2 Mo 4 0.8 + 0.8
3 Mo 4
Mo = 3; 4
n−m n!
Pn (m) = C p q
m m
= p m q n−m
m!(n − m )!
n
m2 − np m1 − np
Pn (m1 m m2 ) −
npq npq
x t2
1 −
( x) =
2 e
−
2
dt
(− x) = 1 − ( x)
m
Pn (m) e −
m!
= np = nq
p 0.1 p 0.9
np 10 nq 10
Pn (n − m) = ...
50 −5 51 −5
= 1 − e − e 0.96
0! 1!
O.Pavlenko. Probability theory. 2020.
Conditions for using Bernoulli formula and
approximate formulas
1. If n is not large (n≤40) , use Bernoulli formula,
* In this course we assume that the number of experiments is large if it is greater than 40.