












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to examples on constructing confidence intervals for the difference in means and proportions from a statistical perspective. It covers the cases where the variances are known and unknown, and assumes normal distributions. The document also includes an example on estimating the difference between proportions in large samples.
Typology: Study notes
1 / 20
This page cannot be seen from the preview
Don't miss anything!













Cyr Emile M’LAN, Ph.D.
Parameter Estimation: Part III
Parameter Estimation: Part III
Constructing Confidence Interval for
μ
1
−
μ
2
α
μ
1
μ
2
z
α/
2
σ
2 1
n
σ
2 2
m
z
α/
2
σ
2 1
n
σ
2 2
m
z
α/
2
σ
2 1
n
σ
2 2
m
Parameter Estimation: Part III
Constructing Confidence Interval for
μ
1
−
μ
2
α
μ
1
μ
2
z
α/
2
σ
2 1
n
σ
2 2
m
α
μ
1
μ
2
z
α/
2
σ
2 1
n
σ
2 2
m
Parameter Estimation: Part III
Constructing Confidence Interval for
μ
1
−
μ
2
We have:
Var
(
X
−
Y
) =
σ
21
n
σ
22
m
=
σ
2
(
1 n
1
m
)
We know that the statistics,
S
2 1
and
S
2 2
(sample variances for the two
populations) are two unbiased estimates of
σ
2
. i.e., E
(
S
2 1
) =
σ
2
and
E
(
S
2 2
) =
σ
2
. In addition, under the normality assumption, we have
(
n
−
S
2 1
σ
2
∼
χ
2 n
−
1
and
(
m
−
S
2
2
σ
2
∼
χ
2 m
−
1
As a consequence, Var
(
S
2 1
) =
2
σ
4
n
−
1
and Var
(
S
2 2
) =
2
σ
4
m
−
1
The statistic
S
2 p
=
(
n
−
S
2 1
m
−
S
2
2
n
m
−
2
is an unbiased estimator of
σ
2
and also have smaller variance than
both sample variance
S
2 1
and
S
2 2
, therefore better.
S
2 p
is called a
pooled sample variance
.
Parameter Estimation: Part III
Constructing Confidence Interval for
μ
1
−
μ
2
Indeed, we have:
E
(
S
2 p
)
=
(
n
−
E
(
S
2 1
)
m
−
E
(
S
2 2
)
n
m
−
2
=
σ
2
Var
(
S
2 p
)
=
(
n
−
2
Var
(
S
2
1
)
m
−
2
Var
(
S
2 2
)
(
n
m
−
2
)
2
=
2
σ
4
n
m
−
2
It can be shown that
(
n
m
−
2
)
S
2 p
σ
2
∼
χ
2 n
m
−
2
.
Hence,
The sampling distribution of the statistic,
T
is as follows:
T
=
(
X
−
Y
)
−
(
μ
1
−
μ
2
)
S
p
√
1 n
1
m
∼
T
n
m
−
2
.
Parameter Estimation: Part III
μ
−
μ
Example 7.
:
A farm-equipment manufacturer wants to compare the average dailydowntime for two sheet-metal stamping machines located in twodifferent factories. Investigation of company records for 10 randomlyselected days on each of the two machines gave the followingresults.
n
1
= 10
¯ x
1
= 12
min
s
2 1
= 6
n
2
= 10
¯ x
2
= 9
min
s
2 2
= 4
Assume that we have the common variance assumption holds.
Estimate the difference between the average daily downtime for thetwo sheet-metal stamping machines with confidence coefficient 0.95.What additional assumptions are necessary for the method used tobe valid?
(
12
−
±
2
.
101 (
.
√
1
10
1
10
= 3
±
2
.
101
.
Parameter Estimation: Part III
Socialism:
You give one to your neighbour.
Communism:
The government takes both
and give you the milk. Fascism:
The government takes both and
sells you the milk. Nazism:
The government takes both and
shoots you. Capitalism:
You sell one and buy a bull.
Trade Union:
They take both from you, shoot
one, milk the other one, and throw the milkaway.
Parameter Estimation: Part III
Example 7.
:
p
p
̂ p
±
z
α/
2
√
̂
p
(
−
̂
p
)
n
.
p
n
p
p
0
.
19
±
2
.
576
√
0
.
19(
−
0
.
200
= 0
.
19
±
0
.
0715
Parameter Estimation: Part III
α
p
̂ p
z
2 α/
2
2
n
±
z
α/
2
√
̂
p
(
−
̂ p
)
n
z
2 α/
2
4
n
2
1 +
z
2 α/
2
n
.
Example 7.23 revisited
:
Parameter Estimation: Part III
Example 7.
:
:
p
1
p
2
p
1
p
2
(̂
p
1
−
̂
p
2
)
±
z
α/
2
√
̂ p
1
(
−
̂
p
1
)
n
1
̂ p
2
(
−
̂ p
2
)
n
2
.
Parameter Estimation: Part III
p
1
p
2
n
1
p
1
p
1
n
2
p
2
p
2
(
.
25
−
0
.
±
2
.
33
√
0
.
25(
−
0
.
60
0
.
3125(
−
0
.
64
−
0
.
0625
±
0
.
1876
p
1
p
2
Parameter Estimation: Part III
Y
±
z
α/
2
σ
√
n
2
z
α/
2
σ
√
n
z
α/
2
σ
n
l
n
=
4
z
2 α/
2
σ
2
l
2
l
n
z
2 α/
2
σ
2
l
2
Parameter Estimation: Part III
p
l
n
=
4
z
2 α/
2
p
(
−
p
)
l
2
p
n
=
z
2 α/
2
l
2
p
Parameter Estimation: Part III