













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
Lecture notes from a statistics 511 course at purdue university, taught by dr. Levine, on testing hypotheses about a population mean using z and t tests. The notes cover the concepts of upper-tailed, lower-tailed, and two-tailed tests, as well as the calculation of the rejection regions and the probability of type i and type ii errors.
Typology: Study notes
1 / 21
This page cannot be seen from the preview
Don't miss anything!














Purdue University
Lecture 15: Tests about a Population Mean
Devore: Section 8.
Aug, 2006
Purdue University
A Normal Population with known
σ
basic principles of test procedure designThis case is not common in practice. We will use it to illustrate
Let
1 ,... , X
n
be a sample size
n
from the normal
population. The null value of the mean is usually denoted
μ
0
μ > μ and we consider testing either of the three possible alternatives
0 ,
μ < μ
0
and
μ
μ
0
The test statistic that we will use is
μ
0
σ/
n
It measures the distance of
from
μ
0
in standard deviation
units.
Aug, 2006
Purdue University
Now consider the case of
a
μ
μ
0
. The rejection region
here consists of
z
c
and
z
c
.
For simplicity, consider the case
α
. Then,
c
or
c | Z
c
) + 1
c ) = 2[
c
)]
Therefore, we select
c
such that
c ) =
c
) = 0
; it is
z
0 . 025
. This test
is called a
two-tailed test
.
Aug, 2006
Purdue University
Summary
Let
H 0 : μ = μ 0
; define the test statistic
¯
X
−
μ
0
σ/
√
n
.
a
μ > μ
0
has the rejection region
z
z
α
and is called
an
upper-tailed test
a
μ < μ
0
has the rejection region
z
z
α
and is
called an
lower-tailed test
a
μ
μ
0
has the rejection region
z
z
α/
2
or
z
z
α/
2
and is called a
two-tailed test
Aug, 2006
Purdue University
Example
Consider Ex. 8.6 in Devore.
Parameter of interest is
μ
true average activation
temperature.
0
μ
; H a : μ
.
Test statistic is
¯x
μ
0
σ/
n
¯x
Aug, 2006
Purdue University
Rejection region is
z
z
α/
2
or
z
z
α/
2
. If
α
, we
have
z
z
0 . 005
and
z
z
0 . 005
With
n
and
¯x
,
z
Since
is outside the rejection region, we fail to reject
0
at
significance level
.
Aug, 2006
Purdue University
a
μ > μ
0
has the probability of Type II Error
Φ ( z α + μ 0 − μ ′
σ/
√
n
a
μ < μ
0
has the probability of Type II Error
1 − Φ ( − z α + μ 0 − μ ′
σ/
√
n
a
μ
μ
0
has the probability of Type II Error
z
α/
2 + μ 0 − μ ′
σ/
√ n ) − Φ ( − z
α/
2 + μ 0 − μ ′
σ/
√
n
Aug, 2006
Purdue University
Sample Size Determination
specific valueSometimes, we want to bound the value of Type II error for a
μ
′ .
Consider Ex. 8.6 again, fix
α
and specify
β
for such an
alternative value. For
μ
′
= 132
we may want to require
β
in addition to
α
.
The sample size required for that purpose is such that
Φ ( z α + μ 0 − μ ′
σ/
n
β
Aug, 2006
Purdue University
Large Sample Tests
normal population distribution or a knownmodified to yield valid test procedures without requiring either aWhen the sample size is large, the z tests described earlier are
σ
.
Let us assume
n >
. Then, the test statistic
Z
μ
0
n
is approximately standard normal
procedure for which the significance level is approximatelyThe use of the same rejection regions as before results in a test
α
.
Aug, 2006
Purdue University
A Normal Population Distribution
When
n
is small, we can no longer invoke CLT as a justification
for the large sample test
X Remember that for a normally distributed random sample
1 ,... , X
n
, the statistic
μ
n
has a
t
distribution with
n
df
Therefore, we have the test with
H 0 : μ = μ 0
and a test
statistic value
t
¯x −
μ 0
s/
√
n
(^).
Aug, 2006
Purdue University
Example
The
Edison Electric Institute
publishes figures on the annual
number of kilowatt hours expended by various home appliances.
It is claimed that a vacuum cleaner expends an average of
kilowatt hours per year.
Suppose a planned study includes a random sample of
homes and it indicates that VC’s expend an average of
kilowatt hours per year with
s
kilowatt hours.
Assuming the population normality, design a
level test to
see whether VC’s spend less than
kilowatt hours annually
Aug, 2006
Purdue University
0
μ
kilowatt hours and
a
μ <
kilowatt hours
Assuming
α
, we have a critical region
t <
where
t
¯x
μ
0
s/
n
with
df
The value of the statistic is
t
Since
t
is not in the rejection region, we fail to reject
0 .
Aug, 2006
Purdue University
Figure 1:
Aug, 2006
Purdue University
Calculating
β
First, we select
μ
′
and the estimated value for unknown
σ
.
Then, we find an estimated value of
d = | μ 0 − μ ′ |
/σ
. Finally,
the value of
β
is the height of the
n
df curve above the
value of
d
If
n
is not the value for which the corresponding curve
appears visual interpolation is necessary
Aug, 2006