
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Ofer Harel
Department of Statistics University of Connecticut
Chapter 6 – p. 1/
In many problems, more than one population is involved. Sometimes we are concerned with estimating the difference, μ
1
μ
2
, between two population means
μ
1
and
μ
2
For
example,
We might want to estimate the differential height betweenfreshman males and females at Uconn. We might want to compare the performance of two brandsof snow tires. We might be interested in knowing if male students aremore easily bored than their female counterparts. We might want to compare the scores obtained by Uconnand Yale students on a statistical test.
Chapter 6 – p. 2/
Using the CLT we can find the sampling distribution of
y
1
and
y
2
to be
y
1
μ
1
, σ
(^21)
/n
1
and
y
2
μ
2
, σ
2 2
/n
2
respectively
Therefore, the distribution of
y
1
y
2
is normal with
μ
¯ y
1
−
¯ y
2
μ
1
μ
2
σ
2
¯ y
1
−
¯ y
2
σ
2 ¯y
1
σ
2 ¯y
2
σ
(^21)
n
1
σ
22 n
2
and standard error
σ
¯ y
1
−
¯ y
2
σ
(^21)
n
1
σ
22
n
2
Chapter 6 – p. 4/
Let
11
1
n
1
be
n
1
random sample from a normal
distribution with unknown mean
μ
1
and known variance
σ
(^21)
This sample constitutes population 1
Let
1
be the sample
mean of the sample from population 1. Let
21
2
n
2
be
n
2
random sample from a normal
distribution with unknown mean
μ
2
and known variance
σ
(^22)
This sample constitutes population 2
Let
2
be the sample
mean of the sample from population 2. We assume that the two samples are independent. We have:
1
2
μ
1
μ
2
Hence,
1
2
is an unbiased estimator of
μ
1
μ
2
Chapter 6 – p. 5/
Here we no longer assume that population 1 and population2 are normally distributed or approximately normallydistributed. We rely heavily on large-sample theory (Central LimitTheorem). Again the confidence interval
¯x
1
¯x
2
z
α/
2
σ
(^21)
n
1
σ
(^22)
n
2
forms a realization of a large-sample of CI for
μ
1
μ
2
with
approximate confidence level
α
Chapter 6 – p. 7/
Here we assume that population 1 and population 2 arenormally distributed or approximately normally distributed
with
common unknown variance
Under the assumption that
σ
1
σ
2
σ
, we have
V ar
1
2
σ
2
n
1
n
2
Under the normality assumption, it follows that
n
1
(^21)
σ
2
χ
2 n
1
−
1
and
n
2
(^22)
σ
2
χ
2 n
2
−
1
Chapter 6 – p. 8/
(^2) p
(
n
1
−
E
S
(^21)
n
2
−
E
S
(^22)
n
1
n
2
−
2
σ
2
V ar
(^2) p
(
n
1
−
2
V ar
S
(^21)
n
2
−
2
V ar
S
(^22)
n
1
n
2
−
2
2
2
σ
4
n
1
n
2
−
2
It can be shown that
n
1
n
2
(^2) p
σ
2
χ
2 n
1
n
2
−
2
Hence,
the sampling distribution of the statistic
1
2
μ
1
μ
2
p
1 n
1
1 n
2
n
1
n
2
−
2
Chapter 6 – p. 10/
The interval
¯x
1
¯x
2
t
α/
2
, n
1
n
2
−
2
s
p
n
1
n
2
forms a realization of a large-sample of CI for
μ
1
μ
2
with
confidence level
α
Chapter 6 – p. 11/
Example 2:
A civil engineer wishes to measure the
compressive strength of two different types of concrete. Arandom sample of 10 specimens of each type yielded thefollowing data (in psi)
Type 1:
Type 2:
If we assume that the samples are normal with a commonvariance, construct a 95 percent two-sided confidenceinterval for
μ
1
μ
2
, the difference in means.
Chapter 6 – p. 13/
We can also test a hypothesis about the difference of twomeans. Here the setup begins with
two independent populations
and
one would like to compare these two populations. The goal is to test if the difference between means orproportions from two independent populations aresignificantly different.
Chapter 6 – p. 14/
Possible Hypotheses: a.)
0
μ
1
μ
2
and
a
μ
1
μ
2
(two-tailed
test)
b.)
0
μ
1
μ
2
and
a
μ
1
μ
2
(upper-tailed
test)
c.)
0
μ
1
μ
2
and
a
μ
1
μ
2
(lower-tailed
test)
The value of
and
α
are specified by the user.
Test Statistic:
z
obs
x
1
¯x
2
σ
(^21)
n
1
σ
(^22)
n
2
Chapter 6 – p. 16/
Rejection Regions: a.)
Reject
0
if
z
obs
z
α/
2
or if
p-value
z
obs
α
b.)
Reject
0
if
z
obs
z
α
or if p-value
z
obs
α
c.)
Reject
0
if
z
obs
z
α
or if p-value
z
obs
α Chapter 6 – p. 17/
Rejection Regions: a.)
Reject
0
if
t
obs
t
α/
2
, n
1
n
2
−
2
or if
p-value
n
1
n
2
−
2
t
obs
α
b.)
Reject
0
if
t
obs
t
α, n
1
n
2
−
2
or if
p-value
n
1
n
2
−
2
t
obs
α
c.)
Reject
0
if
t
obs
t
α, n
1
n
2
−
2
or if
p-value
n
1
n
2
−
2
t
obs
α
Chapter 6 – p. 19/
Example 3:
Let
μ
1
and
μ
2
denote true stopping distances (feet)
for two different types of cars traveling at 50mph. Assumingnormality and
σ
(^21)
σ
2 2
, test
0
μ
1
μ
2
versus
0
μ
1
μ
2
at level 0.05 using the following data:
n
1
¯x
1
, s
1
, n
1
¯x
2
, s
1
Chapter 6 – p. 20/