Lfstat3e PPT 07 Rev
Lfstat3e PPT 07 Rev
Lfstat3e PPT 07 Rev
Actual Truth of H0
Decision H0 is true H0 is false
P is the area
to the left of
the test
statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Right-tailed Test
2. If the alternative hypothesis contains the greater-
than symbol (>), the hypothesis test is a right-
tailed test.
H0: μ k
H a: μ > k
P is the area
to the right of
the test
statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Two-tailed Test
3. If the alternative hypothesis contains the not-
equal-to symbol (), the hypothesis test is a two-
1
tailed test. In a two-tailed test, each
2 tail has an
area ofk P.
H0: μ =
H a: μ k
P is twice the
P is twice the area to the
area to the left right of the
of the negative positive test
test statistic. statistic.
z
-3 -2 -1 0 1 2 3
Test Test
statistic statistic
Identifying Types of Tests
Example:
For each claim, state H0 and Ha. Then determine whether
the hypothesis test is a left-tailed, right-tailed, or two-
tailed
a.) A test.
cigarette manufacturer claims that less than one-
eighth of the US adult population smokes
cigarettes.
H0: p 0.125
Ha: p < 0.125 Left-tailed test
(Claim)
b.) A local telephone company claims that the
average length of a phone call is 8 minutes.
H0: μ = 8 (Claim)
Ha: μ 8 Two-tailed test
Making a Decision
Decision Rule Based on P-value
To use a P-value to make a conclusion in a hypothesis
test, compare the P-value with .
1. If P , then reject H0.
2. If P > , then fail to reject H0.
Claim
Decision Claim is H0 Claim is Ha
There is enough evidence There is enough evidence
Reject H0 to reject the claim. to support the claim.
There is not enough There is not enough
Do not reject H0 evidence to reject the evidence to support the
claim. claim.
Interpreting a Decision
Example:
You perform a hypothesis test for the following claim.
How should you interpret your decision if you reject H0?
If you fail to reject H0?
H0: (Claim) A cigarette manufacturer claims that
less than one-eighth of the US adult population
smokes cigarettes.
If H0 is rejected, you should conclude “there is sufficient
evidence to indicate that the manufacturer’s claim is false.”
If you fail to reject H0, you should conclude “there is not
sufficient evidence to indicate that the manufacturer’s claim
is false.”
Steps for Hypothesis
Testing
1. State the claim mathematically and verbally. Identify
the null and alternative hypotheses.
H0: ? Ha: ? This sampling
distribution is based on
the assumption that H0
2. Specify the level of significance. is true.
=?
3. Determine the
standardized sampling z
0
distribution and draw its
graph.
4. Calculate the test statistic z
and its standardized value. 0
Add it to your sketch. Test statistic
Continued.
Steps for Hypothesis
Testing
5. Find the P-value.
6. Use the following decision rule.
Is the P-value less than
or equal to the level of No Fail to reject H0.
significance?
Yes
Reject H0.
b.) 0.01?
0.0043
z
2.63 0
x
The test statistic is the sample mean and the
standardized test statistic is z.
x μ σ
z standard error σx
σ n n
When n 30, the sample standard deviation s can be
substituted for .
Using P-values for a z-Test
Using P-values for a z-Test for a Mean μ
In Words In Symbols
1. State the claim mathematically State H0 and Ha.
and verbally. Identify the null
and alternative hypotheses.
2. Specify the level of Identify .
significance. x μ
z
3. Determine the standardized σ n
test statistic.
Use Table 4 in
4. Find the area that corresponds Appendix B.
to z.
Continued.
Using P-values for a z-Test
Using P-values for a z-Test for a Mean μ
In Words In Symbols
5. Find the P-value.
a. For a left-tailed test, P = (Area in left tail).
b. For a right-tailed test, P = (Area in right tail).
c. For a two-tailed test, P = 2(Area in tail of test statistic).
z 1.43
The area to the right of P-value is greater than
z = 1.43 is P = 0.0764. = 0.01, fail to reject H0.
0 1.43 z
0.025 0.025
z
z0 = 1.96 0 z0 = 1.96
Continued.
Testing with Rejection
Regions
Example continued:
A local telephone company claims that the average
length of a phone call is 8 minutes. In a random
sample of 58 phone calls, the sample mean was 7.8
minutes and the standard deviation was 0.5
minutes. Is there enough evidence to support this
Hclaim at (Claim)
0: = 8
= 0.05? Ha: 8
The standardized test statistic is The test statistic falls
x μ 7.8 8 in the rejection
z
σ n 0.5 58 region, so H0 is
3.05. rejected.
z
z0 = 1.96 0 z0 = 1.96
x μ
t
s n
pˆ μ pˆ p p
z ˆ
σ pˆ pq n
Hypothesis Test for
Proportions
Using a z-Test for a Proportion p
Verify that np 5 and nq 5.
In Words In Symbols
1. State the claim mathematically State H0 and Ha.
and verbally. Identify the null
and alternative hypotheses.
2. Specify the level of Identify .
significance.
3. Sketch the sampling
Use Table 4 in
distribution.
Appendix B.
4. Determine any critical values.
Continued.
Hypothesis Test for
Proportions
Using a z-Test for a Proportion p
Verify that np 5 and nq 5.
In Words In Symbols
5. Determine any rejection
regions. p̂ p
z
6. Find the standardized test pq n
statistic.
If z is in the
7. Make a decision to reject or fail rejection region,
to reject the null hypothesis. reject H0.
Otherwise, fail to
8. Interpret the decision in the
reject H0.
context of the original claim.
Hypothesis Test for
Proportions
Example:
Statesville college claims that more than 94% of
their graduates find employment within six months
of graduation. In a sample of 500 randomly
selected graduates, 475 of them were employed.
Is there enough evidence to support the college’s
claim at a 1% level of significance?
Example:
Find the critical value for a two-tailed test when n =
26 and = 0.01.
There are 25 d.f. The areas to the right of the
1 1
critical values
2
are = 0.005
2
and 1 – = 0.995.
From Table 6, the critical values are χ2L = 10.520
and χ2R = 46.928.
The Chi-Square Test
The χ2-test for a variance or standard deviation
is a statistical test for a population variance or
standard deviation. The χ2-test can be used when the
population is normal.
0.01
X2
Continued.
Hypothesis Test for Standard
Deviation
Example continued:
A college professor claims that the standard
deviation for students taking a statistics test is less
than 30. 10 tests are randomly selected and the
standard deviation is found to be 28.8. Test this
professor’s claim at the = 0.01 level.
H0: 30 Ha: < 30 (Claim)
χ =
2 0.01 2 (n 1)s 2 (10 1)(28.8)2
0 χ 2
σ 302
2.088 8.29
X2
X 2
0 = 2.088 Fail to reject H0.
At the 1% level of significance, there is not enough
evidence to support the professor’s claim.
Hypothesis Test for
Variance
Example:
A local balloon company claims that the variance for
the time its helium balloons will stay afloat is 5 hours.
A disgruntled customer wants to test this claim. She
randomly selects 23 customers and finds that the
variance of the sample is 4.5 seconds. At = 0.05,
does she have enough evidence to reject the
company’s claim?
H0: 2 = 5 (Claim) Ha: 2 5
This is a two-tailed test with d.f.= 22 and = 0.05.
1 1
0.025 0.025
2 2
X2
X
2
L X2
R Continued.
Hypothesis Test for
Variance
Example continued:
A local balloon company claims that the variance for
the time its helium balloons will stay afloat is 5 hours.
A disgruntled customer wants to test this claim. She
randomly selects 23 customers and finds that the
variance of the sample is 4.5 seconds. At = 0.05,
does she have enough evidence to reject the
company’s claim?
H0: 2 = 5 (Claim) Ha: 2 5