Probabilites ch1
Probabilites ch1
Probabilites ch1
Prob Intro
1. Intro / Examples
2. Set Theory
3. Experiments and Sample Spaces
4. Denition of Probability
5. Finite Sample Spaces
6. Counting Techniques
7. Applications of Counting Techniques
8. Conditional Probability
9. Bayes Theorem
1
1.1 Intro / Examples
Deterministic
Probabilistic
2
1.1 Intro / Examples
Deterministic Models
3
1.1 Intro / Examples
4
1.1 Intro / Examples
6
1.1 Intro / Examples
6. Vietnam Lottery
8
1.1 Intro / Examples
Working Denitions
9
1.2 Set Theory
Notation:
A, B, C, . . . for sets; a, b, c, . . . for elements
for membership, e.g., x A
Examples:
A = {1, 2, . . . , 10}. 2 A, 49
/ A.
B = {basketball, baseball}
C = {x|0 x 1} (| means such that)
D = {x|x2 = 9} = {3} (either is ne)
E = {x|x , x2 = 1} = ( is the real line)
11
1.2 Set Theory
Properties:
A; A U ; A A
A B and B C (implies) A C
13
1.2 Set Theory
Example:
A = {consonants}
A B = {a}
A B = {a, b, c, e, i, o, u}
Denitions:
Minus: A B A B
AB (A B) (B A) = (A B) (A B)
Examples:
16
1.2 Set Theory
Laws of Operation:
=A
1. Complement Law: A A = U , A A = , A
2. Commutative: A B = B A, A B = B A
3. DeMorgans: A B = A B, A B = A B
4. Associative: A (B C) = (A B) C,
A (B C) = (A B) C
17
1.2 Set Theory
5. Distributive: A (B C) = (A B) (A C),
A (B C) = (A B) (A C)
18
1.3 Experiments
19
1.3 Experiments
Examples:
20
1.3 Experiments
S3 = {t|t 0}.
21
1.3 Experiments
22
1.3 Experiments
Then
Probability Basics
26
1.4 Probability
27
1.4 Probability
28
1.4 Probability
S = {H, T H, T T H, T T T H, . . .}.
Then
1 = Pr(S) = Pr Ai = Pr(Ai).
i=1 i=1
29
1.4 Probability
Theorem 1: Pr() = 0.
Proof:
and so
32
1.4 Probability
33
1.4 Probability
34
1.4 Probability
Pr(A B C)
= Pr(A) + Pr(B) + Pr(C)
Pr(A B) Pr(A C) Pr(B C)
+Pr(A B C)
P (J I M )
= P (J) + P (I) + P (M )
P (J I) P (J M ) P (I M )
+P (J I M )
= .75 + .20 + .40 .15 .30 .10 + .05 = .85.
36
1.4 Probability
P (J I M ) + P (J I M ) + P (J I M )
= .35 + 0 + .05 = .40.
37
1.4 Probability
Proof:
40
1.5 Finite Sample Spaces
42
1.5 Finite Sample Spaces
Sum 2 3 4 5 6 7 8 9 10 11 12
1
Prob 36 2 3 4 5 6 5 4 3 2 1
36 36 36 36 36 36 36 36 36 36
43
1.6 Counting Techniques
Multiplication Rule
Addition Rule
Permutations
Combinations
44
1.6 Counting Techniques
Multiplication Rule
46
1.6 Counting Techniques
Pr(C) = 1 Pr(C)
= 1 Pr(A B)
= 1 Pr(A) Pr(B) (A and B disjoint)
= 16/45.
48
1.6 Counting Techniques
49
1.6 Counting Techniques
Addition Rule
Permutations
51
1.6 Counting Techniques
52
1.6 Counting Techniques
54
1.6 Counting Techniques
n = 9 players, r = 4 positions.
55
1.6 Counting Techniques
Combinations
59
1.6 Counting Techniques
n
n n n n n
= ,
= = 1, = = n.
r nr 0 n 1 n1
61
1.6 Counting Techniques
Binomial Theorem:
n
n
(x + y)n = xiy ni
i=0 i
This is where Pascals comes from!
62
1.6 Counting Techniques
R B R R B B R R R B R B
64
1.7 Counting Applications
Hypergeometric problems
Birthday problem
Poker probabilities
Multinomial coecients
65
1.7 Counting Applications
Hypergeometric Distribution
67
1.7 Counting Applications
68
1.7 Counting Applications
69
1.7 Counting Applications
|B| 240 1
Pr(B) = = = .
|S| 720 3
Birthday Problem
(365)(364) (365 n + 1)
Pr(A) =
(365)n
364 363 365 n + 1
= 1
365 365 365
We want
364 363 365 n + 1
Pr(A) = 1 1
365 365 365
73
1.7 Counting Applications
74
1.7 Counting Applications
Poker Problems
Terminology:
rank = 2, 3, . . . , Q, K, A,
suit = , , ,
75
1.7 Counting Applications
123, 552
Pr(2 pairs) = 0.0475.
2, 598, 960
76
1.7 Counting Applications
3744
Pr(full house) = 0.00144.
2, 598, 960
77
1.7 Counting Applications
5148
Pr(ush) = 0.00198.
2, 598, 960
78
1.7 Counting Applications
Select
a starting point for the straight (A, 2, 3, . . . , 10).
10
ways.
1
79
1.7 Counting Applications
80
1.7 Counting Applications
Multinomial Coecients
Example:
n1 blue sox, n2 reds. # of assortments is
n + n2
1 (binomial coecients).
n1
k
Generalization (for k types of objects): n = i=1 ni
81
1.7 Counting Applications
82
1.8 Conditional Probability
Conditional Probability
Denition
Properties
Independence
83
1.8 Conditional Probability
Conditional Probability
|A B| |A B|/|S| Pr(A B)
Pr(A|B) = = = .
|B| |B|/|S| Pr(B)
86
1.8 Conditional Probability
(1) 0 Pr(A|B) 1.
(2) Pr(S|B) = 1.
B = Pr(Ai|B).
i=1 i=1
89
1.8 Conditional Probability
93
1.8 Conditional Probability
94
1.8 Conditional Probability
95
1.8 Conditional Probability
96
1.8 Conditional Probability
98
1.8 Conditional Probability
Pr(H eventually) = pn = 1.
n=1
100
1.9 Bayes Theorem
Bayes Theorem
Partitions
Bayes Theorem
Examples
101
1.9 Bayes Theorem
102
1.9 Bayes Theorem
In any trial,
Pr(Jury acquits if defendent is innocent) = 0.95.
Pr(Jury convicts if defendent is guilty) = 0.95.
106
1.9 Bayes Theorem
(0.01)(0.95)
=
(0.01)(0.95) + (0.99)(0.05)
= 0.161.
(0.5)(0.02)
=
(0.5)(0.02) + (0.25)(0.02) + (0.25)(0.04)
= 0.4.
109