Professional Documents
Culture Documents
Business Statistics: A Decision-Making Approach: Introduction To Hypothesis Testing
Business Statistics: A Decision-Making Approach: Introduction To Hypothesis Testing
A Decision-Making Approach
6th Edition
Chapter 8
Introduction to
Hypothesis Testing
H0 : μ 3 H0 : x 3
proven guilty
Refers to the status quo
Always contains “=” , “≤” or “” sign
May or may not be rejected
Claim: the
population
mean age is 50.
(Null Hypothesis:
Population
H0: = 50 )
Now select a
random sample
Is x 20 likely if = 50?
If not likely, Suppose
the sample
REJECT mean age Sample
Null Hypothesis is 20: x = 20
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc.
Reason for Rejecting H0
Sampling Distribution of x
x
20 = 50
If H0 is true
If it is unlikely that ... then we
we would get a reject the null
sample mean of ... if in fact this were hypothesis that
this value ... the population mean… = 50.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-8
Level of Significance,
Type I Error
Reject a true null hypothesis
Type II Error
Fail to reject a false null hypothesis
State of Nature
Decision H0 True H0 False
Do Not
No error Type II Error
Key: Reject
(1 - ) (β)
Outcome H0
(Probability) Reject Type I Error No Error
H0 () (1-β)
β when
β when σ
β when n
H0: μ ≤ 3
The cutoff value,
zα or xα , is called a HA: μ > 3
critical value
σ
x μ z
n
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-18
Two Tailed Tests
σ
x /2 μ z /2
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. n Chap 8-19
Critical Value
Approach to Testing
Convert sample statistic ( x ) to a test statistic
( Z or t statistic )
Hypothesis
Tests for
Known Unknown
Large Small
Samples Samples
Hypothesis
Tests for μ
Known Unknown
Hypothesis
Tests for
Known Unknown
Hypothesis
Tests for
Known Unknown
= .05
-zα= -1.645 0
= .05
z
Reject H0 Do not reject H0
-1.645 0
-2.0
Since z = -2.0 < -1.645, we reject the null
hypothesis that the mean number of TVs in US
homes is at least 3
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-28
Hypothesis Testing Example
(continued)
An alternate way of constructing rejection region:
Now
expressed
= .05 in x, not z
units
x
Reject H0 Do not reject H0
2.8684 3
2.84
σ 0.8
x α μ zα 3 1.645 2.8684
Since x = 2.84 < 2.8684, n 100
we reject the null
hypothesis
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-29
p-Value Approach to Testing
Convert Sample Statistic (e.g. x ) to Test
Statistic ( Z or t statistic )
Obtain the p-value from a table or computer
Compare the p-value with
If p-value < , reject H0
If p-value , do not reject H0
= .05
P( x 2.84 | μ 3.0)
p-value =.0228
2.84 3.0
P z
0.8 x
100
2.8684 3
P(z 2.0) .0228
2.84
= .05
Here: p-value = .0228 p-value =.0228
= .05
Since .0228 < .05, we reject
the null hypothesis
2.8684 3
2.84
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-33
Example: Upper Tail z Test
for Mean ( Known)
A phone industry manager thinks that
customer monthly cell phone bill have
increased, and now average over $52 per
month. The company wishes to test this
claim. (Assume = 10 is known)
= .10
= .10
The sampling
distribution of p is Hypothesis
normal, so the test Tests for p
statistic is a z
value:
np 5 np < 5
and or
pp
z n(1-p) 5 n(1-p) < 5
p(1 p)
Not discussed
n in this chapter
A marketing company
claims that it receives
8% responses from its
mailing. To test this
claim, a random sample
of 500 were surveyed
Check:
with 25 responses. Test
at the = .05 n p = (500)(.08) = 40
significance level. n(1-p) = (500)(.92) = 460
Do not reject H0
Reject H0 Reject H0 p-value = .0136:
/2 = .025 /2 = .025
P(z 2.47) P(x 2.47)
.0068 .0068 2(.5 .4932)
2(.0068) 0.0136
-1.96 0 1.96
z = -2.47 z = 2.47
50 52
Reject Do not reject
H0: μ 52 H0 : μ 52
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-48
Type II Error
(continued)
Suppose we do not reject H0: 52 when in fact
the true mean is = 50
50 52
Reject Do not reject
H0: 52 H0 : 52
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-49
Type II Error
(continued)
Suppose we do not reject H0: μ 52 when
in fact the true mean is μ = 50
Here, β = P( x cutoff ) if μ = 50
β
50 52
Reject Do not reject
H0: μ 52 H0 : μ 52
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-50
Calculating β
Suppose n = 64 , σ = 6 , and = .05
σ 6
cutoff x μ z 52 1.645 50.766
(for H0 : μ 52) n 64
So β = P( x 50.766 ) if μ =
50
50 50.766 52
Reject Do not reject
H0: μ 52 H0 : μ 52
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-51
Calculating β
(continued)
Suppose n = 64 , σ = 6 , and = .05
50.766 50
P( x 50.766 | μ 50) P z P(z 1.02) .5 .3461 .1539
6
64
Probability of
type II error:
β = .1539
50 52
Reject Do not reject
H0: μ 52 H0 : μ 52
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-52
Using PHStat
Options
Input
Output