CH 09
CH 09
Learning Objectives
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-2
n Begin with the assumption that the null n Is the opposite of the null hypothesis
hypothesis is true n e.g., The average diameter of a manufactured
bolt is not equal to 30mm ( H1: µ ≠ 30 )
n Similar to the notion of innocent until
proven guilty n Challenges the status quo
n Alternative never contains the “=”sign
n Refers to the status quo or historical value n May or may not be proven
n Null always contains “=“sign n Is generally the hypothesis that the
researcher is trying to prove
n May or may not be rejected
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-5 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-6
Chapter 9 9-2
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-7 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-8
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-11 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-12
Chapter 9 9-3
Do Not No Error Type II Error n The power of a statistical test (1-β) is the
Reject H0 Probability 1 - α Probability β probability of rejecting H0 when it is false.
Reject H0 Type I Error No Error
Probability α Probability 1 - β
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-13 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-14
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-15 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-16
Level of Significance
and the Rejection Region Hypothesis Tests for the Mean
H0: µ = 30 Level of significance = α
H1: µ ≠ 30 Hypothesis
Tests for µ
α
/2 α
/2
σ Known σ Unknown
30 (Z test) (t test)
Critical values
Rejection Region
6 Steps in
Two-Tail Tests Hypothesis Testing
H0: µ = 30
n There are two 1. State the null hypothesis, H0 and the
cutoff values H1: µ ≠ 30
alternative hypothesis, H1
(critical values),
defining the 2. Choose the level of significance, α, and the
regions of α/2 α/2 sample size, n
rejection
30 X 3. Determine the appropriate test statistic and
Reject H0 Do not reject H0 Reject H0
sampling distribution
-Zα/2 0 +Zα/2 Z 4. Determine the critical values that divide the
Lower
rejection and nonrejection regions
Upper
critical critical
value value
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-21 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-22
6 Steps in
Hypothesis Testing Hypothesis Testing Example
(continued)
Test the claim that the true mean diameter
5. Collect data and compute the value of the test of a manufactured bolt is 30mm.
statistic (Assume σ = 0.8)
6. Make the statistical decision and state the
1. State the appropriate null and alternative
managerial conclusion. If the test statistic falls hypotheses
into the nonrejection region, do not reject the n H0: µ = 30 H1: µ ≠ 30 (This is a two-tail test)
null hypothesis H0. If the test statistic falls into 2. Specify the desired level of significance and the
the rejection region, reject the null hypothesis. sample size
Express the managerial conclusion in the n Suppose that α = 0.05 and n = 100 are chosen
context of the problem for this test
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-23 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-24
Chapter 9 9-5
3. Determine the appropriate technique n 6. Is the test statistic in the rejection region?
n σ is assumed known so this is a Z test.
n Compare the p-value with α 1. State the null hypothesis, H0 and the alternative hypothesis,
H1
n If p-value < α , reject H0 2. Choose the level of significance, α, and the sample size, n
n If p-value ≥ α , do not reject H0 3. Determine the appropriate test statistic and sampling
distribution
Collect data and compute the value of the test statistic and
n Remember 4.
the p-value
n If the p-value is low then H0 must go 5. Make the statistical decision and state the managerial
conclusion. If the p-value is < α then reject H0, otherwise
do not reject H0. State the managerial conclusion in the
context of the problem
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-29 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-30
Chapter 9 9-6
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-31 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-32
0 Z
-2.0 2.0
p-value = 0.0228 + 0.0228 = 0.0456
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-33 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-34
n Since this interval does not contain the hypothesized n If you truly know µ there would be no need to gather a
mean (30), we reject the null hypothesis at α = 0.05 sample to estimate it.
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-35 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-36
Chapter 9 9-7
(Assume the population distribution is normal) ±t24,0.025 = ± 2.0639 Do not reject H0: insufficient evidence that true
mean cost is different from $168
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-39 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-40
Data
Null Hypothesis µ= $ 168.00 3
p-value > α
Level of Significance 0.05 So do not reject H0
Sample Size 25
Sample Mean $ 172.50
Sample Standard Deviation $ 15.40
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-41 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-42
Chapter 9 9-8
n For X = 172.5, S = 15.40 and n = 25, the 95% n In many cases, the alternative hypothesis
confidence interval for µ is: focuses on a particular direction
172.5 - (2.0639) 15.4/ 25 to 172.5 + (2.0639) 15.4/ 25 This is a lower-tail test since the
H 0: µ ≥ 3
alternative hypothesis is focused on
H 1: µ < 3 the lower tail below the mean of 3
166.14 ≤ µ ≤ 178.86
H 0: µ ≤ 3 This is an upper-tail test since the
n Since this interval contains the hypothesized mean (168), alternative hypothesis is focused on
H 1: µ > 3
we do not reject the null hypothesis at α = 0.05 the upper tail above the mean of 3
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-43 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-44
Critical value
Critical value
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-45 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-46
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-47 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-48
Chapter 9 9-9
Obtain sample and compute the test statistic Reach a decision and interpret the result:
Reject H0
Intermediate Calculations
0 Standard Error of the Mean 2.00 =B8/SQRT(B6)
Do not reject Reject Degrees of Freedom 24 =B6-1
H0 1.318 H0 t test statistic 0.55 =(B7-B4)/B11
tSTAT = .55
Upper Tail Test
Upper Critical Value 1.318 =TINV(2*B5,B12)
Do not reject H0 since p-value = .2937 > α = .10 p-value
Do Not Reject Null Hypothesis
0.2937 =TDIST(ABS(B13),B12,1)
=IF(B18<B5, "Reject null hypothesis",
"Do not reject null hypothesis")
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-51 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-52
95% Lower
N Mean StDev SE Mean Bound T P
25 53.10 10.00 2.00 49.68 0.55 0.294
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-53 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-54
Chapter 9 9-10
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-57 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-58
Chapter Summary
(continued)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-63 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-64
50 52 50 52
Reject Do not reject Reject Do not reject
H0: µ ≥ 52 H0 : µ ≥ 52 H0: µ ≥ 52 H0 : µ ≥ 52
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-65 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-66
Chapter 9 9-12
α β α
50 52 50 50.766 52
Reject Do not reject Reject Do not reject
H0: µ ≥ 52 H0 : µ ≥ 52 H0: µ ≥ 52 H0 : µ ≥ 52
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-67 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-68
Calculating β and
Power of the test Power of the Test
(continued)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 9-71