Tutorial 7 2602
Tutorial 7 2602
1 Recap
Estimator properties
1. Confidence Intervals
2 This week
1. Confidence Intervals
- An interval estimator of θ is a random interval [L(X), U (X)], where L(X) := L (X1 , . . . , Xn ) and
U (X) := U (X1 , . . . , Xn ) are two statistics such that L(X) ≤ U (X) with probability 1 .
- For an interval estimator [L(X), U (X)] of θ, the confidence coefficient [L(X), U (X)], denoted by
(1 − α) is the infimum of the coverage probabilities P(θ ∈ [L(x), U (x)]), that is,
1
- If σ 2 is unknown, a 1 − α confident interval of µ is
s s
x̄ − tα/2,df =n−1 √ , x̄ + tα/2,df =n−1 √
n−1 n−1
X̄−µ
- √
S/ n−1
∼ tn−1 .
- When n → ∞, the distribution function of tn tends to the distribution function of N (0, 1).
3 Exercise
1. A publisher wants to estimate the mean length of time (in minutes) all adults spend on reading
newspaper. To determine this estimate, the publisher takes a random sample of 15 people and
obtains the following results
a. Construct a 90% confidence interval for the population mean if the publisher assumes that σ is
1.5 minutes from past studies.
b. Construct a 90% confidence interval for the population mean if the publisher assumes that σ is
unknown.
Solution:
a. Normal population with known population variance. Let µ be the population, mean length
2
of time all adults spent on reading news paper.
σ
CI90% (µ) = x̄ ± z0.05 √ Note: x̄ = 9.0667, z0.05 = 1.645
n
1.5
= 9.0667 ± 1.645 √
15
= [8.4296, 9.7038]
2. An education officer wants to use the mean of a random sample of 16 students to estimate the
mean score (µ) that all students of the city would get if they took a certain MAF-test. Based on
experience, the officer knows that the population has a normal distribution with σ = 35.
137, 125, 184, 116, 98, 163, 150, 145, 178, 163, 151, 103, 75, 86, 193, 141
c. If the education officer wants to obtain a 99% confidence interval for with a width not exceeding
20 points, how many students must be included for sample test?
Solution:
3
c.
σ
CI = 2z0.005 √ ⩽ 20
n
2z0.005 σ 2
⇒n⩾ ≈ 81.2883
20
∴ n = 82
3. Consider a random sample T1 , T2 , . . . , Tn drawn from an exponential distribution with rate λ > 0.
P
a. Show that 2λ Ti has a Chi-squared distribution with 2n degrees of freedom. (Hint: Chi-
squared distribution with n degrees of freedom is the same as Gamma (0.5n, 0.5), the Gamma
distribution with the shape parameter equal to 0.5n and the rate parameter equal to 0.5 . The pdf
of Gamma(α, β) is f (x) = β α xα−1 e−βx /Γ(α).)
Solution:
a.
iid
Ti ∼ Exp(λ), λ > 0 (1)
λ
∴ MTi (t) = for t < λ (2)
λ−t
X n
Let Y = 2λ Ti (3)
i=1
4
b.
n
X
∵ Y = 2λ Ti ∼ χ22n
i=1
n
!
X
∴1−α=P χ21− α ,2n < 2λ 2
Ti < χ α ,2n
2 2
i=1
χ21− α ,2n χ2α ,2n
!
2
=P < λ < P2n
2 ni=1 Ti
P
2 i=1 Ti
" 2
χ2α ,2n
#
χ1− α ,2n
2 2
∴ CI(1−α) (λ) = , P
2 ni=1 Ti 2 ni=1 Ti
P
4. Suppose that we obtained a single observation Y from an exponential distribution with mean
θ, f (y) = 1θ e−y/θ I(y ≥ 0). Use Y to form a 90% confidence interval for θ.
Solution:
5
y y
∴ CI90% (θ) = [ 2.9957 , 0.0513 ], where y is the single observation of Y.