Documente Academic
Documente Profesional
Documente Cultură
by Ken Black
Chapter 9
Discrete Distributions
Statistical Inference:
Hypothesis Testing
for Single
Populations
H 0 : 40 oz
H a : 40 oz
Null and Alternative Hypotheses:
Example
• Because of an increase marketing effort,
company officials believe the company’s
market share is now greater than 18%, and
the officials would like to prove it.
H 0 : p 0.18
H a : p 0.18
HTAB System to Test Hypotheses
Task 1: Task 3:
HYPOTHESIZE TAKE STATISTICAL ACTION
Task 2: Task 4:
TEST DETERMINING THE
BUSINESS IMPLICATIONS
Steps in Testing Hypotheses
1. Establish hypotheses: state the null and
alternative hypotheses.
2. Determine the appropriate statistical test and
sampling distribution.
3. Specify the Type I error rate (
4. State the decision rule.
5. Gather sample data.
6. Calculate the value of the test statistic.
7. State the statistical conclusion.
8. Make a managerial decision.
HTAB Paradigm – Task 1
Task 1: Hypotheses
• Type II Error
– Failing to reject a false null hypothesis
– The probability of committing a Type II error is
called .
Decision Table
for Hypothesis Testing
• Step 2: Test
z X
s/ n
Testing Hypotheses about a Population
Mean Using the z Statistic (s Known)
• Step 3: Specify the Type I error rate-
• = 0.05 z/2 = 1.96
z X
s N n
n N 1
Using the p-Value to Test Hypotheses
x
zc s
c
n
Critical Value Method to Test Hypotheses
1.96 xc 74,914
14,530
112
t X
s/ n
df n 1
Two-tailed Test: s Unknown, = .05
(Part 1)
Example: Weights in Pounds of a Sample
of 20 Plates
22.6 22.2 23.2 27.4 24.5
27.0 26.6 28.1 26.9 24.9
26.2 25.3 23.1 24.2 26.1
25.8 30.4 28.6 23.5 23.6
MINITAB Computer Printout
for the Machine Plate Example
H0: = 25 Do not reject the null hypothesis
since P-value = 0.311 > = 0.05.
Ha: 25
Machine Plate Example: Excel
(Part 1)
9 n= =COUNT(A4:E7)
10 = 0.05
11 Mean = =AVERAGE(A4:E7)
12 S= =STDEV(A4:E7)
13 Std Error = =B12/SQRT(B9)
14 t= =(B11-B1)/B13
15 p-Value =TDIST(B14,B9-1,2)
z Test of Population Proportion
z
pˆ p n p 5, and
pq nq 5
n
where : pˆ sample proportion
p population proportion
q 1- p
z Test of Population Proportion
• A manufacturer believes exactly 8% of its
products contain at least one minor flaw.
Suppose the company wants to test this
belief. A sample of 200 products resulted in
33 items have at least one minor flaw. Use
a probability of a Type I error of 0.10.
H0: p = 0.08
Ha: p 0.08
Testing Hypotheses about a
Proportion: Manufacturer Example
(Part 2)
Rejection Regions If Zz 11645
. 645,, reject Ho..
0
If Zz 1.645,
1645
. , do not reject Ho.. 0
33
33
pˆ .165
.165
.05 .05 200
200
2 2
pˆ Pp 165.08
.165 .08
Non Rejection Region
zZ 4.43
4.43
Zzc 1645
c
. zZcc 1645
.
Pp Q
q (.(.08
08)(.)(.9292
))
Critical Values
n 200
200
2 (n1) s 2
s2
Testing Hypotheses About a Variance:
Demonstration Problem 9.4
• Step 1:
H0: s2 = 25
Ha: s2 25
2 (n1) s 2
s2
Testing Hypotheses About a Variance:
Demonstration Problem 9.4
• Step 3: Because this is a two-tailed test,
= 0.10 and /2 = 0.05.
• Step 4: The degrees of freedom are 16 – 1 =
15. The two critical chi-square values are 2(1
– 0.05), 15 = 2
0.95, 15 = 7.26093 and 2
0.05,
15 = 24.9958.
• Step 5: The data are listed in the text.
• Step 6: The sample variance is s2 = 28.1. The
observed chi-square value is calculated as
2 = 16.86.
Testing Hypotheses About a Variance:
Demonstration Problem 9.4
• Step 7: The observed chi-square value is in
the nonrejection region because 2 0.95, 15 =
7.26093 < 2observed = 16.86 < 2 0.05), 15 =
24.9958.
• Step 8: This result indicates to the company
managers that the variance of weekly
overtime hours is about what they expected.
Solving for Type II Errors
11.979 11.99
z1
0.10 / 60
z1 0.85
Solving for Type II Errors (Soft Drink)
0.9
0.8
0.7
0.6
Type II Error
0.5
0.4
0.3
0.2
0.1
0.0
0.8
0.6
Power
0.4
0.2
0.0
11.95 11.96 11.97 11.98 11.99 12.00
Alternative Means
Copyright 2008 John Wiley & Sons, Inc.
All rights reserved. Reproduction or
translation of this work beyond that permitted
in section 117 of the 1976 United States
Copyright Act without express permission of
the copyright owner is unlawful. Request for
further information should be addressed to
the Permissions Department, John Wiley &
Sons, Inc. The purchaser may make back-up
copies for his/her own use only and not for
distribution or resale. The Publisher assumes
no responsibility for errors, omissions, or
damages caused by the use of these programs
or from the use of the information herein.