CH 4
CH 4
where Z ∼ N(0, 1) and with the fact that X ∼ N(µ, 1/4). Thus,
we have over a 95% change of covering the unknown parameter
with our interval estimator. Note that for any point estimator µ̂ of
µ, we have P(µ̂ = µ) = 0. Sacrificing some precision in the interval
estimator, in moving from a point to an interval, has resulted in
increased confidence that our assertion about µ is correct.
4.1 Basic concepts
I Definition 4.3. (Confidence coefficient) For an interval
estimator [L(X), U(X)] of θ, the confidence coefficient of
[L(X), U(X)], denoted by (1 − α), is
P(T ≥ tα,df =k ) = α
Z
T =p
U/(n + m − 2)
p
[(X − Y ) − (µX − µY )]/ σ 2 /n + σ 2 /m
= q
(nSX2 + mSY2 )/[σ 2 (n + m − 2)]
(X − Y ) − (µX − µY )
=
R
is tn+m−2 , where
s
nSX2 + mSY2
1 1
R= + .
n+m−2 n m
where s
nsX2 + msY2
1 1
r= + .
n+m−2 n m
4.2 Confidence intervals for means - Two-sample case
nS 2
2 2
1 − α = P χ1−α/2,df =n−1 ≤ 2 ≤ χα/2,df =n−1
σ
!
nS 2 nS 2
2
=P ≤σ ≤ 2 ,
χ2α/2,df =n−1 χ1−α/2,df =n−1
P(T ≥ χ2α,df =n ) = α
ns 2 25(2.9) 25(2.9)
= ≈ ≈ 1.8420,
χ2α/2,df =n−1 χ20.025,df =24 39.36
ns 2 25(2.9) 25(2.9)
= ≈ ≈ 5.8468,
χ21−α/2,df =n−1 χ20.975,df =24 12.40
U/r1
Fr1 ,r2 =
V /r2
Formula derivation
By Property 4.1(ii),
nSX2 2 mSY2
∼ χ n−1 and ∼ χ2m−1 .
σX2 σY2
mSY2 nSX2
.
∼ Fm−1,n−1 ,
σY2 (m − 1) σX2 (n − 1)
Formula derivation
Let X be an independent random sample from a population, which
has the mean µ and the variance σ 2 < ∞. According to Theorem
4.1, CLT and the fact that S →p σ, we have
√ √
n(X − µ) n(X − µ) S
= · →d N(0, 1), (4.1)
S σ σ
for large n. Hence, by (4.1), it follows that for large n,
√
n(X − µ)
1 − α ≈ P −zα/2 ≤ ≤ zα/2
S
S S
= P X − zα/2 √ ≤ µ ≤ X + zα/2 √ .
n n
4.4 Confidence intervals: Large samples
p = P (X ∈ (a, b)) .
Define ξ = I(a < X < b). Then, E(ξ) = p. This indicates that p is
the theoretical mean of ξ. Hence, by (4.2), an approximated 1 − α
confidence interval of p is
Sξ Sξ
ξ − zα/2 √ , ξ + zα/2 √ , (4.3)
n n
There has certain possibility that p is less than 50%, and the
candidate should take this into account in campaigning.