You are on page 1of 13

• Suppose that , , , , …, , is a

random sample of size from the normal


2
distribution with mean μ1 and variance σ1 .

• Suppose that , , , , …, , is a
random sample of size from the normal
2
distribution with mean μ2 and variance σ2 .

2 2
• Suppose that σ1 and σ2 are known and
that the samples are independent.

Find a ( − α) % con dence interval


for the difference μ1 − μ2.
𝟣
𝟤
𝟤
𝟣
𝟤
𝟤
𝟤
𝗇
𝟣
𝟣
𝟣
𝟣
𝟤
𝟣
𝗇
𝟣
𝟢
𝟢
𝟣
𝖷
𝗇
𝖷
𝖷
𝖷
𝗇
𝖷
𝖷
fi
Step One:

An estimator: −

Step Two:

Distribution of the estimator:

• ∼ (μ , σ )

• ∼ (μ , σ )
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝖷
𝖷
𝖷
𝖷
𝖭
𝖭
𝟤
𝟤
Step Two:

Distribution of the estimator:

• − is normally distributed

Mean:

[ − ] = [ ]− [ ]

=μ −μ
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝖤
𝖷
𝖷
𝖤
𝖷
𝖤
𝖷
𝖷
𝖷
Step Two:
Distribution of the estimator:

• − is normally distributed

Variance:

[ − ] = [ + (− ) ]

= [ ]+ [(− ) ]
= [ ] + (− ) [ ]
= [ ]+ [ ]
𝟣
𝟣
𝟣
𝟤
𝟤
𝟤
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝖵
𝖵
𝖵
𝖺
𝖺
𝖺
𝗋
𝗋
𝗋
𝖷
𝖷
𝖷
𝖵
𝖵
𝖺
𝖺
𝟣
𝗋
𝗋
𝖷
𝖵
𝟣
𝖺
𝗋
𝖷
𝖷
𝖷
𝖷
𝖵
𝖺
𝗋
𝖷
𝖷
𝖵
𝖺
𝗋
𝖷
𝟣
𝖷
𝟤
Step Two:
Distribution of the estimator:

• − is normally distributed

( )
σ σ
− ∼ μ −μ , +

− − (μ − μ )
= ∼ ( , )
σ σ
𝟣
𝟤
𝗇
𝗇
+
𝟣
𝟣
𝟣
𝟤
𝗇
𝗇
𝟤
𝟤
𝟣
𝟤
𝟣
𝟤
𝖷
𝖷
𝖭
𝖹
𝖭
𝟢
𝟣
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝖷
𝖷
𝖷
𝖷
𝟤
𝟤
Step Three:

Critical values:
− − (μ − μ )
− α/ < < α/
σ σ
+

Step Four:

Solve for μ1 − μ2 “in the middle”.


𝟣
𝟤
𝗇
𝗇
𝟣
𝟤
𝟤
𝟤
𝟤
𝟤
𝗓
𝗓
𝟣
𝟤
𝟣
𝟤
𝖷
𝖷
𝖷
𝖷
𝟣
𝟣
𝖷
𝟣
𝖷
𝖷
𝟣
𝟤
𝟤
𝖷

𝟤
𝗓
𝗓
𝟤

𝟤
𝟤
𝗓

α/

𝟤
𝗇
𝗇
<
𝟣
𝟣
𝟣
𝟣
𝟤
𝟤
𝗇
σ

±
𝟣
𝟣
𝟤
𝗇
𝗇

𝟤
𝟤
𝟤
𝟤
𝟤
𝟤
α/
+

𝗇
σ

<μ −μ

𝟤
𝟤
𝟤
σ
+
α/

+
σ
σ
+
σ
Example:
Fifth grade students from two neighboring
counties took a placement exam.

Group 1, from County A, consisted of 57 students.


The sample mean score for these students was
77.2. Group 2, from County B, consisted of 63
students and had a sample mean score of 75.3.

From previous years of data, it is believed that


the scores for both counties are normally
distributed, and that the variances of scores
from Counties A and B, respectively, are 15.3
and 19.7.
Example:
Find and interpret a 99% con dence interval
for μ1 − μ2, the difference in the means for the
counties.

= , = . , σ = .

= , = . , σ =
𝟣
𝟤
.
𝟣
𝟤
𝟣
𝟤
𝗇
𝗇
𝟧
𝟨
𝟩
𝟥
𝗑
𝗑
𝟩
𝟩
𝟩
𝟧
𝟤
𝟥
𝟣
𝟣
𝟧
𝟫
𝟥
𝟩
𝟤
𝟤
fi
Z-curve: (standard normal curve)

. . .

− . . = .
qnorm(0.995)
σ σ
− ± α/ +

gives (− . , . )
𝟣
𝟤
𝗇
𝗇
𝟣
𝟤
𝟤
𝖷
𝖷
𝗓
𝟣
𝟤
𝟢
𝟢
𝟢
𝟢
𝟧
𝟢
𝟢
𝟧
𝟢
𝟢
𝟧
𝟣
𝟧
𝟥
𝟪
𝟧
𝟣
𝟧
𝟢
𝟢
𝟢
𝗓
𝗓
𝟫
𝟢
𝟢
𝟫
𝟧
𝟧
𝟤
𝟧
𝟨
𝟤
𝟤
(− . , . )
This is an interval of “plausible values”
for the difference μ − μ .

Since it contains the value 0, it is


plausible that μ − μ = .

i.e. It is plausible that μ =μ.


𝟣
𝟣
𝟣
𝟤
𝟤
𝟤
𝟢
𝟢
𝟢
𝟧
𝟣
𝟧
𝟥
𝟪
𝟧
𝟣
𝟧
(− . , . )

It also seems like we can remove this


possibility if we change the percentage
for our con dence interval.
𝟢
𝟢
𝟧
𝟣
𝟧
𝟥
𝟪
𝟧
𝟣
𝟧
fi
For large samples ( > > )

− ± α/ +

is an approximate ( − α) %
con dence interval for μ − μ .
𝟣
𝟤
𝗇
𝗇
𝟣
𝟤
𝟤
𝖷
𝖷
𝗓
𝟣
𝟤
𝟣
𝟤
𝟣
𝟤
𝖲
𝖲
𝗇
𝟥
𝟢
𝗇
𝟥
𝟢
𝟣
𝟢
𝟢
𝟣
𝟤
𝟤
fi

You might also like