Professional Documents
Culture Documents
1
Probability Distributions
2012 Pearson Education, Inc. All rights reserved.
1 of 63
Random Variables
Random Variable
Represents a numerical value associated with each
outcome of a probability distribution.
Denoted by x
Examples
x = Number of sales calls a salesperson makes in
one day.
x = Hours spent on sales calls in one day.
2012 Pearson Education, Inc. All rights reserved.
2 of 63
Random Variables
Discrete Random Variable
Has a finite or countable number of possible
outcomes that can be listed.
Example
x = Number of sales calls a salesperson makes in
one day.
x
1 5 3 0 2 4
2012 Pearson Education, Inc. All rights reserved.
3 of 63
Random Variables
Continuous Random Variable
Has an uncountable number of possible outcomes,
represented by an interval on the number line.
Example
x = Hours spent on sales calls in one day.
x
1 24 3 0 2
2012 Pearson Education, Inc. All rights reserved.
4 of 63
Discrete vs. Continuous Random
Variables
Larson/Farber 5th ed
5
Discrete vs. Continuous
Larson/Farber 5th ed
6
MyMathLab Example
Larson/Farber 5th ed
7
MyMathLab Example
Larson/Farber 5th ed
8
Discrete Probability Distributions
Discrete probability distribution
Lists each possible value the random variable can
assume, together with its probability.
Must satisfy the following conditions:
In Words In Symbols
1. The probability of each value of the
discrete random variable is between
0 and 1, inclusive.
2. The sum of all the probabilities is 1.
0 P (x) 1
P (x) = 1
2012 Pearson Education, Inc. All rights reserved.
9 of 63
MyMathLab Example
Larson/Farber 5th ed
10
Constructing a Discrete Probability
Distribution
1. Make a frequency distribution for the possible
outcomes.
2. Find the sum of the frequencies.
3. Find the probability of each possible outcome by
dividing its frequency by the sum of the frequencies.
4. Check that each probability is between 0 and 1,
inclusive, and that the sum of all probabilities is 1.
Let x be a discrete random variable with possible
outcomes x
1
, x
2
, , x
n
.
2012 Pearson Education, Inc. All rights reserved.
11 of 63
Example: Constructing a Discrete
Probability Distribution
An industrial psychologist administered a personality
inventory test for passive-aggressive traits to 150
employees. Individuals were given a score from 1 to 5,
where 1 was extremely passive and 5 extremely
Score, x Frequency, f
1 24
2 33
3 42
4 30
5 21
aggressive. A score of 3 indicated
neither trait. Construct a
probability distribution for the
random variable x. Then graph the
distribution using a histogram.
2012 Pearson Education, Inc. All rights reserved.
12 of 63
Solution: Constructing a Discrete
Probability Distribution
2012 Pearson Education, Inc. All rights reserved.
13 of 63
Solution: Constructing a Discrete
Probability Distribution
This is a valid discrete probability distribution since
1. Each probability is between 0 and 1, inclusive,
0 P(x) 1.
2. The sum of the probabilities equals 1,
P(x) = 0.16 + 0.22 + 0.28 + 0.20 + 0.14 = 1.
2012 Pearson Education, Inc. All rights reserved.
14 of 63
x P(x)
1 0.16
2 0.22
3 0.28
4 0.20
5 0.14
Discrete probability
distribution:
Solution: Constructing a Discrete
Probability Distribution
Histogram
0
0.05
0.1
0.15
0.2
0.25
0.3
1 2 3 4 5
P
r
o
b
a
b
i
l
i
t
y
,
P
(
x
)
Score, x
Passive-Aggressive Traits
Because the width of each bar is one, the area of
each bar is equal to the probability of a particular
outcome.
2012 Pearson Education, Inc. All rights reserved.
15 of 63
Example
Larson/Farber 5th ed
16
Number of Televisions
x
Count of Number of
Households
0 750
1 450
2 900
3 600
4 300
Example - Solution
Larson/Farber 5th ed
17
Number of Televisions, x Probability P(x)
0 750/3000 = 0.25
1 450/3000 = 0.15
2 900/3000 = 0.30
3 600/3000 = 0.20
4 300/3000 = 0.10
Note the sum of
this column is 1
MyMathLab Example
Larson/Farber 5th ed
18
Mean
Mean of a discrete probability distribution
= xP(x)
Each value of x is multiplied by its corresponding
probability and the products are added.
2012 Pearson Education, Inc. All rights reserved.
19 of 63
x P(x) xP(x)
1 0.16 1(0.16) = 0.16
2 0.22 2(0.22) = 0.44
3 0.28 3(0.28) = 0.84
4 0.20 4(0.20) = 0.80
5 0.14 5(0.14) = 0.70
Example: Finding the Mean
The probability distribution for the personality
inventory test for passive-aggressive traits is given. Find
the mean score.
= xP(x) = 2.94
Solution:
2012 Pearson Education, Inc. All rights reserved.
20 of 63
Variance and Standard Deviation
Variance of a discrete probability distribution
2
= (x )
2
P(x)
Standard deviation of a discrete probability
distribution
2 2
( ) ( ) x P x
2012 Pearson Education, Inc. All rights reserved.
21 of 63
Example: Finding the Variance and
Standard Deviation
The probability distribution for the personality
inventory test for passive-aggressive traits is given. Find
the variance and standard deviation. ( = 2.94)
x P(x)
1 0.16
2 0.22
3 0.28
4 0.20
5 0.14
2012 Pearson Education, Inc. All rights reserved.
22 of 63
Solution: Finding the Variance and
Standard Deviation
Recall = 2.94
x P(x) x (x )
2
(x )
2
P(x)
1 0.16 1 2.94 = 1.94 (1.94)
2
3.764 3.764(0.16) 0.602
2 0.22 2 2.94 = 0.94 (0.94)
2
0.884 0.884(0.22) 0.194
3 0.28 3 2.94 = 0.06 (0.06)
2
0.004 0.004(0.28) 0.001
4 0.20 4 2.94 = 1.06 (1.06)
2
1.124 1.124(0.20) 0.225
5 0.14 5 2.94 = 2.06 (2.06)
2
4.244 4.244(0.14) 0.594
2
1.616 1.3 Standard Deviation:
Variance:
2
= (x )
2
P(x) = 1.616
2012 Pearson Education, Inc. All rights reserved.
23 of 63
Expected Value
Expected value of a discrete random variable
Equal to the mean of the random variable.
E(x) = = xP(x)
2012 Pearson Education, Inc. All rights reserved.
24 of 63
Example
Find the mean and standard deviation of this discrete
probability distribution:
Larson/Farber 5th ed
25
Number of Televisions, x Probability P(x)
0 750/3000 = 0.25
1 450/3000 = 0.15
2 900/3000 = 0.30
3 600/3000 = 0.20
4 300/3000 = 0.10
Example - Solution
Find the mean and standard deviation of this discrete
probability distribution:
First find the mean = xP(x)
Larson/Farber 5th ed
26
=1.75 sum of this column is
Number of
Televisions, x
Probability P(x) x P(x)
0 750/3000 = 0.25 0(0.25) = 0
1 450/3000 = 0.15 1(0.15) = 0.15
2 900/3000 = 0.30 2(0.30) = 0.60
3 600/3000 = 0.20 3(0.20) = 0.60
4 300/3000 = 0.10 4(0.10) = 0.40
Example - Solution
Next find the standard deviation
Larson/Farber 5th ed
27
1.6875 sum of this column is
Number of
Televisions,
x
Probability
P(x)
x - (x )
2
(x )
2
P(x)
0 0.25
0 1.75 = -1.75 (-1.75)
2
= 3.0625 (3.0625)(0.25) = 0.765625
1 0.15
1 1.75 = -0.75 (-0.75)
2
= 0.5625 (0.5625)(0.15) = 0.084375
2 0.30
2 1.75 = 0.25 (0.25)
2
= 0.0625 (0.0625)(0.30) = 0.01875
3 0.20
3 1.75 = 1.25 (1.25)
2
= 1.5625 (1.5625)(0.20) = 0.3125
4 0.10
4 1.75 = 2.25 (2.25)
2
= 5.0625 (5.0625)(0.10) = 0.50625
2 2
( ) ( ) x P x
Section 4.2
Binomial Distributions
2012 Pearson Education, Inc. All rights reserved.
28 of 63
Binomial Examples
Typical Questions that can be answered using Binomial Probabilities
A doctor will perform 8 surgeries today. What is the probability that 6 of the 8
surgeries will be successful?
Note: The probability of a successful surgery is 0.85.
You are taking a multiple choice test with 10 questions where each question
has 4 possible answers: (a), (b), (c), (d).
You did not study so you will guess at each question.
What is the probability of getting exactly 5 questions correct?
70% of married couples say they paid for their honeymoon themselves. You
select a random sample of 20 couples. What is the probability that 14 of the
couples paid for their own honeymoon?
Larson/Farber 5th ed
29
Binomial Experiments
1. The experiment is repeated for a fixed number of
trials, where each trial is independent of other trials.
2. There are only two possible outcomes of interest for
each trial. The outcomes can be classified as a
success (S) or as a failure (F).
3. The probability of a success P(S) is the same for
each trial.
4. The random variable x counts the number of
successful trials.
2012 Pearson Education, Inc. All rights reserved.
30 of 63
Binomial Probabilities
Thus when working with Binomial Probability
Problems we will need to identify 3 specific
quantities:
n this is the total number of trials
p this is the probability of success, which stays
the same for each trial
x this is the number of successes for which we
want to determine the probability.
Larson/Farber 5th ed
31
Binomial Probabilities
For each of these three scenarios, identify the values of
n, p and x:
A doctor will perform 8 surgeries today. What is the probability that 6 of the 8
surgeries will be successful?
Note: The probability of a successful surgery is 0.85.
You are taking a multiple choice test with 10 questions where each question has 4
possible answers: (a), (b), (c), (d).
You did not study so you will guess at each question.
What is the probability of getting exactly 5 questions correct?
70% of married couples say they paid for their honeymoon themselves. You select a
random sample of 20 couples. What is the probability that 14 of the couples paid for
their own honeymoon?
Larson/Farber 5th ed
32
MyMathLab Example
Larson/Farber 5th ed
33
Notation for Binomial Experiments
Symbol Description
n The number of times a trial is repeated
p = P(S) The probability of success in a single trial
q = P(F) The probability of failure in a single trial
(q = 1 p)
x The random variable represents a count of
the number of successes in n trials:
x = 0, 1, 2, 3, , n.
2012 Pearson Education, Inc. All rights reserved.
34 of 63
Example: Binomial Experiments
Decide whether the experiment is a binomial
experiment. If it is, specify the values of n, p, and q, and
list the possible values of the random variable x.
1. A certain surgical procedure has an 85% chance of
success. A doctor performs the procedure on eight
patients. The random variable represents the number
of successful surgeries.
2012 Pearson Education, Inc. All rights reserved.
35 of 63
Solution: Binomial Experiments
Yes, this is a Binomial Experiment
1. Each surgery represents a trial. There are eight
surgeries, and each one is independent of the others.
2. There are only two possible outcomes of interest for
each surgery: a success (S) or a failure (F).
3. The probability of a success, P(S), is 0.85 for each
surgery.
4. The random variable x counts the number of
successful surgeries.
2012 Pearson Education, Inc. All rights reserved.
36 of 63
Solution: Binomial Experiments
Binomial Experiment
n = 8 (number of trials)
p = 0.85 (probability of success)
q = 1 p = 1 0.85 = 0.15 (probability of failure)
x = 0, 1, 2, 3, 4, 5, 6, 7, 8 (number of successful
surgeries)
2012 Pearson Education, Inc. All rights reserved.
37 of 63
Example: Binomial Experiments
Decide whether the experiment is a binomial
experiment. If it is, specify the values of n, p, and q, and
list the possible values of the random variable x.
2. A jar contains five red marbles, nine blue marbles, and
six green marbles. You randomly select three marbles
from the jar, without replacement. The random
variable represents the number of red marbles.
2012 Pearson Education, Inc. All rights reserved.
38 of 63
Solution: Binomial Experiments
No, This is Not a Binomial Experiment
The probability of selecting a red marble on the first
trial is 5/20.
Because the marble is not replaced, the probability of
success (red) for subsequent trials is no longer 5/20.
The trials are not independent and the probability of
a success is not the same for each trial.
2012 Pearson Education, Inc. All rights reserved.
39 of 63
Binomial Probability Formula
Binomial Probability Formula
The probability of exactly x successes in n trials is
!
( )
( )! !
x n x x n x
n x
n
P x C p q p q
n x x
n = number of trials
p = probability of success
q = 1 p probability of failure
x = number of successes in n trials
2012 Pearson Education, Inc. All rights reserved.
40 of 63
Finding Binomial Probabilitites
Three Methods Available to Calculate Binomial Probabilties:
1. Use the Binomial Formula
2. Use Table 2 in the back of the textbook on Page A8
(only for certain values of p however)
3. Best method!
Use StatCrunch:
Go to STAT Calculators Binomial
Larson/Farber 5th ed
41
!
( )
( )! !
x n x x n x
n x
n
P x C p q p q
n x x