6th Edition
Chap 8-1
Chapter Goals
After completing this chapter, you should be able to:
Formulate null and alternative hypotheses for applications involving a single population mean or proportion Formulate a decision rule for testing a hypothesis Know how to use the test statistic, critical value, and p-value approaches to test the null hypothesis Know what Type I and Type II errors are Compute the probability of a Type II error
Chap 8-2
What is a Hypothesis?
population mean
Example: The mean monthly cell phone bill of this city is Q = $42
population proportion
Example: The proportion of adults in this city with cell phones is p = .68
Chap 8-3
: u3
:xu3
Chap 8-4
Begin with the assumption that the null hypothesis is true Similar to the notion of innocent until proven guilty Refers to the status quo Always contains = , or u sign May or may not be rejected
Chap 8-5
e.g.: The average number of TV sets in U.S. homes is less than ( HA: Q < )
Challenges the status quo Never contains the = , or u sign May or may not be accepted Is generally the hypothesis that is believed (or needs to be supported) by the researcher
Chap 8-6
Population
Now select a random sample
Is x ! 20 likely if Q = 50?
If not likely, REJECT Null Hypothesis Suppose the sample mean age is 20: x = 20 Sample
x 20
Q = 50
If H0 is true
Level of Significance, E
Defines rejection region of the sampling distribution Typical values are .01, .05, or .10
Is selected by the researcher at the beginning Provides the critical value(s) of the test
Chap 8-9
H0 : HA :
<
E
Lower tail test
H0 : HA : >
Upper tail test
E
0
H0 : = HA :
E/2
Two tailed test
E/2
0
Chap 8-10
Type I Error Reject a true null hypothesis Considered a serious type of error The probability of Type I Error is E
Chap 8-11
Type II Error Fail to reject a false null hypothesis The probability of Type II Error is
Chap 8-12
Chap 8-13
Type I error can only occur if H0 is true Type II error can only occur if H0 is false If Type I error probability ( E ) Type II error probability ( )
Chap 8-14
, then
when the difference between hypothesized parameter and its true value
n
Chap 8-15
Convert sample statistic (e.g.: x ) to test statistic ( Z or t statistic ) Determine the critical value(s) for a specified level of significance E from a table or computer If the test statistic falls in the rejection region, reject H0 ; otherwise do not reject H0
Chap 8-16
H 0: HA:
3 <3
Reject H0
-z x
Do not reject H0
x E ! zE
n
Chap 8-17
H 0: HA:
3 >3
Do not reject H0
z x
Reject H0
x E ! zE
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
n
Chap 8-18
H 0: HA:
=3 {3
z
or
/2
E/2
/2 Lower
Reject H0 Do not reject H0
/2 /2
E/2
Reject H0
/2 /2
x x
/2 Upper
-z x
0
0
z x
Lower
Upper
x E/2 ! s z E/2
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
Chap 8-19
Large Samples
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
Small Samples
Chap 8-20
!
Large Samples
Small Samples
Chap 8-21
W Unknown
1
s
z!
x n
Large Samples
Small Samples
Chap 8-22
1
s
Large Samples
(The population must be approximately normal)
Small Samples
Chap 8-23
1. Specify the population value of interest 2. Formulate the appropriate null and alternative hypotheses . Specify the desired level of significance 4. Determine the rejection region 5. Obtain sample evidence and compute the test statistic 6. Reach a decision and interpret the result
Chap 8-24
1. Specify the population value of interest The mean number of TVs in US homes 2. Formulate the appropriate null and alternative hypotheses H 0: u3 HA: < 3 (This is a lower tail test) 3. Specify the desired level of significance Suppose that E = .05 is chosen for this test
Chap 8-25
E = .05
Reject H0
Do not reject H0
-z = -1.645
This is a one-tailed test with E = .05. Since is known, the cutoff value is a z value: Reject H0 if z < zE = -1.645 ; otherwise do not reject H0
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc. Chap 8-26
Suppose a sample is taken with the following results: n = 100, x = 2.84 (W = 0.8 is assumed known)
n
! 2
Chap 8-27
E = .05
z
Reject H0 Do not reject H0
-1.645 -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
E = .05
2.8684 2.84
x ! z
!3 .
0. 00
! .
Chap 8-29
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 E
Chap 8-30
p-value: Probability of obtaining a test statistic more extreme ( or u ) than the observed sample value given H0 is true
Also called observed level of significance Smallest value of E for which H0 can be rejected
Chap 8-31
p-value example
Example: How likely is it to see a sample mean of 2.84 (or something further below the mean) if the true mean is Q = 3.0?
. | ! 3.0)
E = .05
P( x
. 3.0 ! z 0. 00 ! (z .0) ! .0
Chap 8-32
p-value example
(continued)
Here: p-value = .0228 E = .05 Since .0228 < .05, we reject the null hypothesis
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
p-value =.0228
2.8684 2.84
3
Chap 8-33
E = .10
Do not reject H0
z =1.28
Reject H0
.90
.10
Z .07
.08
.09
0 1.28
Critical Value = 1.28
Chap 8-36
Obtain sample evidence and compute the test statistic Suppose a sample is taken with the following results: n = 64, x = 53.1 (W=10 was assumed known)
n
Chap 8-37
Example: Decision
(continued)
E = .10
Do not reject H0
1.28 z = .88
Reject H0
Do not reject H0 since z = 0.88 1.28 i.e.: there is not sufficient evidence that the mean bill is over $52
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc. Chap 8-38
p -Value Solution
(continued)
0
Do not reject H0
1.28 z = .88
Reject H0
H0 : HA:
= 168 { 168
E = 0.05
n = 25 W is unknown, so use a t statistic Critical Value: t24 = 2.0639
Reject H0
-t /2 -2.0639
!
Do not reject H0
1.46
t /2 2.0639
Reject H0
t n 1 !
x s n
Do not reject H0: not sufficient evidence that true mean cost is different than $168
Chap 8-41
Success (possesses a certain characteristic) Failure (does not possesses that characteristic)
Chap 8-42
Proportions
(continued)
When both np and n(1-p) are at least 5, p can be approximated by a normal distribution with mean and standard deviation p(1 p) !p ! P p n
Chap 8-43
z!
pp p(1 p) n
Chap 8-45
Test Statistic:
z! pp p(1 p) n
! 2.47
Decision:
Reject H0 at E = .05
Reject .025
Conclusion:
z There is sufficient evidence to reject the companys claim of 8% response rate.
-2.47
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
Chap 8-46
p -Value Solution
(continued)
Reject H0
E/2 = .025
p-value = .0136:
P(z e . 7) P(x u . 7)
! (.5 . 93 ) ! (.00
) ! 0.0 3
Type II Error
u 52 = 50
E 50
Reject H0: u 52
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
52
Do not reject H0 : u 52
Chap 8-48
Type II Error
(continued)
50
Reject H0: Q u 52
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
52
Do not reject H0 : Q u 52
Chap 8-49
Type II Error
(continued)
Here,
= P( x u cutoff ) if
= 50
E
50
Reject H0: u 52
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
52
Do not reject H0 : u 52
Chap 8-50
Calculating
Suppose n = 64 ,
= 6 , and E = .05
c t ff ! x E ! z E
(for H0 :
u 52)
!5 .
So
! 50.7
= 50
= P( x u 50.766 ) if
E
50 50.766 52
Do not reject H0 : u 52
Chap 8-51
Reject H0: u 52
Business Statistics: A Decision-Making Approach, 6e 2005 Prentice-Hall, Inc.
Calculating
(continued)
Suppose n = 64 ,
50.7 | ! 50) ! P z u
= 6 , and E = .05
50 ! P(z u .02) ! .5 .3 ! . 539
P( x u 50.7
= .1539
52
Do not reject H0 : u 52
Chap 8-52
Using PHStat
Options
Chap 8-53
Input
Output
Chap 8-54
Chapter Summary
Addressed hypothesis testing methodology Performed z Test for the mean ( known) Discussed pvalue approach to hypothesis testing Performed one-tail and two-tail tests . . .
Chap 8-55
Chapter Summary
(continued)
Performed t test for the mean ( unknown) Performed z test for the proportion Discussed type II error and computed its probability
Chap 8-56