Professional Documents
Culture Documents
Prob ch1
Prob ch1
Chapter 1 Viewgraphs
1
Set Theory Preliminaries
• Venn Diagrams
• Union/Intersection
• Complement
2
What is Probability
3
Experiments
• Procedure + Observations
4
Example 1.1
An experiment consists of the following procedure, observation and model:
• Observation: Observe which side (head or tail) faces you after the coin
lands.
• Model: Heads and tails are equally likely. The result of each flip is
unrelated to the results of previous flips.
5
Definition Outcome, Sample Space
An outcome of an experiment is any possible observation of that experiment.
The sample space of an experiment is the finest-grain, mutually exclusive,
collectively exhaustive set of all possible outcomes. An event is a set of
outcomes of an experiment.
6
Correspondences
Set Algebra Probability
set event
universal set sample space
element outcome
7
Example 1.9
Flip four coins, a penny, a nickel, a dime, and a quarter. Examine the coins in
order (penny, then nickel, then dime, then quarter) and observe whether each
coin shows a head (h) or a tail (t). What is the sample space? How many
elements are in the sample space?
......................................................................
The sample space consists of 16 four-letter words:
8
Event Spaces
9
Theorem 1.2
•
A = C1 ∪ C2 ∪ · · ·
10
Axioms of Probability
A probability measure P [·] is a function that maps events in the sample space
to real numbers such that
Axiom 2 P [S] = 1.
11
Consequences of the Axioms
Theorem 1.4: If
B = B1 ∪ B2 ∪ · · · ∪ Bm
and for i = j,
Bi ∩ Bj = φ
then
m
P [B] = P [Bi ]
i=1
12
Problem 1.3.5
A student’s score on a 10-point quiz is equally likely to be any integer
between 0 and 10. What is the probability of an A, which requires the student
to get a score of 9 or more? What is the probability the student gets an F by
getting less than 4?
13
Consequences of the Axioms
Theorem 1.7: The probability measure P [·] satisfies
• P [φ] = 0.
• P [Ac ] = 1 − P [A].
P [A ∪ B] = P [A] + P [B] − P [A ∩ B]
14
Problem 1.4.5
A cellphone is equally likely to make zero handoffs (H0 ), one handoff (H1 ),
or more than one handoff (H2 ). Also, a caller is on foot (F ) with probability
5/12 or in a vehicle (V ).
H0 H1 H2
F
V
• If 1/4 of all callers are on foot making calls with no handoffs and that
1/6 of all callers are vehicle users making calls with a single handoff,
what is the table?
15
Conditioning
16
Conditional Probability Definition
P [AB]
P [A|B] =
P [B]
17
Problem 1.5.6
For deer ticks in the Midwest,
• 10% of the ticks that had either Lyme or HGE carried both
18
Law of Total Probability
19
Bayes’ Theorem
•
P [A|B]P [B]
P [B|A] =
P [A]
P [A|Bi ]P [Bi ]
P [Bi |A] = m
i=1 P [A|Bi ]P [Bi ]
20
Bayes’ Theorem
•
P [A|B]P [B]
P [B|A] =
P [A]
P [A|Bi ]P [Bi ]
P [Bi |A] = m
i=1 P [A|Bi ]P [Bi ]
21
Sequential Experiments - Example
• Two coins, one biased, one fair, but you don’t know which is which.
• Pick a coin at random and flip it. Let Ci denote the event that coin i is
picked. What is P [C1 |H]
22
Solution: Tree Diagram
3/4 H •C1 H 3/8
1/2 C1 T •C1 T 1/8
1/4
1/2
C2
1/2
1/2
H •C2 H
T •C2 T
1/4
1/4
P [C1 H] 3/8 3
P [C1 |H] = = =
P [C1 H] + P [C2 H] 3/8 + 1/4 5
23
Definition 2 Independent Events
Definition 1.6 Events A and B are independent if and only if
......................................................................
Equivalent definitions:
24
Definition 3 Independent Events
Definition 1.7 A1 , A2 , and A3 are independent if and only if
25
Fundamental Principle of Counting
26
Permutations
n!
(n)k = n(n − 1)(n − 2) · · · (n − k + 1) =
(n − k)!
27
Combinations
28
How Many Combinations
n
• k = “n choose k”
29
Problem 1.8.6
A basketball team has
A pure player can play only the designated position. How many lineups are
there (1 center, 2 forwards, 2 guards)
30
Problem 1.8.6 Solution
Three possibilities:
N = N1 + N2 + N3
3 4 4
N1 = = 72
1 2 1
3 4 4
N2 = = 72
1 1 2
3 4 4
N3 = = 108
1 2 2
31
Multiple Outcomes
• n independent trials
• P [sk ] = pk
32
Multiple Outcomes (2)
• Outcome is a sequence:
– Example: s3 s4 s3 s1
P [s3 s4 s3 s1 ] = p3 p4 p3 p1 = p1 p23 p4
= pn1 1 pn2 2 pn3 3 pn4 4
33
Multiple Outcomes (3)
Ni = no. of time si occurs
M = Multinomial Coefficient
n!
=
n1 !n2 ! · · · nr !
34