Math 110 2 Hypothesis Testing
Math 110 2 Hypothesis Testing
Math 110 2 Hypothesis Testing
HYPOTHESIS TESTING
Error
Error Correct
Correct
Reject Type
Type II decision
decision
H0
Do not Correct
Correct Error
Error
reject decision
decision Type
Type II
II
H0
Steps in Hypothesis Testing
A type I error occurs if one
rejects the null hypothesis when
it is true.
A type II error occurs if one does
not reject the null hypothesis
when it is false.
Steps in Hypothesis Testing
The level of significance is the maximum
probability of committing a type I error.
This probability is symbolized by
(Greek letter alpha). That is,
P(type I error)=.
P(type II error) = (Greek letter beta).
Steps in Hypothesis Testing
Typical significance levels are:
0.10, 0.05, and 0.01.
For example, when
= 0.10, there is a 10% chance
of rejecting a true null
hypothesis.
Steps in Hypothesis Testing
The critical value(s) separate/s
the critical region from the
noncritical region.
The symbol for critical value is
C.V.
Steps in Hypothesis Testing
The critical or rejection region is
the range of values of the test
value that indicates that there is
a significant difference and that
the null hypothesis should be
rejected.
Steps in Hypothesis Testing
The noncritical or nonrejection
region is the range of values of
the test value that indicates that
the difference was probably due
to chance and that the null
hypothesis should not be
rejected.
Steps in Hypothesis Testing
24.7 24
z 2.10
2 36
P-Values - Example
Step 3: Using Table E in Appendix C, find
the corresponding area under the normal
distribution for z = 2.10. It is 0.4821
Step 4: Subtract this value for the area
from 0.5000 to find the area in the right
tail.
0.5000 – 0.4821 = 0.0179
Hence the P-value is 0.0179.
P-Values - Example
Step 5: Make the decision. Since the
P-value is less than 0.05, the decision
is to reject the null hypothesis.
Step 6: Summarize the results. There
is enough evidence to support the
claim that the average age of
lifeguards in Ocean City is greater
than 24 years.
P-Values - Example
A researcher claims that the average
wind speed in a certain city is 8 miles
per hour. A sample of 32 days has an
average wind speed of 8.2 miles per
hour. The standard deviation of the
sample is 0.6 mile per hour. At = 0.05,
is there enough evidence to reject the
claim? Use the P-value method.
P-Values - Example
Step 1: State the hypotheses and identify
the claim.
H0: 8 (claim) H1: 8
Step 2: Compute the test value.
8.2 8
z 1.89
0.6 32
9-3 P-Values - Example
Step 3: Using table E, find the
corresponding area for z = 1.89.
It is 0.4706.
Step 4: Subtract the value from
0.5000.
0.5000 – 0.4706 = 0.0294
P-Values - Example
Step 5: Make the decision: Since this test is
two-tailed, the value 0.0294 must be
doubled; 2(0.0294) = 0.0588. Hence, the
decision is not to reject the null hypothesis,
since the P-value is greater than 0.05.
Step 6: Summarize the results. There is not
enough evidence to reject the claim that
the average wind speed is 8 miles per
hour.
Small Sample Mean Test
When the population standard deviation
is unknown and n < 30, the z test is
inappropriate for testing hypotheses
involving means.
The t test is used in this case.
Properties for the t distribution are given
in Chapter 8.
9-4 Small Sample Mean Test -
Formula for t test
X
t
s n
where
X sample mean
hypothesized population mean
s sample standard deviation
n sample size
degrees of freedom n 1
9-4 Small Sample Mean Test - X
t
Example s n
X X np
z or z
npq
where
np
npq
Proportion Test - Example
s s
X z X z
2 n 2 n
0.7 0.7
4.6 (1.96) 4.6 (1.96)
50 50
4.406 4.794
Notice that the 95% confidence interval of does not
contain the hypothesized value = 5. Hence, there is
agreement between the hypothesis test and the
confidence interval.