Chapter8 Hypothesis Testing
Chapter8 Hypothesis Testing
Elementary Statistics
Eleventh Edition
by Mario F. Triola
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 1
Chapter 8
Hypothesis Testing
8-1 Review and Preview
8-2 Basics of Hypothesis Testing
8-3 Testing a Claim about a Proportion
8-4 Testing a Claim About a Mean: σ Known
8-5 Testing a Claim About a Mean: σ Not Known
8-6 Testing a Claim About a Standard Deviation or
Variance
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 2
Section 8-1
Review and Preview
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 3
Review
In Chapters 2 and 3 we used “descriptive
statistics” when we summarized data using tools
such as graphs, and statistics such as the mean
and standard deviation. Methods of inferential
statistics use sample data to make an inference or
conclusion about a population. The two main
activities of inferential statistics are using sample
data to (1) estimate a population parameter (such
as estimating a population parameter with a
confidence interval), and (2) test a hypothesis or
claim about a population parameter. In Chapter 7
we presented methods for estimating a population
parameter with a confidence interval, and in this
chapter we present the method of hypothesis
testing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 4
Definitions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 5
Main Objective
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 6
Examples of Hypotheses that can be Tested
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 7
Examples of Hypotheses that can be Tested
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 9
Section 8-2
Basics of Hypothesis
Testing
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 10
Key Concept
This section presents individual components
of a hypothesis test. We should know and
understand the following:
• How to identify the null hypothesis and alternative
hypothesis from a given claim, and how to express
both in symbolic form
• How to calculate the value of the test statistic, given a
claim and sample data
• How to identify the critical value(s), given a
significance level
• How to identify the P-value, given a value of the test
statistic
• How to state the conclusion about a claim in simple
and nontechnical terms
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 11
Part 1:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 12
Rare Event Rule for
Inferential Statistics
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 13
Components of a
Formal Hypothesis
Test
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 14
Null Hypothesis:
H0
The null hypothesis (denoted by H0) is
a statement that the value of a
population parameter (such as
proportion, mean, or standard
deviation) is equal to some claimed
value.
We test the null hypothesis directly.
Either reject H0 or fail to reject H0.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 15
Alternative Hypothesis:
H1
The alternative hypothesis (denoted
by H1 or Ha or HA) is the statement that
the parameter has a value that
somehow differs from the null
hypothesis.
The symbolic form of the alternative
hypothesis must use one of these
symbols: ≠, <, >.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 16
Note about Forming Your
Own Claims (Hypotheses)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 17
Note about Identifying
H0 and H1
Figure 8-2
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 18
Example:
Consider the claim that the mean weight of
airline passengers (including carry-on
baggage) is at most 195 lb (the current value
used by the Federal Aviation Administration).
Follow the three-step procedure outlined in
Figure 8-2 to identify the null hypothesis and
the alternative hypothesis.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 19
Example:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 20
Example:
Step 3: Of the two symbolic expressions
μ ≤ 195 lb and μ > 195 lb, we see that
μ > 195 lb does not contain equality,
so we let the alternative hypothesis
H1 be μ > 195 lb. Also, the null
hypothesis must be a statement that
the mean equals 195 lb, so we let H0
be μ = 195 lb.
Note that the original claim that the mean is at
most 195 lb is neither the alternative hypothesis
nor the null hypothesis. (However, we would be
able to address the original claim upon
completion of a hypothesis test.)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 21
Test Statistic
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 22
Test Statistic - Formulas
Test statistic for
proportion
Test statistic
for mean
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 24
Example:
The claim that the XSORT method of gender
selection increases the likelihood of having a
baby girl results in the following null and
alternative hypotheses H0: p = 0.5 and
H1: p > 0.5. We work under the assumption that
the null hypothesis is true with p = 0.5. The
sample proportion of 13 girls in 14 births
results in . Using p = 0.5,
and n = 14, we find the value of the
test statistic as follows:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 25
Example:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 27
Critical Region
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 28
Significance Level
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 29
Critical Value
A critical value is any value that separates the
critical region (where we reject the null
hypothesis) from the values of the test
statistic that do not lead to rejection of the null
hypothesis. The critical values depend on the
nature of the null hypothesis, the sampling
distribution that applies, and the significance
level α. See the previous figure where the
critical value of z = 1.645 corresponds to a
significance level of α = 0.05.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 30
P-Value
The P-value (or p-value or probability value)
is the probability of getting a value of the test
statistic that is at least as extreme as the one
representing the sample data, assuming that
the null hypothesis is true.
Critical region P-value = area to the left of
in the left tail: the test statistic
Critical region P-value = area to the right of
in the right tail: the test statistic
Critical region P-value = twice the area in the
in two tails: tail beyond the test statistic
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 31
P-Value
The null hypothesis is rejected if the P-value
is very small, such as 0.05 or less.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 32
Procedure for Finding P-Values
Figure 8-5
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 33
Caution
p = population proportion
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 34
Example
Consider the claim that with the XSORT method
of gender selection, the likelihood of having a
baby girl is different from p = 0.5, and use the
test statistic z = 3.21 found from 13 girls in 14
births. First determine whether the given
conditions result in a critical region in the right
tail, left tail, or two tails, then use Figure 8-5 to
find the P-value. Interpret the P-value.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 35
Example
The claim that the likelihood of having a baby
girl is different from p = 0.5 can be expressed as
p ≠ 0.5 so the critical region is in two tails. Using
Figure 8-5 to find the P-value for a two-tailed
test, we see that the P-value is twice the area to
the right of the test statistic z = 3.21. We refer to
Table A-2 (or use technology) to find that the
area to the right of z = 3.21 is 0.0007. In this
case, the P-value is twice the area to the right of
the test statistic, so we have:
P-value = 2 × 0.0007 = 0.0014
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 36
Example
The P-value is 0.0014 (or 0.0013 if greater
precision is used for the calculations). The small
P-value of 0.0014 shows that there is a very
small chance of getting the sample results that
led to a test statistic of z = 3.21. This suggests
that with the XSORT method of gender
selection, the likelihood of having a baby girl is
different from 0.5.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 37
Types of Hypothesis Tests:
Two-tailed, Left-tailed, Right-tailed
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 38
Two-tailed Test
H 0: = α is divided equally between
the two tails of the critical
H 1: ≠ region
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 39
Left-tailed Test
α the left tail
H 0: =
H 1: <
Points Left
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 40
Right-tailed Test
H 0: =
H 1: >
Points Right
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 41
Conclusions
in Hypothesis Testing
We always test the null hypothesis.
The initial conclusion will always be
one of the following:
1. Reject the null hypothesis.
2. Fail to reject the null hypothesis.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 42
Decision Criterion
P-value method:
Using the significance level α:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 43
Decision Criterion
Traditional method:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 44
Decision Criterion
Another option:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 45
Decision Criterion
Confidence Intervals:
Figure 8-7
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 47
Caution
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 48
Accept Versus Fail to Reject
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 49
Type I Error
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 50
Type II Error
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 51
Type I and Type II Errors
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 52
Example:
Assume that we are conducting a hypothesis
test of the claim that a method of gender
selection increases the likelihood of a baby girl,
so that the probability of a baby girls is p > 0.5.
Here are the null and alternative hypotheses:
H0: p = 0.5, and H1: p > 0.5.
a) Identify a type I error.
b) Identify a type II error.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 53
Example:
a) A type I error is the mistake of rejecting a
true null hypothesis, so this is a type I error:
Conclude that there is sufficient evidence to
support p > 0.5, when in reality p = 0.5.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 54
Controlling Type I and
Type II Errors
For any fixed α, an increase in the sample
size n will cause a decrease in β.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 55
Comprehensive
Hypothesis Test –
P-Value Method
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 56
Comprehensive
Hypothesis Test –
Traditional Method
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 57
Comprehensive
Hypothesis Test - cont
A confidence interval estimate of a population
parameter contains the likely values of that
parameter. We should therefore reject a claim
that the population parameter has a value that
is not included in the confidence interval.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 58
Caution
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 59
Part 2:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 60
Definition
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 63
Section 8-3
Testing a Claim About a
Proportion
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 64
Key Concept
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 65
Key Concept
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 66
Part 1:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 67
Notation
n = number of trials
∧
p = x (sample proportion)
n
p = population proportion (used in the
null hypothesis)
q=1–p
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 68
Requirements for Testing Claims
About a Population Proportion p
1) The sample observations are a simple
random sample.
2) The conditions for a binomial distribution
are satisfied.
3) The conditions np ≥ 5 and nq ≥ 5 are both
satisfied, so the binomial distribution of
sample proportions can be approximated
by a normal distribution with µ = np and
σ = npq . Note: p is the assumed
proportion not the sample proportion.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 69
Test Statistic for Testing
a Claim About a Proportion
∧
p–p
z= pq
n
P-values: Use the standard normal
distribution (Table A-2) and refer to
Figure 8-5
p = population proportion
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 71
P-Value Method:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 72
Traditional Method
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 73
Confidence Interval Method
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 74
CAUTION
When testing claims about a population proportion,
the traditional method and the P-value method are
equivalent and will yield the same result since they
use the same standard deviation based on the claimed
proportion p. However, the confidence interval uses
an estimated standard deviation based upon the sample
∧
proportion p. Consequently, it is possible that the
traditional and P-value methods may yield a different
conclusion than the confidence interval method.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 76
Example:
Requirements are satisfied: simple random
sample; fixed number of trials (104) with two
categories (guess correctly or do not); np =
(104)(0.5) = 52 ≥ 5 and nq = (104)(0.5) = 52 ≥ 5
Step 1: original claim is that the success rate
is no different from 50%: p = 0.50
Step 2: opposite of original claim is p ≠ 0.50
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 79
∧
Obtaining P
∧
p sometimes is given directly
“10% of the observed sports cars are red”
is expressed as
∧
p = 0.10
∧
p sometimes must be calculated
“96 surveyed households have cable TV
and 54 do not” is calculated using
∧ x 96
p =n =
(96+54)
= 0.64
(determining the sample proportion of households with cable TV)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 80
Part 2:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 81
Testing Claims
We can get exact results by using the binomial
probability distribution. Binomial probabilities
are a nuisance to calculate manually, but
technology makes this approach quite simple.
Also, this exact approach does not require that
np ≥ 5 and nq ≥ 5 so we have a method that
applies when that requirement is not satisfied.
To test hypotheses using the exact binomial
distribution, use the binomial probability
distribution with the P-value method, use the
value of p assumed in the null hypothesis, and
find P-values as follows:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 82
Testing Claims
Left-tailed test:
The P-value is the probability of getting x
or fewer successes among n trials.
Right-tailed test:
The P-value is the probability of getting x
or more successes among n trials.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 83
Testing Claims
Two-tailed test:
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 84
Recap
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 85
Section 8-4
Testing a Claim About a
Mean: σ Known
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 86
Key Concept
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 87
Notation
n = sample size
= sample mean
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 88
Requirements for Testing Claims About
a Population Mean (with σ Known)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 89
Test Statistic for Testing a Claim
About a Mean (with σ Known)
x – µx
z= σ
n
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 90
Example:
People have died in boat accidents because an
obsolete estimate of the mean weight of men was
used. Using the weights of the simple random
sample of men from Data Set 1 in Appendix B, we
obtain these sample statistics: n = 40 and
= 172.55 lb. Research from several other
sources suggests that the population of weights
of men has a standard deviation given by σ = 26
lb. Use these results to test the claim that men
have a mean weight greater than 166.3 lb, which
was the weight in the National Transportation and
Safety Board’s recommendation M-04-04. Use a
0.05 significance level, and use the P-value
method outlined in Figure 8-8.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 91
Example:
Requirements are satisfied: simple random
sample, σ is known (26 lb), sample size is 40
(n > 30)
Step 1: Express claim as μ > 166.3 lb
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 92
Example:
Step 4: significance level is α = 0.05
Step 5: claim is about the population mean,
so the relevant statistic is the sample
mean (172.55 lb), σ is known (26 lb),
sample size greater than 30
Step 6: calculate z
0
1.52
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 94
Example:
The P-value of 0.0643 tells us that if men have a
mean weight given by μ = 166.3 lb, there is a
good chance (0.0643) of getting a sample mean
of 172.55 lb. A sample mean such as 172.55 lb
could easily occur by chance. There is not
sufficient evidence to support a conclusion that
the population mean is greater than 166.3 lb, as
in the National Transportation and Safety
Board’s recommendation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 95
Example:
The traditional method: Use z = 1.645 instead of
finding the P-value. Since z = 1.52 does not fall
in the critical region, again fail to reject the null
hypothesis.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 96
Underlying Rationale of
Hypothesis Testing
If, under a given assumption, there is an
extremely small probability of getting sample
results at least as extreme as the results that
were obtained, we conclude that the
assumption is probably not correct.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 99
Section 8-5
Testing a Claim About a
Mean: σ Not Known
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 100
Key Concept
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 101
Notation
n = sample size
= sample mean
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 102
Requirements for Testing Claims
About a Population
Mean (with σ Not Known)
1) The sample is a simple random sample.
2) The value of the population standard
deviation σ is not known.
3) Either or both of these conditions is
satisfied: The population is normally
distributed or n > 30.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 103
Test Statistic for Testing a
Claim About a Mean
(with σ Not Known)
x – µx
t= s
n
P-values and Critical Values
❖ Found in Table A-3
❖ Degrees of freedom (df) = n – 1
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 104
Important Properties of the
Student t Distribution
1. The Student t distribution is different for different
sample sizes (see Figure 7-5 in Section 7-4).
2. The Student t distribution has the same general bell
shape as the normal distribution; its wider shape
reflects the greater variability that is expected when s is
used to estimate σ .
3. The Student t distribution has a mean of t = 0 (just as
the standard normal distribution has a mean of z = 0).
4. The standard deviation of the Student t distribution
varies with the sample size and is greater than 1 (unlike
the standard normal distribution, which has σ = 1).
5. As the sample size n gets larger, the Student t
distribution gets closer to the standard normal
distribution.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 105
Choosing between the Normal and
Student t Distributions when Testing a
Claim about a Population Mean µ
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 106
Example:
People have died in boat accidents because an
obsolete estimate of the mean weight of men was
used. Using the weights of the simple random
sample of men from Data Set 1 in Appendix B, we
obtain these sample statistics: n = 40 and =
172.55 lb, and s = 26.33 lb. Do not assume that the
value of σ is known. Use these results to test the
claim that men have a mean weight greater than
166.3 lb, which was the weight in the National
Transportation and Safety Board’s
recommendation M-04-04. Use a 0.05 significance
level, and the traditional method outlined in Figure
8-9.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 107
Example:
Requirements are satisfied: simple random
sample, population standard deviation is not
known, sample size is 40 (n > 30)
Step 1: Express claim as μ > 166.3 lb
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 108
Example:
Step 4: significance level is α = 0.05
Step 5: claim is about the population mean,
so the relevant statistic is the sample
mean, 172.55 lb
Step 6: calculate t
1.52
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 110
Example:
Because we fail to reject the null hypothesis, we
conclude that there is not sufficient evidence to
support a conclusion that the population mean
is greater than 166.3 lb, as in the National
Transportation and Safety Board’s
recommendation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 111
Normal Distribution Versus
Student t Distribution
The critical value in the preceding example
was t = 1.782, but if the normal distribution
were being used, the critical value would have
been z = 1.645.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 112
P-Value Method
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 113
Example: Assuming that neither software nor
a TI-83 Plus calculator is available, use Table
A-3 to find a range of values for the P-value
corresponding to the given results.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 114
Example: Assuming that neither software nor
a TI-83 Plus calculator is available, use Table
A-3 to find a range of values for the P-value
corresponding to the given results.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 115
Example: Assuming that neither software nor
a TI-83 Plus calculator is available, use Table
A-3 to find a range of values for the P-value
corresponding to the given results.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 117
Example: Assuming that neither software nor
a TI-83 Plus calculator is available, use Table
A-3 to find a range of values for the P-value
corresponding to the given results.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 118
Recap
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 119
Section 8-6
Testing a Claim About a
Standard Deviation or
Variance
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 120
Key Concept
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 121
Requirements for Testing
2
Claims About σ or σ
n = sample size
s = sample standard deviation
s2 = sample variance
σ = claimed value of the population standard
deviation
σ 2 = claimed value of the population variance
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 122
Requirements for Testing
2
Claims About σ or σ
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 123
Chi-Square Distribution
Test Statistic
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 124
P-Values and Critical Values for
Chi-Square Distribution
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 125
Caution
The χ 2 test of this section is not robust
against a departure from normality,
meaning that the test does not work
well if the population has a distribution
that is far from normal. The condition of
a normally distributed population is
therefore a much stricter requirement in
this section than it was in Sections 8-4
and 8-5.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 126
Properties of Chi-Square
Distribution
All values of χ 2 are nonnegative, and the
distribution is not symmetric
(see Figure 8-13, following).
There is a different distribution for each
number of degrees of freedom
(see Figure 8-14, following).
The critical values are found in Table A-4
using n – 1 degrees of freedom.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 127
Properties of Chi-Square
Distribution - cont
Properties of the Chi-Square Distribution
Chi-Square Distribution for 10 and 20 df
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 129
Table A-4
Right-tailed test:
Because the area to the right of the
critical value is 0.05, locate 0.05 at the
top of Table A-4.
Left-tailed test:
With a left-tailed area of 0.05, the area to
the right of the critical value is 0.95, so
locate 0.95 at the top of Table A-4.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 130
Table A-4
Two-tailed test:
Unlike the normal and Student t
distributions, the critical values in this χ2
test will be two different positive values
(instead of something like ±1.96 ). Divide
a significance level of 0.05 between the
left and right tails, so the areas to the
right of the two critical values are 0.975
and 0.025, respectively. Locate 0.975 and
0.025 at the top of Table A-4
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 131
Example:
A common goal in business and industry is to
improve the quality of goods or services by
reducing variation. Quality control engineers
want to ensure that a product has an
acceptable mean, but they also want to
produce items of consistent quality so that
there will be few defects. If weights of coins
have a specified mean but too much variation,
some will have weights that are too low or too
high, so that vending machines will not work
correctly (unlike the stellar performance that
they now provide).
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 132
Example:
Consider the simple random sample of the 37
weights of post-1983 pennies listed in Data
Set 20 in Appendix B. Those 37 weights have
a mean of 2.49910 g and a standard deviation
of 0.01648 g. U.S. Mint specifications require
that pennies be manufactured so that the
mean weight is 2.500 g. A hypothesis test will
verify that the sample appears to come from a
population with a mean of 2.500 g as required,
but use a 0.05 significance level to test the
claim that the population of weights has a
standard deviation less than the specification
of 0.0230 g.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 133
Example:
Requirements are satisfied: simple random
sample; and STATDISK generated the
histogram and quantile plot - sample appears
to come from a population having a normal
distribution.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 134
Example:
Step 1: Express claim as σ < 0.0230 g
H0: σ = 0.0230 g
H1: σ < 0.0230 g
Step 4: significance level is α = 0.05
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 137
Example:
Step 7: Because the test statistic is in the
critical region, reject the null
hypothesis.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 138
Recap
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 8.1 - 139