Professional Documents
Culture Documents
Textbook: D.C. Montgomery and G.C. Runger, Applied Statistics and Probability for
Engineers, John Wiley & Sons, New York, 1999. Chapter 4, Sections 4.6-4.9. Pages
7-8 of the concise notes.
This assignment requires the use of MSExcel, but does not require an electronic
submission.
1. Suppose that we are doing an presidential-election survey, selecting people at random
from the Purdue University student body.
For each part below, name the relevant probability distribution, state any known
parameter values, and list any parameter values that need to be determined.
(a) (Let the experiment be to choose one person.) The last digit of the student ID
number.
------------------------------------------------------------------------------------------
Discrete (equally likely) uniform distribution with range 0, 1,..., 9.
In the Concise Notes, the parameters are a = 0, b = 9, and c = 1.
------------------------------------------------------------------------------------------
(b) (Let the experiment be to choose 50 students.) The number of chosen students who
are registered to vote in Tippecanoe County.
------------------------------------------------------------------------------------------
Binomial with n = 50 and p = P(success), where
"success" = "a randomly chosen student is registered to vote."
------------------------------------------------------------------------------------------
(c) (Let the experiment be to choose students until a registered voter is obtained.) The
number of students chosen.
------------------------------------------------------------------------------------------
Geometric with p = P(success), where
"success" = "a randomly chosen student is registered to vote."
------------------------------------------------------------------------------------------
(d) (Let the experiment be to choose students until ten registered voters are obtained.)
The number of students chosen.
------------------------------------------------------------------------------------------
Negative Binomial, with r = 10 successes and p = P(success), where
"success" = "a randomly chosen student is registered to vote."
------------------------------------------------------------------------------------------
(e) (Suppose that of 37,000 students, 3400 are registered to vote in Tippecanoe County.
Let the experiment be to choose 50 students.) The number of chosen students who
are registered to vote in Tippecanoe County.
------------------------------------------------------------------------------------------
Hypergeometric, with population size N = 37,000 students,
sample size n = 50 students, number of successes K = 3400 students,
where "success" = " a randomly chosen student is registered to vote."
------------------------------------------------------------------------------------------
- 1 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
(f) (Let the experiment be to choose a random October hour of business for the
Tippecanoe County voter-registration office.) The number of Purdue students who
register to vote during the hour.
------------------------------------------------------------------------------------------
Poisson, with mean λ = "the expected number of
Purdue students who register to vote during such an hour."
------------------------------------------------------------------------------------------
2. Result: The mean of the binomial distribution is E(X) = np, where nis the number of
Bernoulli trials and p is the probability of success on each trial. Show that this result is
correct for the special case n = 2. (Hint: Write the definition and algebraically
simplify.) (You should also think about the same exercise for the result that the variance
is V(X) = n p (1−p).).
------------------------------------------------------------------------------------------
For each step, be sure you understand the reason.
E(X) = Σ xi f (xi )
all i
I
n nM x
= Σ x J
x
J p (1 − p)n −x
x =0 L O
I
2M 0 I
2M I
2M
=0 J J p (1 − p)2−0 + 1 J J p 1 (1 − p)2−1 + 2 J J p 2 (1 − p)2−2
L
0O L
1O L
2O
= 2 p (1 − p) + 2 p 2 = 2p .
Σ
R H
= J
x 2i f (xi ) J − E2 (X)
all i
Q P
R H
I
n nM x
= Σx (1 − p)n −x − (np)2
J 2 J
J J p
J
x =0 L
x O
J
Q P
R H
I
2M 0 I
2M I
2M
= J0 (1 − p)2−0 + 12 J J p 1 (1 − p)2−1 + 22 J J p 2 (1 − p)2−2 − (2p)2
J 2 J
J J p
L
0O L
1O L
2O J
Q P
= RQ2 p (1 − p) + 4 p 2 H
− 4p 2
P
= 2p 2 − 2p = 2p(1 − p)
------------------------------------------------------------------------------------------
- 2 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
3. (From Problem 4-64.) Assume that each of your calls to a popular radio station has a
probability of 0.02 of connecting. Assume that your calls are independent.
(a) What is the probability that your first call to connect is your tenth call?.
------------------------------------------------------------------------------------------
Geometric, with p = 0.02 where "success" = "a call connects"
and X = "number of calls until connection".
Then P(X = 10) = (1 − p)10−1 p = 0.989 (0.02) = 0.0167.
------------------------------------------------------------------------------------------
(b) What is the probability that more than five calls are required to connect?
------------------------------------------------------------------------------------------
Geometric, with p = 0.02 where "success" = "a call connects"
and X = "number of calls until connection".
Then P(X > 5) = 1 − P(X ≤ 5) = 1 − Σ x5 =1 (1 − p)x −1 p
= 1 − p [1 + (1 − p) + (1 − p)2 + (1 − p)3 + (1 − p)4 ]
= 1 − (0.02) [1 + 0.98 + (0.98)2 + (0.98)3 + (0.98)4 ] = 0.904
------------------------------------------------------------------------------------------
(c) What is the mean number of calls required to connect?
------------------------------------------------------------------------------------------
Geometric, with p = 0.02 where "success" = "a call connects"
and X = "number of calls until connection".
Then E(X) = 1 / p = 1 / 0.02 = 50 calls.
------------------------------------------------------------------------------------------
(d) Suppose that both you and a friend are calling the radio station. Use MSExcel to
compute the probability that the number of calls required for you both to connect is
greater than 50. (In addition to the numerical answer, handwrite the cell code.)
------------------------------------------------------------------------------------------
Negative Binomial, with r = 2 connections and p = 0.02 where
"success" = "a call connects" and
X = "number of calls until rth connection".
Then P(X > 50) = 1 − P(X ≤ 50) = 1 − F (50) = 1 − Σ x50=1 f (x).
This function is for the pmf only, so you need to build the
cumulative probability yourself within the spread sheet.
To do this, simply compute f (x) for x = 1, 2,...,50 and sum.
------------------------------------------------------------------------------------------
- 3 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
- 4 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
(e) For n = 1, 2,..., 20, compute the probability of winning. (Use MSExcel, but you can
just handwrite a table of probabilities.)
------------------------------------------------------------------------------------------
x
i P(X = x) MSExcel code
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
1 0.250 "=HypgeomDist(1,1,20,80)"
2 0.601 "=Hypgeomdist(2,2,20,80)"
3 0.0139 ...
4 0.0031
5 0.00065
6 0.00013
7 2.44e-5
8 4.35e-6
9 7.24e-7
10 1.12e-7
11 1.6e-8
12 2.1e-9
13 2.5e-10
14 2.6e-11
15 2.3e-12
16 1.8e-13
17 1.1e-14
18 5.4e-16 ...
19 1.7e-17 "=HypgeomDist(19,19,20,80)"
20 2.8e-19 "=Hypgeomdist(20,20,20,80)"
------------------------------------------------------------------------------------------
- 5 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
5. (From Problem 4-93.) The probability that your call to a service line is answered in less
than 30 seconds is 0.75. Assume that your call waiting times are independent.
(a) If you call 10 times, what is the probability that exactly 9 calls are answered within
30 seconds.
------------------------------------------------------------------------------------------
Binomial, with n = 10 calls and p = P(success) = 0.75, where
"success" is having a call answered in less than 30 seconds.
Then X = "the number of calls answered in less than 30 seconds."
I
nM 9 n −9
P(X = 9) = J J p (1 − p) = (10)(0.75)9 (1 − 0.75)1 = 0.188.
L
9 O
------------------------------------------------------------------------------------------
(b) Suppose that you call 20 times.
------------------------------------------------------------------------------------------
Binomial, with n = 20 calls and p = P(success) = 0.75, where
"success" is having a call answered in less than 30 seconds.
Then X = "the number of calls answered in less than 30 seconds."
I
20 M
P(X = 9) = J J (0.75) (1 − 0.75))
9 20−9
.
L
9 O
- 6 of 7 - Schmeiser
Homework #6 Solution. Fall 2000, IE 230
- 7 of 7 - Schmeiser