

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Instructor: J. Metcalfe Due: April 24, 2007
Assignment 20
(a.) Show that E[X^2 ] = np(1 + (n − 1)p). Hint: Follow the proof of E[X], and write the extra x = 1 + (x − 1). For the sum for the latter term, consider the case x = 1 separately.
(b.) Conclude that V [X] = np(1 − p).
(a.)
∑^ n
x=
x^2 p(x) =
∑^ n
x=
(1 + (x − 1))xp(x)
∑^ n
x=
xp(x) +
∑^ n
x=
(x − 1)x
n x
px(1 − p)n−x
∑^ n
x=
(x − 1)x
n x
px(1 − p)n−x
= np +
∑^ n
x=
(x − 1)x n! x!(n − x)!
px(1 − p)n−x
= np + n(n − 1)p^2
∑^ n
x=
(n − 2)! (x − 2)!(n − x)!
px−^2 (1 − p)n−x
= np + n(n − 1)p^2
n∑− 2
y=
(n − 2)! y!((n − 2) − y)!
py(1 − p)(n−2)−y
= np + n(n − 1)p^2 (p + (1 − p))n−^2 = np + n(n − 1)p^2.
where we have used in the second summation that the x = 1 term vanishes and the substitution later y = x − 2. For the last equality, we are using the Binomial Theorem. (b.) Since
V [X] = (E[X])^2 − E[X^2 ] = n^2 p^2 − np(1 + (n − 1)p) = −np + np^2 = np(1 − p).
We shall assume that batteries work independently. Thus, the probability of getting two working batteries in any given flashlight is (.9)^2 = .81. Let X = the number of working flashingts among the 10 selected. Then X ∼ Bin(10, .81). We are asked for
P (X ≥ 9) = b(9; 10, .81) + b(10; 10, .81)
=
(a.) Among the next 100 customers, what are the mean and variance of the number who pay with a debit card? Explain your reasoning.
(b.) Answer part (a.) for the number among the 100 who don’t pay with cash.
(a.) Consider paying with a debit card to be a success. Then the number amongst the next 100 customers who pay with debit = X ∼ Bin(100, .2). Thus,
E(X) = 100(.2) = 20, V (X) = 100(.2)(.8) = 16.
(b.) Now consider not paying with cash to be a success. Then the number amongst the next 100 customers who do not pay with case = X ∼ Bin(100, .7). Thus,
E(X) = 100(.7) = 70, V (X) = 100(.7)(.3) = 21.