Download Probability - NCTU

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Probability
01. Sample Space
郭俊利
2009/02/27
1
Outline
Probability




Sample space
Probability axioms
Conditional probability
Independence
1.1 ~ 1.5
2
Introduction
Probability

What is probability?

Time


Space


Frequency
Area
Examples



Weather forecast ^^
Cancer prediction ^^
Lottery
>”<
3
Sets
Probability

Sample space

List of all possible outcomes



S1 = {H, T} (H = head; T = tail)
S2 = { (H, H), (H, T), (T, H), (T, T) }
Event

A subset of the sample space
4
Basic Laws
Probability

Axioms:
1. 0 ≦ P(A) ≦ 1
2. P(S) = P(universe) = 1
3. If A∩B = Ø, then P(A∪B) = P(A) + P(B)
4. If A∩B ≠ Ø, …
5
Real Laws
Probability



P(A∪B) = P(A) + P(B) – P(A∩B)
= P(A) + P(AC∩B)
P(A∪B∪C) = P(A) + P(B) + P(C) – P(A∩B) –
P(B∩C) – P(C∩A) + P(A∩B ∩C)
P(A∪B∪C) = P(A) + P(AC∩B) + P(AC∩BC∩C)
6
Example 1
Probability

Bonferroni’s inequality


P(A∩B) ≧ P(A) + P(B) – 1
P(A1∩A2∩…∩An) ≧ P(A1) + P(A2) + … +
P(An) – (n – 1)
7
Example 2
Probability
P(A|B) =

P(A∩B)
P(B)
Given that the two dice land on different
numbers, find the conditional probability that
at least one die roll is a 6.
8
Multiplication Rule
Probability
P(A|B) =


P(A∩B)
P(B)
P(A∩B) = P(B) P(A|B)
P(A∩B∩C) = P(A) P(B|A) P(C|A∩B)
9
Example 3
Probability
10
Independence
Probability



P(A∩B) = P(B) P(A|B)
If A is independent of B, P(A) = P(A|B)
P(A∩B) = P(B) P(A)
If A is disjoint of B, then A is
independent of B?
11
Example 4
Probability
36
2
3
3
12
Example 5
Probability

You enter a chess tournament where your
probability of winning a game is 0.3 against
half the players, 0.4 against a quarter of the
players, and 0.5 against the remaining
quarter of the players. You play a game
against a randomly chosen opponent.


What is the probability of winning?
Suppose that you win. What is the probability that
you had an opponent of 3rd type?
13
Conditional Independence
Probability
P(A∩B | C) =
P(A∩B∩C)
P(C)
=
P(C) P(B|C) P(A|B∩C)
P(C)
= P(B|C) P(A|B∩C)

P(A∩B | C) = P(A|C) P(B|C)
P(A|B∩C) = P(A|C)
14
Example 6
Probability
H1 = {1st toss is a head}
H2 = {2nd toss is a head}
D = {the two tosses have different results}
P(H1|D) = ½; P(H2|D) = ½; P(H1∩H2 | D) = 0

H1 and H2 are independent, but not
conditionally Independent
15
Example 7
Probability
H1 = {1st toss is a head}
H2 = {2nd toss is a head}
D = {the two tosses have different results}

H1
H2
Are H1, H2 and D
independent?
D
16
Example 8
Probability

Let A and B be independent.


Are A and BC independent?
Are AC and BC independent?
17
Example 9
Probability

Let A, B , C be independent.

Prove that A and B are conditionally
Independent given C.
P(A∩B | C) = P(A|C) P(B|C)
18
Example 10
(1/2)
Probability
0.8
0.9
0.9
C
0.95
A
E
F
0.85
B
0.95
0.75
D
19
Example 10
(2/2)
Probability
0.8
0.9
0.9
C
0.95
A
E
F
0.85
B
0.95
0.75
D
20
Related documents