Hypothesis - Testing - Final - Stat - Pro - PPT Filename - UTF-8''Hypothesis Testing - Final - Stat&Pro
Hypothesis - Testing - Final - Stat - Pro - PPT Filename - UTF-8''Hypothesis Testing - Final - Stat&Pro
Hypothesis - Testing - Final - Stat - Pro - PPT Filename - UTF-8''Hypothesis Testing - Final - Stat&Pro
Actual Truth of H0
Decision H0 is true H0 is false
The probability of making a type II error is denoted by , the lowercase Greek letter beta.
Hypothesis tests
are based on .
H0: μ k
Ha: μ < k
P is the area
to the left of
the test
statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Larson & Farber, Elementary Statistics: Picturing the World, 3e 15
Right-tailed Test
2. If the alternative hypothesis contains the greater-than
symbol (>), the hypothesis test is a right-tailed test.
H0: μ k
Ha: μ > k
P is the area
to the right of
the test
statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Larson & Farber, Elementary Statistics: Picturing the World, 3e 16
Two-tailed Test
3. If the alternative hypothesis contains the not-equal-to symbol (), the
hypothesis test is a two-tailed test. In a two-tailed test, each tail
has an area of P.
H0: μ = k
Ha: μ 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
Larson & Farber, Elementary Statistics: Picturing the World, 3e 17
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 test.
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.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 21
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μ σ
z= = standard error = σx
σ n n
When n 30, the sample standard deviation s can be
substituted for .
Larson & Farber, Elementary Statistics: Picturing the World, 3e 28
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 for
4. Find the area that corresponds Area under the
to z. normal curve.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 29
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.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 38
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
z= = in the rejection
σ 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
z= pˆ
= ˆ
σ pˆ pq n
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 53
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.