One-Sample Tests of Hypothesis: Mcgraw-Hill/Irwin
One-Sample Tests of Hypothesis: Mcgraw-Hill/Irwin
One-Sample Tests of Hypothesis: Mcgraw-Hill/Irwin
Plan
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 2
1. What is a Hypothesis?
A Hypothesis is a statement about the value of a
population parameter developed for the purpose
of testing.
Examples of hypotheses made about a population
parameter are:
The mean monthly income for systems
analysts is $3,625.
Twenty percent of all customers at Bovine’s
Chop House return for another meal within a
month.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 3
What is a Hypothesis?
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 4
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 5
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 7
Definitions
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 8
H 0 : μ 30 H0 : X 30
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 9
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 10
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 11
Sample
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 12
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 13
(continued)
The Hypothesis Testing Process
Sampling
Distribution of X
X
20 μ = 50
If H0 is true ... then you reject
If it is unlikely that you
the null hypothesis
would get a sample
that μ = 50.
mean of this value ... ... When in fact this were
the population mean…
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 14
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 15
The Test Statistic and
Critical Values
If the sample mean is close to the stated population
mean, the null hypothesis is not rejected.
If the sample mean is far from the stated population
mean, the null hypothesis is rejected.
How far is “far enough” to reject H0?
The critical value of a test statistic creates a “line in
the sand” for decision making -- it answers the
question of how far is far enough.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 16
The Test Statistic and
Critical Values
Sampling Distribution of the test statistic
Region of Region of
Rejection Rejection
Region of
Non-Rejection
Critical Values
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 17
Risks in Decision Making Using
Hypothesis Testing
DCOVA
Type I Error
Reject a true null hypothesis
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 18
Significance tests are conducted at
a particular level.
For example, at the
5% or 1% level of significance
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 19
Possible Errors in Hypothesis Test
Decision Making
Actual Situation
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 20
Possible Errors in Hypothesis Test
Decision Making
The confidence coefficient (1-α) is the probability of not
rejecting H0 when it is true.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 21
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 22
Figure 1 Rejection regions corresponding to
one- and two-tailed tests
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 23
Table 1 Rejection Regions for Common
Values of α, large n
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
r a l i t r b u i o n : = 0 , = 1
0 . 3
.95 probability
.05 region of
0 . 2
rejection
f ( x
0 . 1
Critical
Value
z=1.65
. 0
- 5
0 1 2 3 4
McGraw-Hill/Irwin
McGraw-Hill/Irwin Copyright© 2002 by The©McGraw-Hill
Copyright Companies,
2002 by The McGraw-Hill Inc. All
Companies, Inc.rights reserved.
All rights reserved.
10- 25
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 26
Level of Significance
and the Rejection Region
H0: μ = 30 Level of significance =
H1: μ ≠ 30
/2 /2
30
Critical values
Rejection Region
0 . 3
.95 probability
2 .025 regions
0 . 2
of rejection
f ( x
0 . 1
Critical
Value
z=1.96
. 0
- 5
-4 -3 -2 -1 0 1 2 3 4
McGraw-Hill/ Irwin
McGraw-Hill/Irwin Copyright
Copyright© 2002 by The© 2002 by The McGraw-Hill
McGraw-Hill Companies,
Companies, Inc. rights
Inc. All All rights reserved.
reserved
10- 28
Hypothesis
Tests for
Known Unknown
(Z test) (t test)
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 30
Z Test of Hypothesis for the Mean
(σ Known)
Convert sample statistic ( X ) to a ZSTAT test statistic
Hypothesis
Tests for
σKnown
Known σUnknown
Unknown
(Z test) (t test)
The test statistic is:
X μ
ZSTAT
σ
n
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 31
Critical Value
Approach to Testing
DCOVA
For a two-tail test for the mean, σ known:
Convert sample statistic (X ) to test statistic (ZSTAT)
Determine the critical Z values for a specified
level of significance from a table or by using
computer software
Decision Rule: If the test statistic falls in the rejection
region, reject H0 ; otherwise do not reject H0
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 32
Two-Tail Tests
H0: μ = 30
There are two
H1: μ 30
cutoff values
(critical values),
defining the
regions of /2 /2
rejection
30 X
Reject H0 Do not reject H0 Reject H0
-Zα/2 0 +Zα/2 Z
Lower Upper
critical critical
value value
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 33
EXAMPLE 1
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 34
EXAMPLE 1 continued
EXAMPLE 1 continued
at a decision.
X 16 .12 16 .00
z 1.44
n 0.5 36
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 36
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 37
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 38
Testing for a Population Mean: Small Sample,
Population Standard Deviation Unknown
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 39
Testing for the Population Mean: Large Sample,
Population Standard Deviation Unknown
X
z
s/ n
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 40
EXAMPLE 2
Roder’s Discount Store chain issues its own credit
card. Lisa, the credit manager, wants to find out if
the mean monthly unpaid balance is more than
$400. The level of significance is set at .05. A
random check of 172 unpaid balances revealed the
sample mean to be $407 and the sample standard
deviation to be $38. Should Lisa conclude that the
population mean is greater than $400, or is it
reasonable to assume that the difference of $7
($407-$400) is due to chance?
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 41
EXAMPLE 2 continued
X $407 $400
z 2.42
s n $38 172
H0 is rejected. Lisa can conclude that the mean
unpaid balance is greater than $400.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 42
Example 3
The current rate for producing 5 amp fuses at Neary
Electric Co. is 250 per hour. A new machine has been
purchased and installed that, according to the supplier,
will increase the production rate. A sample of 10
randomly selected hours from last month revealed the
mean hourly production on the new machine was 256
units, with a sample standard deviation of 6 per hour. At
the .05 significance level can Neary conclude that the
new machine is faster?
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 43
Example 3 continued
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 44
Example 3 continued
Step 4: State the decision rule. There are 10 – 1 = 9 degrees of
freedom. The null hypothesis is rejected if t > 1.833.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 46
Test of hypothesis about a
population proportion
p
z
(1 )
n
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 47
EXAMPLE 4
In the past, 15% of the mail order solicitations for a certain
charity resulted in a financial contribution. A new solicitation
letter that has been drafted is sent to a sample of 200 people
and 45 responded with a contribution. At the .05 significance
level can it be concluded that the new letter is more effective?
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 48
Example 4 continued
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.
10- 49
Example 4 continued
Step 4: State the decision rule.
The null hypothesis is rejected if z is greater than 1.65.
Step 5: Make a decision and interpret the results.
45
.15
p 200
z 2.97
(1 ) .15 (1 .15 )
n 200
The null hypothesis is rejected. More than 15 percent are
responding with a pledge. The new letter is more
effective.
McGraw-Hill/Irwin Copyright © 2002 by The McGraw-Hill Companies, Inc. All rights reserved.