Ch5 Sol
Ch5 Sol
5)
Tomoki Okuno
Note
• Not all solutions are provided: Exercises that are too simple or not very important to me are skipped.
• Texts in red are just attentions to me. Please ignore them.
5.1.2. Let the random variable Yn have a distribution that is Binomial(n, p).
(a) Prove that Yn /n converges in probability to p. This result is one form of the weak law of large numbers.
Solution.
iid Pn
Let X1 , ..., Xn ∼ Bernoulli(p) with µ = p and σ 2 = p(1 − p). Since Yn = i=1 Xi ,
n
P
X
Yn /n = Xi /n = X n → p by WLLN.
i=1
1
By Chebyshev’s inequality, for ∀ϵ > 0,
Var(Wn ) b
P (|Wn − µ| ≥ ϵ) ≤ = 2 p →0 as n → ∞.
ϵ2 ϵ n
This pdf is called the shifted exponential. Let Yn = min{X1 , ..., Xn }. Prove that Yn → θ in probability
by first obtaining the cdf of Yn .
Solution.
P
which means Yn → θ.
5.1.8. Using the assumptions behind the confidence interval given in expression (4.2.9), show that
s s
S12 S22 . σ12 σ2 P
+ + 2 →1
n1 n2 n1 n2
Solution.
2
Let s
σ12 σ2
r
x y .
g(x, y) = + + 2.
n1 n2 n1 n2
P P
Since S12 → σ12 and S22 → σ22 and g(x, y) is continuous at all (x, y),
s s
S12 S22 . σ12 σ2 P
+ + 2 = g(S12 , S22 ) → g(σ12 , σ22 ) = 1.
n1 n2 n1 n2
5.1.9. For Exercise 5.1.7, obtain the mean of Yn . Is Yn an unbiased estimator of θ? Obtain an unbiased
estimator of θ based on Yn .
Solution.
First, we obtain the pdf, fYn (y):
(
0 y≤θ
fYn (y) = FY′ n (y) =
ne−n(y−θ) y > θ.
Hence, Yn is biased for θ, but Yn − 1/n is unbiased since E(Yn − 1/n) = E(Yn ) − 1/n = θ.
3
Thus,
Hence
Hence
4
Solution.
The cdf of Yn is
(
0 y<n
FYn (y) =
1 y ≥ n.
5
(a) If we are to observe 60 such men and if we assume independence, use R to compute the probability
that at least 56 of them live 5 or more years.
Solution.
Let X ∼ Binomial(60, 0.95), P (X ≥ 56) = 1 - pbinom(55, 60, 0.95) = 0.820.
(b) Find an approximation to the result of part (a) by using the Poisson distribution.
Solution.
D
Let Y = 60 − X ∼ Binomial(60, 0.05), then Y ∼ Poisson(3). Using this approximation to obtain
D
indicating that Yn → N (0, 1). This is a specific case of the Central Limit Theorem.
5.2.15. Let X n denote the mean of a random sample of size n from a Poisson distribution with parameter
µ = 1.
√ √ √ √
(a) Show that the mgf of Yn = n(Xn − µ)/σ = n(Xn − 1) is given by exp[−t n + n(et/ n − 1)].
Solution.
iid t t/n
The mgf of Xi ∼ Poisson(1) is√ MX (t) = ee −1 ⇒ MX̄ (t) = [MX (t/n)]n = en(e −1)
. Hence, MY (t) =
√ √ √ t/ n √ √
e− nt MX̄ ( nt) = e− nt en(e −1)
= exp[−t n + n(et/ n − 1)].
(b) Investigate the limiting distribution of Yn as n → ∞.
√ D
Solution. By CLT, n(X n − 1) → N (0, 1).
√ p
5.2.16. Using Exercise 5.2.15 and the ∆-method, find the limiting distribution of n( X n − 1).
Solution.
√
Let g(x) = x, which is continuous at all x. Then, by the Delta method,
√ √
q
D D
n(g(X n ) − g(1)) → N (0, {g ′ (1)}2 ) ⇒ n( X n − 1) → N (0, 1/4).
5.2.17. Let X n denote the mean of a random sample of size n from a distribution that has pdf f (x) = e−x ,
0 < x < ∞, zero elsewhere.
√
(a) Show that the mgf MYn (t) of Yn = n(X n − 1) is
√ √ √ √
MYn (t) = [et/ n
− (t/ n)et/ n ]−n , t< n.
Solution.
6
Since MX (t) = (1 − t)−1 , t < 1,
Hence,
√ √ √ √ √ √ √
MYn (t) = e−t n
MX n ( nt) = e−t n (1 − t/ n)−n = [et/ n − (t/ n)et/ n ]−n .
√ p
5.2.18. Continuing with Exercise 5.2.17, use the ∆-method to find the limiting distribution of n( X n −1).
Solution. Exactly the same as 5.2.16.
5.2.19. Let Y1 < Y2 < · · · < Yn be the order statistics of a random sample (see Section 5.2) from a
distribution with pdf f (x) = e−x , 0 < x < ∞, zero elsewhere. Determine the limiting distribution of
Zn = (Yn − log n).
Solution.
as n → ∞.
5.2.20. Let Y1 < Y2 < · · · < Yn be the order statistics of a random sample (see Section 5.2) from a
distribution with pdf f (x) = 5x4 , 0 < x < 1, zero elsewhere. Find p so that Zn = np Y1 converges in
distribution.
Solution.
7
5.3 Central Limit Theorem
5.3.1. Let X denote the mean of a random sample of size 100 from a distribution that is χ2 (50). Compute
an approximate value of P (49 < X < 51).
Solution.
√ D
Since E(X) = 50, Var(X) = 100, by CLT, 100(X − 50)/10 = X − 50 → N (0, 1). Hence,
P (49 < X < 51) = P (−1 < X − 50 < 1) = Φ(1) − Φ(−1) = 0.683.
5.3.2. Let X denote the mean of a random sample of size 128 from a gamma distribution with α = 2 and
β = 4. Approximate P (7 < X < 9).
Solution.
√ √ D
Since E(X) = αβ = 8, Var(X) = αβ 2 = 32, 128(X − 8)/ 32 = 2(X − 8) → N (0, 1) by CLT. Hence,
P (21.5 ≤ Y ≤ 28.5) = P (−0.625 < (Y − 24)/4 < 1.125) = Φ(1.125) − Φ(−0.625) = 0.604.
5.3.4. Compute an approximate probability that the mean of a random sample of size 15 from a distribution
having pdf f (x) = 3x2 , 0 < x < 1, zero elsewhere, is between 53 and 45 .
Solution.
Since E(X) = 3/4 and E(X 2 ) = 3/5 ⇒ Var(X) = 3/80. Hence,
√
√ 15(X − 3/4) D
n(X − µ)/σ = p = 20(X − 0.75) → N (0, 1) by CLT.
3/80
Thus,
P (3/5 < X < 4/5) = P (−3 < 20(X − 0.75) < 1) = Φ(1) − Φ(−3) = 0.840.
Hence,
P (0.25 < Y /400) = P (100 < Y ) = P (2.5 < (Y − 80)/8) = 1-pnorm(2.5) = 0.0062.
P (Y > 100) = P (Y > 100.5) = P ((Y − 80)/8 > 2.5625) = 1-pnorm(2.5625) = 0.0052.
8
5.3.7. If Y is b(100, 21 ), approximate the value of P (Y = 50).
Solution.
Y − np Y − 50 D
p = √ → N (0, 1) by CLT.
np(1 − p) 25
5.3.8. Let Y be b(n, 0.55). Find the smallest value of n such that (approximately) P (Y /n > 21 ) ≥ 0.95.
Solution.
√
n(Y /n − 0.55) D
p → N (0, 1) by CLT.
(0.55)(0.45)
Hence,
√ √ ! √ !
n(Y /n − 0.55) −0.05 n 0.05 n
0.95 ≤ P (Y /n > 1/2) = P p >p =Φ p
(0.55)(0.45) (0.55)(0.45) (0.55)(0.45)
√ 2
0.05 n 1.645 (0.55)(0.45)
⇒p > 1.645 ⇒ n > = 267.90,
(0.55)(0.45) 0.052
where
Z 3
1 1 2
p= dx = 1 − = .
1 x2 3 3
P72
Further let Y = i=1 Wi ∼ b(72, p = 2/3), by CLT,
Y − np Y − 48 Y − 48 D
p = √ = → N (0, 1).
np(1 − p) 16 4
5.3.10. Forty-eight measurements are recorded to several decimal places. Each of these 48 numbers is
rounded off to the nearest integer. The sum of the original 48 numbers is approximated by the sum of these
9
integers. If we assume that the errors made by rounding off are iid and have a uniform distribution over the
interval (− 12 , 12 ), compute approximately the probability that the sum of the integers is within two units of
the true sum.
Solution.
Let Ui ∼ U (−0.5, 0.5). Then E(Ui ) = 0, Var(Ui ) = [0.5 − (0.5)]/12 = 1/12, which gives us
48 48
D
X p X
Ui / 48/12 = Ui /2 → N (0, 1) by CLT.
i=1 i=1
5.3.11. We know that X is approximately N (µ, σ 2 /n) for large n. Find the approximate distribution of
3
̸ 0.
u(X) = X , provided that µ =
Solution.
√ D
X approx. N (µ, σ 2 /n) ⇔ n(X − µ) → N (0, σ 2 ) by CLT.
Let g(x) = x3 , which is continuous and differentiable at x (g ′ (x) = 3x2 ). Then, by Delta method,
√ 3 3
n(X − µ3 ) ∼ N (0, 9µ4 σ 2 ) ⇔ X approx. N (µ3 , 9µ4 σ 2 /n).
Pn
5.3.12. Let X1 , X2 , ..., Xn be a random sample from a Poisson distribution with mean µ. Thus, Y = i=1 Xi
has a Poisson distribution
p with mean nµ. Moreover, X = Y /n is approximately N (µ, µ/n) for large n. Show
that u(Y /n) = Y /n is a function of Y /n whose variance is essentially free of µ.
Solution.
√ D
X approx. N (µ, µ/n) ⇔
n(X − µ) → N (0, µ) by CLT.
√ √
Let g(x) = x, which is continuous and differentiable at x (g ′ (x) = 1/(2 x)). Then, by Delta method,
√ p
√ D 1 p √ 1
n( X − µ) → N 0, ⇔ X approx. N µ, ,
4 4n
whose variance is free of µ.
5.3.13. Using the notation of Example 5.3.5, show that equation (5.3.4) is true.
Solution.
p
pb − p p(1 − p) D
pb − p
p =p p → N (0, 1) by Slutsky
pb(1 − pb)/n p(1 − p)/n pb(1 − pb)
because
pb − p D
p → N (0, 1) by CLT,
p(1 − p)/n
p
p(1 − p) P P
p → 1 by g() and WLLN (b
p → E(X) = p).
pb(1 − pb)
5.3.14. Assume√that X1 , X2 , ..., Xn is a random sample from a Γ(1, β) distribution. Determine the asymptotic
distribution of n(X − β). Then find a transformation g(X) whose asymptotic variance is free of β.
10
Solution.
Since E(X) = β, Var(X) = β 2 ,
√ D
n(X − β) → N (0, β 2 ) by CLT.
′
Let g(x) = log x, which is continuous at x > 0 and g (β) = 1/β. Thus, by Delta Method,
√ D
n(log X − log β) → N (0, {g ′ (β)}2 β 2 ) = N (0, 1).
11