Chapter 5 PDF
Chapter 5 PDF
Chapter 5 PDF
Zayed University
1 Random Variables
3 Binomial Distribution
Objectives
Random Variables
We are often interested in some numerical function of the out-
comes of a random experiment.
Consider the probability experiment of tossing a coin three times.
In this case, the sample space is represented as follows:
S = {T T T, T T H, T HT, HT T, HHT, HT H, T HH, HHH}
Let X be the number of heads, then X is random variable assum-
ing the values 0, 1, 2 or 3.
Definition (Random Variable)
A random variable is a variable that assigns a numerical value to each
outcome of a random experiment or trial.
Random variables are denoted by uppercase letters, such as X, Y
and Z. The actual values that random variables can assume will
be denoted by lower-case letters, such as x, y and z.
Chapter 5 MTH213: Business Statistics 4 / 31
Random Variables
Exercises
Classify the following random variables as discrete or continuous:
a The number of girls in a family with three children.
b The number of defects found after inspecting your car.
c the proportion of passengers traveling without checked luggage in
Emirates Flight EK231.
d the number of incorrect lab procedures conducted at a hospital dur-
ing a particular week.
e the number of customers served during a given day at a drive-
through window.
f the time needed by a clerk to complete a task.
g
the temperature of a pizza oven at a particular time.
h the waiting time before a randomly chosen customer is handed the
order in Subway.
Chapter 5 MTH213: Business Statistics 6 / 31
Discrete Random Variables Discrete Probability Distributions
Probability Distribution
Probability Distribution
Example
Ali has applied for positions at Company A and Company B. The prob-
ability of getting an offer from Company A is 0.4, and the probability
of getting an offer from Company B is 0.3. Assuming that the two job
offers are independent of each other. Let X be the number of offers
that Ali will receive. Find the probability distribution of X.
X can take on only three possible values: 0, 1, or 2. Let A and B
denote the events that Ali will receive offers from companies A and B,
respectively. Then P (A) = 0.4 and P (B) = 0.3. Thus, we have
Example
So the probability distribution of X is given by
x 0 1 2
p(x) 0.42 0.46 0.12
0.4 0.4
0.3 0.3
p(x)
p(x)
0.2 0.2
0.1 0.1
0.0 0.0
0 1 2 0 1 2
x x
Exercises
1 Determine whether each of the following is a valid probability
distribution.
x 0 1 2 3
p(x) 0.1 0.3 0.4 0.1
y -5 0 5 10
p(y) 0.01 0.95 0.01 0.03
z 14 12 -7 13
p(z) 0.25 0.46 0.04 0.24
2 Roll two dice and let X be the sum of the two numbers. Find
and graph the probability distribution of X. Comment on the
distribution.
3 At a raffle, 2000 tickets are sold at 25 Dhs each for five prizes of
10000, 5000, 2500, 1250, and 500. You buy one ticket. Find the
probability distribution of the possible gains.
Chapter 5 MTH213: Business Statistics 11 / 31
Discrete Random Variables Discrete Probability Distributions
Exercises
3 The number of defects in a machine-made product is a random
variable X with the following probability distribution:
x 0 1 2 3 4
p(x) 0.1 0.2 0.3 0.3 0.1
a What is the probability that a child will play more than four games?
b What is the probability that a child will play at least two games?
Chapter 5 MTH213: Business Statistics 12 / 31
Discrete Random Variables Expected Values for Discrete Random Variables
Example
The probability distribution of the number of daily network blackouts
is given by
x 0 1 2
p(x) 0.7 0.2 0.1
Find the mean and variance of the number of network blackouts.
The expected value of X is
X
µ= xp(x) = (0)(0.7) + (1)(0.2) + (2)(0.1) = 0.4
P 2
To compute the variance we, first, need to compute x p(x)
X
x2 p(x) = (02 )(0.7) + (12 )(0.2) + (22 )(0.1) = 0.6
Hence, the variance of X is
X
σ2 = x2 p(x) − µ2 = 0.6 − 0.42 = 0.44
Chapter 5 MTH213: Business Statistics 14 / 31
Discrete Random Variables Expected Values for Discrete Random Variables
Exercises
1 A shopping mall estimates the probability distribution of the num-
ber of stores mall customers actually enter, as shown in the table.
x 0 1 2 3 4 5 6
p(x) 0.04 0.19 0.22 0.28 0.12 0.09 0.06
a Find the expected number of stores entered.
b Find the standard deviation of the number of stores entered.
2 An insurance company will insure a 500,000 Dhs Panamera for
its full value against theft at a premium of 8,000 Dhs per year.
Suppose that the probability that the Panamera will be stolen is
0.0075, and let X denote the insurance company’s profit.
a Set up the probability distribution of the random variable X.
b Calculate the insurance company’s expected net profit.
c Find the premium that the insurance company should charge if it
wants its expected net profit to be 10,000 Dhs?
Chapter 5 MTH213: Business Statistics 15 / 31
Discrete Random Variables Expected Values for Discrete Random Variables
Exercises
3 You are trying to develop a strategy for investing in two different
stocks. The anticipated annual return for a 1,000 Dhs investment
in each stock under four different economic conditions has the
following probability distribution:
Returns
Probability Economic Condition Stock X Stock Y
0.1 Recession -50 -120
0.3 Slow Growth 10 50
0.4 Moderate Growth 90 140
0.2 Fast Growth 150 190
a Compute the expected return for stock X and for stock Y .
b Compute the standard deviation for stock X and for stock Y .
c Would you invest in stock X or stock Y ? Explain
Chapter 5 MTH213: Business Statistics 16 / 31
Binomial Distribution
Binomial Distribution
A Bernoulli experiment is a random experiment with only two possibles
outcomes than can be classified in one of two mutually exclusive and
exhaustive ways, say, “1=success” or “0=failure”.
Let Y be the number of successes in a Bernoulli trial, then Y is called
a Bernoulli random variable.
Binomial Experiment
The Binomial experiment is a probability experiment that satisfy the
following 4 conditions:
1 Experiment consists of n identical trials (Bernoulli trials)
2 Each trial results in a success (S) or a failure (F).
3 The trials are independent.
4 Probability of success, p, is constant from trial to trial (The prob-
ability of failure is 1 − p).
Chapter 5 MTH213: Business Statistics 17 / 31
Binomial Distribution
Binomial Distribution
X ∼ B(n, p)
Exercise
Which of the following is a binomial experiment?
a A store finds that 32% of people who enter the store will make
a purchase. During a day, 50 people enter the store. The random
variable represents the number of people who don’t make a purchase.
b A jar contains 5 blue marbles, 6 green marbles, and 3 red marbles.
You randomly select 2 marbles from the jar without replacement.
You repeat that step. The random variable represents the number
of red marbles that you select.
c A surgical procedure has a 76% chance of success. A doctor per-
forms the procedure on 12 patients. The random variable represents
the number of successful surgeries.
d Thirteen items from a manufacturing process are tested every day.
Items for testing are chosen randomly and independently and clas-
sified as either defective or acceptable.
Chapter 5 MTH213: Business Statistics 20 / 31
Binomial Distribution
Binomial Distribution
Binomial Distribution
For a binomial random variable X, the probability of x successes in n
trials is given by the binomial distribution:
P (X = x) = px (1 − p)n−x
n Cx
n x
= p (1 − p)n−x
x
where
x = 0, 1, . . . , n
p = Probability of success
n!
n Cx =
x!(n − x)!
Chapter 5 MTH213: Business Statistics 21 / 31
Binomial Distribution
FIGURE 6.7
Several Binomial Distributions
Binomial Distributions
0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8
Example
Records show that 30% of the customers in a shoe store pay using a
credit card. This morning 10 customers purchased shoes.
a Find the probability that 7 customers used a credit card.
This is a binomial experiment with n = 10 and p = 0.30.
P (X = 7) = 0.009
b Find the probability that at most 2 customers used a credit card.
P (X ≤ 2) = 0.38278
Example
c Find the probability that at least 9 customers used a credit card.
P (X ≥ 9) = 0.00014
µ = np = (10)(0.3) = 3 customers
Exercises
Exercises
2 The First Bank reports that 8% of its credit card holders will
default at some time in their life. The bank just mailed out 15
new cards today.
a What is the probability that none of the cardholders will default?
b What is the probability that at most two will default?
c How many of these new cardholders would you expect to default?
What is the standard deviation?
Exercises
Exercises
Exercises
Exercises