Chapter 4
Chapter 4
and Statistics
Thirteenth Edition
Chapter 4
Probability and Probability
Distributions
What is Probability?
• In Chapters 2 and 3, we used graphs
and numerical measures to describe
data sets which were usually samples.
• We measured “how often” using
Relative frequency = f/n
• As n gets larger,
Sample Population
And “How often”
= Relative frequency Probability
Basic Concepts
• An experiment is the process by
which an observation (or
measurement) is obtained.
• Experiment: Record an age
• Experiment: Toss a die
• Experiment: Record an opinion (yes, no)
• Experiment: Toss two coins
Basic Concepts
1!
Examples
Example: A lock consists of five parts
and can be assembled in any order. A
quality control engineer wants to test
each order for efficiency of assembly.
How many orders are there?
The order of the choice is
important!
5!
P = = 5(4)(3)( 2)(1) = 120
5
5
0!
Combinations
• The number of distinct combinations of n
distinct objects that can be formed, taking
them r at a time is n!
Cr =
n
r!( n − r )!
A B A B
Event Relations
• The intersection of two events, A and B, is
the event that both A and B occur when the
experiment is performed. We write A B.
S
A B A B
A
Example
• Select a student from the classroom and
record his/her hair color and gender.
– A: student has brown hair
– B: student is female
– C: student is male Mutually exclusive; B = CC
•What is the relationship between events B
and C? Student does not have brown hair
•AC: Student is both male and female =
•BC: Student is either male and female = all
•BC: students = S
Calculating Probabilities for
Unions and Complements
• There are special rules that will allow you to
calculate probabilities for composite events.
• The Additive Rule for Unions:
• For any two events, A and B, the
probability of their union, P(A B), is
P( A B) = P( A) + P( B) − P( A B)
A B
Example: Additive Rule
Example: Suppose that there were 120
students in the classroom, and that
they could be classified as follows:
A: brown hair Brown Not Brown
P(A) = 50/120 Male 20 40
B: female Female 30 30
P(B) = 60/120
P(AB) = P(A) + P(B) – P(AB)
= 50/120 + 60/120 - 30/120
= 80/120 = 2/3 Check: P(AB)
= (20 + 30 + 30)/120
A Special Case
When two events A and B are
mutually exclusive, P(AB) = 0
and P(AB) = P(A) + P(B).
A: male with brown hair Brown Not
Brown
P(A) = 20/120
Male 20 40
B: female with brown hair
P(B) = 30/120 Female 30 30
P(AC) = 1 – P(A)
Example
Select a student at random
from the classroom. Define:
A: male Brown Not Brown
P(A) = 60/120 Male 20 40
B: female Female 30 30
“given”
Example 1
• Toss a fair coin twice.
Define
– A: head on second toss
– B: head on first toss P(A|B) = ½
HH
1/4 P(A|not B) = ½
HT 1/4
P(A) does not A and B are
TH 1/4
change, independent
1/4 whether B
TT !
happens or
not…
Example 2
• A bowl contains five M&Ms®, two red and
three blue. Randomly select two candies,
and define
– A: second candy is red.
– B: first candy is blue.
m P(A|B) =P(2nd red|1st blue)= 2/4 = 1/2
m m
P(A|not B) = P(2nd red|1st red) = 1/4
m m
A Sk
A
A S1
Sk
S2….
Standard deviation : = 2
Example
• Toss a fair coin 3 times and
record x the number of
x heads.
p(x) 2
xp(x) (x-) p(x) 12
0 1/8 0 (-1.5)2(1/8) = xp( x) = = 1.5
8
1 3/8 3/8 (-0.5)2(3/8)
2 3/8 6/8 (0.5)2(3/8)
3 1/8 3/8 (1.5)2(1/8) = ( x − ) p ( x )
2 2
= .75 = .688
Example
• The probability distribution for x
the number of heads in tossing 3
fair coins.
Symmetric;
• Shape? mound-
• Outliers? shaped
None
• Center? = 1.5
• Spread? = .688
Key Concepts
I. Experiments and the Sample Space
1. Experiments, events, mutually exclusive events,
simple events
2. The sample space
3. Venn diagrams, tree diagrams, probability tables
II. Probabilities
1. Relative frequency definition of probability
2. Properties of probabilities
a. Each probability lies between 0 and 1.
b. Sum of all simple-event probabilities equals 1.
3. P(A), the sum of the probabilities for all simple events
in A
Key Concepts
III. Counting Rules
1. mn Rule; extended mn Rule
2. Permutations: P n = n!
(n − r )!
r
n!
3. Combinations: Crn =
r!(n − r )!
IV. Event Relations
1. Unions and intersections
2. Events
a. Disjoint or mutually exclusive: P(A B) = 0
b. Complementary: P(A) = 1 − P(AC )
Key Concepts
P( A B)
3. Conditional probability: P( A | B) =
P( B)
4. Independent and dependent events
5. Additive Rule of Probability:
P( A B) = P( A) + P( B) − P( A B)