Lecture 15 Probability
Lecture 15 Probability
Lecture 15
1
Discrete Probability
Named events:
Match ={HH, TT}
At least one head = {HT, TH, HH}
3
Uniform Probability Measure
4
Uniform Probability Measure
5
Uniform Probability Measure
6
Uniform Probability Measure
7
Uniform Probability Measure
8
Probability of Complementary Event
p( E ) 1 p( E )
Pf:
1. |S| = |E| +|E|
9
Probability of a Union Event
p( E1 E2 ) p( E1 ) p( E2 ) p( E1 E2 )
Pf:
1. An integer is chosen from the interval [1,2,….,100]. Find
the probability that it is divisible either by 6 or by 15.
11
Bernoulli distribution
12
Bernoulli distribution
13
Random Variable
A random variable is a real valued function on the domain
of a probability space.
X(TTT) = 0
X(TTH)=X(THT)=X(HTT) =1
X(THH)=X(HHT)=X(HTH)=2
X(HHH)=3
pr ( E Y )
pr ( E | Y )
pr (Y )
p (12,14,16)
1/ 6
3 / 36
1/ 6
3
6
1
2
16
Conditional probability
example:
Toss a balanced die once and record the number on the
top face.
Let E be the event that a 1 shows on the top face.
Let F be the event that the number on the top face is odd.
What is P(E)?
What is the Probability of the event E if we are told
that the number on the top face is odd, that is, we
know that the event F has occurred?
17
Conditional probability
Key idea: The original sample space no longer applies.
The new or reduced sample space is
S={1, 3, 5}
18
Conditional Independence
pr ( E | Y ) pr ( E )
pr ( E | Y ) pr ( E ) pr ( E Y ) / pr (Y )
Pr(Y ) pr ( E Y ) / pr ( E )
pr (Y E ) / pr ( E )
pr (Y | E ) P(A|B)=P(A ˄B)/P(B)
19
Bayes Theorem
20
Inference by enumeration
toothache toothache
• Start with the joint probability distribution:
catch catch catch catch
24
Normalization
toothache toothache
26