Professional Documents
Culture Documents
EXAMPLE 8.8
Mean Hours of Study for the Class Yesterday
T A B L E 8 . 3 Hours of Study
Yesterday for a Population of A class of N 200 students is asked, “To the nearest hour, how many hours did
College Students you study yesterday?” The instructor is interested only in the responses of the
students in his class, so the 200 students in the class constitute a population.
The probability distribution of the responses is shown in Table 8.3.
X Hours Number of
of Study Students Probability What is the mean number of hours studied the previous day in this popula-
0 16 16/200 .08
tion? The answer can be found using the formula E(X ) xi pi , and the calcu-
1 28 28/200 .14 lation is
2 50 50/200 .25
E(X ) (0 .08) (1 .14) (2 .25) (3 .18) (4 .13)
3 36 36/200 .18
4 26 26/200 .13 (5 .11) (6 .07) (7 .03) (8 .01)
5 22 22/200 .11
2.96 hours
6 14 14/200 .07
7 6 6/200 .03 This mean can also be calculated in the usual way that we average 200 individ-
8 2 2/200 .01
ual values, which is that we can total the 200 individual values and divide that
Total 200 1.00
total by N 200. ◆
Mean and Standard Deviation Suppose a population has N individuals and a measurement X is of inter-
for a Population est. Define:
E(X )
1
N k x p
i i i
(ki )2
Standard deviation of X N
(xi )2pi
The following four examples illustrate a few subtle features of binomial random
variables that could initially be confusing. Keep these points in mind when try-
ing to determine whether a random variable fits the binomial description:
◆ There may be more than two possible outcomes for each trial, but the ran-
dom variable counts how many times a particular subset of the possibili-
ties occurs. Anything in that subset is a “success” and anything not in
the subset is a “failure.” For example, a single die can display either 1, 2,
8.5
The word binomial is from the Latin bi “two,” and nomen “name.” Ex-
plain why the word binomial is appropriate for a binomial random variable.
n!
P(X k) pk(1 p)nk for k 0, 1, 2, . . . , n
k!(n k)!
The formula for P(X k) is made up of two parts.
1. The first part, n!/k!(n k)!, gives the number of simple events in the
sample space (consisting of all possible listings of successes and fail-
ures in n trials) that have exactly k successes. The notation n! is read
“n-factorial,” and it is the product of the integers from 1 to n. For in-
stance, 3! 1 2 3 6. By convention, 0! 1.
2. The second part, pk(1 p)nk, gives the probability for each of the sim-
ple events for which X k.
RANDOM VARIABLES 231
EXAMPLE 8.9
Probability of Two Wins in Three Plays
Suppose that the probability that you win a game is .2 for each play and
plays of the game are independent of one another. Let X number of wins in
three plays. What is P(X 2), the probability that you win exactly twice in
three plays? For this problem, X is a binomial random variable with n 3
.512
.5 and success probability p .2. Also, 1 p .8 and k 2 in the formula for
P(X k).
.4 .384
◆ There are
Probability
.3
3! 6
3
.2 2!(3 2)! 2(1)
.096
.1 simple events that produce X 2. The three sequences with two wins
.008 are WWL, WLW, and LWW.
.0
0 1 2 3 ◆ For each of these simple events, the probability is pk(1 p)nk
x = Number of wins (.2)2(.8)1 .032.
FIGURE 8.1 Probability distribution ◆ So the probability of exactly two wins is P(X 2) 3(.032) .096.
function for binomial random variable
with n 3 and p 2 The complete probability distribution function (pdf) for X number of wins in
three plays is graphed in Figure 8.1. See if you can verify that P(X 1) .384.
Using Excel to Find “By hand” calculations of probabilities for binomial variables are te-
Binomial Probabilities tech
note
dious. Fortunately, binomial probabilities are available in many
computer software programs and calculators. To find binomial
probabilities using Excel,
EXAMPLE 8.10
Excel Calculations for Number of Girls in Ten Births
Let X number of girls in ten births, and assume that p .488 is the probabil-
ity that any birth is a girl. As noted in Chapter 7, this value of p is based on
birth records in the United States. We can use Excel to find that the probabil-
ity of exactly seven girls in ten births is BINOMDIST(7,10,.488,false) .106.
The probability of seven or fewer girls is BINOMDIST(7,10,.488,true)
.953. ◆
232 CHAPTER 8
Note: To find probabilities for several values of k at once, first store the
values in a column of the worksheet, and then specify that column as
“Input Column.” ◆
EXAMPLE 8.11
Guessing Your Way to a Passing Score
You’ve been busy lately, so busy you’re surprised to learn when you arrive at
today’s statistics class that a 15-question True-False quiz is on the agenda. The
quiz is about readings that haven’t been discussed during class and you haven’t
done the readings, so you’re forced to guess at every question. You’ll pass the
quiz if you get ten or more correct answers, so you wonder about P(X 10),
where X number of correct answers. X is a binomial random variable with
n 15 trials and p .5 is the success probability for any question. To find the
probability of ten or more correct answers, note that you’ll either get ten or more
questions right, or you’ll get nine or fewer right. So, the answer for P(X 10) can
be found by determining the cumulative probability P(X 9), and then subtract-
ing that value from 1. Here’s Minitab output with the value of P(X 9):