Two Interpretations of Probability: The Frequentist Interpretation
Two Interpretations of Probability: The Frequentist Interpretation
N k (n )
P k lim
n n
• Event: A subset of S.
Certain event = S
Null Event = Ф
e.g. Random Experiment : Toss of a coin twice
Outcomes = HH,HT,TH,TT
Sample Space = {HH,HT,TH,TT}
Event : At least one head = {HH,HT,TH}
The Axioms of Probability
1) 0 P ( A ) A S
2) P(S) = 1
n
Since Axiom 3 only lets us evaluate Lim P A k which may not be equal to
n
k 1
P U Ak
k 1
Some Elementary Consequences
1) P(A) 1 A S
3) P ( ) 0
n n
4) P (U A k )
k 1
j 1
P(Aj)
j k
P ( A j Ak ) Subtract even-numbered combinations,
add odd-numbered ones.
j k l
P ( A j Ak Al )
.......... .... A1 A2
( 1 ) n 1 P ( A 1 A 2 .... A n )
P ( A B ) P ( A) P (B ) P ( A B ) A3
5) If A B P ( A) P (B ) S
Conditional Probability:
P(A | B) = Probability that A occurs given B has occurred.
P(A B)
P(A | B) ; P (B ) 0
P (B )
Independent Events:
Which leads to
P ( A B ) P ( A)P (B )
Note that Independence Mutual exclusion
In fact, if P(A), P(B) > 0, independent A,B are not mutually exclusive.
Bayes’ Rule:
n
If S U Bk and A S
k 1
B k form a partition of S.
Bi B j if i j
P(A B j) P ( A | B j) P (B j)
P (B j | A) n
P(A)
k 1
P ( A | Bk )P (Bk )
The form
P (A | B j) P (B j)
P (B j | A)
P(A)
If p = P(success) then
P(k successes in n independent Bernoulli Trials)
n
Pn ( k ) p k
( 1 p )nk k 0 ,1 , 2 ,..., n
k
This is called binomial probability law.
5
0 .5 3 ( 1 0 .5 ) 2
3
5!
( 0 . 125 )( 0 . 25 ) 0 . 3125
3! 2 !
Logic of the Binomial Law
n
Pn ( k ) p k
( 1 p )nk
k
Number of ways Prob of Prob of
to get k successes k successes n-k failures
in n attempts
where Pk P ( B k ) .
So X(HHH) = 7 (111)
X(TTT) = 0 (000)
X(HTH) = 5 (101) etc
Why bother?
Cumulative Distribution Function (CDF)
The CDF describes how probability accumulates over the range of a random variable
FX (x) P (X x) x
Thus F X ( x ) P ({ : X ( ) x })
F X (3) P ( X 3)
1) 0 F X ( x ) 1
2) lim FX (x) 1
x
3) lim FX (x) 0
x
4) Nondecreasing in x :
a b F X ( a ) F X (b )
for h 0
6) P ( a X b ) F X ( b ) F X ( a )
a b
7) P ( X a ) F X ( a ) F X ( a )
The RHS is obtained from P ( X a ) lim
h 0
F X (a ) F X (a h )
If FX (x) is also left-continuous at a P(X=a) = 0
1) Discrete :
2) Continuous:
3) Mixed:
Probability Mass Function (PMF) :
For a discrete random variable X with range
S X { x 1 , x 2 ,....}
PMF { p X (xk ) P ( X xk ): xk S X }
P ( x X x h ) hf X (x)
as h 0
i.e.
P ( x X x dx ) f X ( x ) dx
Properties of PDF:
1) fX (x) 0
b
2) P (a X b) f X ( x ) dx
a
x
3) FX (x)
f X ( s ) ds
4)
fX (x) 1
(x xk )
(x x k ) dx 1
xk
xk
FX ( x) p X ( xk )u ( x xk )
k
pmf cdf
Conditional CDF’s and PDF’s
P ({ X x } A )
FX (x | A) ; A S
P(A)
d
fX (x | A) FX (x | A)
dx
Example 1:
FX (x | X t) P ( X x | X t)
0 if x t
P ( X x, X t)
P (t X x ) else
0 x t
FX ( x | X t ) F X ( x ) F X (t )
x t
1 F X (t )
Example 2: Rolling a fair 6-sided die
1
Fx (x)
Fx (x | X even)
1/6
0
0 1 2 3 4 5 6 7 x
P ({ X 2 } X even)
F X ( x | X even)
P ( X even)
P ({ X 2 })
P ( X even)
1/ 6
1/ 3
1/ 2