Chapter 5 - Discrete Random Variables and Their Probability Distrubutions
Chapter 5 - Discrete Random Variables and Their Probability Distrubutions
Learning Objectives
- Understand random variables and types of random variables.
- Understand the concept of a probability distribution and its mean and standard deviation for a discrete random
variable
- the binomial probability distribution
Random Variable
- A random variable is a variable whose value is determined by the outcome of a random experiment.
- how many customers will visit a bank, a grocery store, or a gas station on a given day?
- How many cars will pass a bridge on a given day?
- How many students will be absent from a class on a given day?
- In all these examples, the number of customers, cars, and students are random; that is, each of these can assume
any value within a certain interval.
Types of Variables
• when the relative frequencies represent the population, they give the
actual (theoretical) probabilities of outcomes.
• Using the relative frequencies, we can write the probability
distribution of the discrete random variable x in Table 5.3.
• Note that the values of x listed in Table 5.3 are mutually exclusive
events.
- The probability distribution of a discrete random variable possesses the following two characteristics.
o 1. 0 ≤ P(x) ≤ 1 for each value of x
o 2. Σ P(x) = 1
- Example 2: Using the probability distribution listed in Table 5.3 of Example 5–1, find the
following probabilities:
o (a) The probability that a randomly selected family owns two vehicles
P (selected family owns two vehicles) = P(x=2) = .425
o (b) The probability that a randomly selected family owns at least two vehicles
P (selected family owns at least two vehicles) = P(x=2) + P(x=3) + P(x=4)
= .425 + .245 + .080 = .750
o (c) The probability that a randomly selected family owns at most one vehicle
P (selected family owns at most one vehicle) = P(x=0) + P(x=1) = .015 + .235 = .250
o (d) The probability that a randomly selected family owns three or more vehicles
P (selected family owns three or more vehicles) = P(x=3) + P(x=4) = .245 + .080 = .325
- Example 3: Each of the following tables lists certain values of x and their probabilities. Determine whether or not
each table represents a valid probability distribution.
- Example 4: The following table lists the probability distribution of the number of breakdowns per week for a
machine based on past data.
Find the probability that the number of breakdowns
for this machine during a given week is
(a) exactly 2
(b) 0 to 2
(c) more than 1
o (a) P (exactly 2 breakdowns) = P (2) = .35 (d) at most 1
Chapter 5: Discrete Random Variables and Their Probability Distributions
o (b) P (0 to 2 breakdowns) = P (0 ≤ x ≤ 2) = P (0 or 1 or 2) = P (0) + P (1) + P (2) = .15 + .20 + .35 = .70
o (c) P (more than 1 breakdown) = P (x > 1) = P (2 or 3) = P (2) + P (3) = .35 +.30 = .65
o (d) P (at most 1 breakdown) = P (x ≤ 1) = P (0 or 1) = P (0) + P (1) = .15 + .20 = .35
- Example 5: According to a survey, 60% of all students at a large university suffer from math anxiety. Two
students are randomly selected from this university. Let x denote the number of students in this sample who suffer
from math anxiety. Construct the probability distribution of x.
5!
p (3 ) = . 5 3 (1 - .5 ) 5 - 3
3 !(5 - 3 )!
= .3 1 2 5
- Example 1: Which of the following are binomial experiments? Explain why.
o (a) Rolling a die 10 times and observing the number of spots
This is not a binomial experiment because there are more than two outcomes for each repetition.
Chapter 5: Discrete Random Variables and Their Probability Distributions
o (b) Rolling a die 12 times and observing whether the number obtained is even or odd
This is an example of a binomial experiment because it satisfies all four conditions of a binomial
experiment:
There are many identical rolls of the die.
Each trial has two outcomes: an even number and an odd number.
The probability of obtaining an even number is 1/2 and that of an odd number is 1/2.
These probabilities add up to 1, and they remain constant for all trials.
All rolls of the die are independent
o (c) Selecting a few voters from a very large population of voters and observing whether or not each of
them favors a certain proposition in an election when 54% of all voters are known to be in favor of this
proposition.
This is an example of a binomial experiment because it satisfies all four conditions of a binomial
experiment:
There are a few identical trials (selection of voters).
Each trial has two outcomes: a voter favors the proposition and a voter does not favor the
proposition.
The probability of the two outcomes are 0.54 and 0.46, respectively. These probabilities
add up to 1. These two probabilities remain the same for all selections, assuming the
population is very large.
All voters are independent.
o (d) Drawing 3 balls with replacement from a box that contains 10 balls, 6 of which are red and 4 are blue,
and observing the colors of the drawn balls
There are three identical trials (selections).
Each trial has two outcomes: a red ball is drawn, and a blue ball is drawn.
The probability of drawing a red ball is 6/10 and that of a blue ball is 4/10. These probabilities
add up to 1. The two probabilities remain constant for all draws because the draws are made with
replacement.
All draws are independent.
- Example 2: Seventy five percent of students at
a college with a large student population use
the social media site Instagram. Three students
are randomly selected from this college. What
is the probability that exactly two of these three
students use Instagram?
o Here, we are given that: n = 3, x =
2, and p = .75. The probability of
two successes is denoted by P(x=2)
or P (2).
- Example 3: At the Express House Delivery Service, providing high-quality service to customers is the top
priority of the management. The company guarantees a refund of all charges if a package it is delivering does not
arrive at its destination by the specified time. It is known from past data that despite all efforts, 2% of the
packages mailed through this company do not arrive at their destinations within the specified time. Suppose a
corporation mails 10 packages through Express House Delivery Service on a certain day.
o (a) Find the probability that exactly one of these 10 packages will not arrive at its destination within the
specified time.
n = total number of packages mailed = 10
p = P(success) = .02
q = P(failure) = 1 – .02 = .98
x = number of successes = 1
n – x = number of failures = 10 – 1 = 9
Thus, there is a .1667 probability that exactly one of the 10 packages mailed will not arrive at its
destination within the specified time.
o (b) Find the probability that at most one of these 10
packages will not arrive at its destination within the
specified time.
Chapter 5: Discrete Random Variables and Their Probability Distributions
At most one of the ten packages is given by the sum of the probabilities of x = 0 and x = 1
Thus, the probability that at most one of the 10 packages mailed will not arrive at its destination
within the specified time is .9838.
- Example 4: According to a survey, 33% of American employees do not plan to change their jobs in the near
future. Let x denote the number of employees in a random sample of three American employees who do not plan
to change their jobs in the near future. Write the probability distribution of x and draw a histogram for this
probability distribution.
o n = total employees in the sample = 3
o p = P (an employee does not plan to change his/her job in the near future) = .33
o q = P (an employee does plan to change his/her job in the near future) = 1 - .33 = .67
- 2. The binomial probability distribution is skewed to the right if p is less than .50.
- 3. The binomial probability distribution is skewed to the left if p is greater than .50.
Challenge
You’re a telemarketer selling service contracts for Macy’s. You’ve sold 20 in your last 100 calls (p = .20). If you call 12
people tonight, what’s the probability of n = 12, p = .2
• A. No sales? p (0) = .069
• B. Exactly 2 sales? P (2) = .283
• C. At most 2 sales? p (0) + p (1) + p (2) = .069 + .206 + .283 = .558
• D. At least 2 sales? = p (2) + p (3) ...+ p (12) = 1 – [p(0) + p(1)] = 1 – .069 – .206 = .7251
Chapter 5: Discrete Random Variables and Their Probability Distributions
According to a survey, 25% of motorists in a large city are uninsured. Suppose that currently 25% of all motorists in this
city are uninsured. Two motorists are selected at random from this city. Let x denote the number of motorists in this
sample of two who are uninsured. Construct the probability distribution table of x.
Chapter 5: Discrete Random Variables and Their Probability Distributions