CH 05
CH 05
CH 05
VARIABLES AND
PROBABILITY
DISTRIBUTIONS
5.1 Random Variables
Definition
A random variable is a variable
whose value is determined by the
outcome of a random experiment.
Discrete Random Variable
Definition
A random variable that assumes
countable values is called a
discrete random variable.
Examples of Discrete Random Variables
Definition
A random variable that can
assume any value contained in one
or more intervals is called a
continuous random variable.
Continuous Random Variable
Examples of Continuous Random Variables
Definition
The probability distribution of a discrete random variable lists all
the possible values that the random variable can assume and their
corresponding probabilities.
Example 5-1
Using the probability distribution listed in Table 5.3 of Example 5–1, find the
following probabilities:
(a) The probability that a randomly selected family owns two vehicles
(b) The probability that a randomly selected family owns at least two vehicles
(c) The probability that a randomly selected family owns at most one vehicle
(d) The probability that a randomly selected family owns three or more vehicles
Example 5-2: Solution
(a) No, since the sum of all probabilities is not equal to 1.0.
(b) Yes.
(c) No, since one of the probabilities is negative.
Example 5-4
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
(d) at most 1
Example 5-4: Solution
Table 5.4 Probability Distribution of the Number of
Breakdowns
Let x denote the number of breakdowns for this machine during a given
week. Table 5.4 lists the probability distribution of x.
Example 5-4: Solution
1. There are a total of 10 trials (tosses), and they are all identical.
Here, n=10.
2. Each trial (toss) has only two possible outcomes: a head and a tail.
3. The probability of obtaining a head (a success) is ½ and that of a
tail (a failure) is ½ for any toss. That is,
p = P(H) = ½ and q = P(T) = ½
4. The trials (tosses) are independent.
(b)
1. This example consists of five identical trials.
2. Each trial has two outcomes: a student uses Instagram or a student
does not use Instagram.
3. The probability p is that a student uses Instagram. The probability q
is that a student does not use Instagram. They do not remain constant
for each selection. The probability of each outcome changes with each
selection depending on what happened in the previous selections.
Example 5-10: Solution
(b)
4. Because p and q do not remain constant for each selection, the trials
are not independent.
Given that the third and fourth conditions of a binomial experiment are
not satisfied, this is not an example of a binomial experiment.
The Binomial Probability Distribution and Binomial
Formula
x n− x
P( x) =n Cx p q
where
n = total number of trials
p = probability of success
q = 1 – p = probability of failure
x = number of successes in n trials
n - x = number of failures in n trials
Example 5-11
(a) Find the probability that exactly one of these 10 packages will not
arrive at its destination within the specified time.
(b) Find the probability that at most one of these 10 packages will not
arrive at its destination within the specified time.
Example 5-12: Solution
x = number of successes = 1
n – x = number of failures = 10 – 1 = 9
(a)
10!
P( x = 1) =10 C1 (.02) (.98) =
1 9
(.02)1 (.98) 9
1!(10 − 1)!
= (10)(.02)(.83374776) = .1667
(b) At most one of the ten packages is given by the sum of the
probabilities of x = 0 and x = 1
P( x 1) = P( x = 0) + P( x = 1)
=10 C 0 (.02) 0 (.98)10 + 10 C1 (.02)1 (.98) 9
= (1)(1)(.81707281)+ (10)(.02)(.83374776)
= .8171+ .1667 = .9838
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 5-13
According to a survey, 30% of college students said that they spend too
much time on Facebook. (The remaining 70% said that they do not
spend too much time on Facebook or had no opinion.) Suppose this
result holds true for the current population of all college students. A
random sample of six college students is selected. Using Table I of
Appendix B, answer the following.
Example 5-14
(a) Find the probability that exactly three of these six college
students will say that they spend too much time on Facebook.
(b) Find the probability that at most two of these six college students
will say that they spend too much time on Facebook.
(c) Find the probability that at least three of these six college
students will say that they spend too much time on Facebook.
Example 5-14
(d) Find the probability that one to three of these six college students
will say that they spend too much time on Facebook.
(e) Let x be the number in a random sample of six college students
who will say that they spend too much time on Facebook. Write the
probability distribution of x and draw a histogram for this probability
distribution.
Table 5.10 Determining P(x = 3) for n = 6 and p = .30
Table 5.11 Portion of Table I for n = 6 and p= .30
Example 5-14: Solution
(e)
Example 5-14: Solution
Figure 5.4 Histogram for the Probability Distribution of
x
(e)
Probability of Success and the Shape of the Binomial
Distribution
= np and = npq