Hypothesis Testing: W&W, Chapter 9
Hypothesis Testing: W&W, Chapter 9
Hypothesis Testing: W&W, Chapter 9
W&W, Chapter 9
Overview
We will discuss two approaches to
hypothesis testing:
1) Using confidence intervals
2) Using critical t or z values, or p values
Hypothesis Test
A statistical hypothesis is simply a claim
about a population that can be put to
the test by drawing a random sample.
Example #1
Suppose we want to know if there is a difference in
the salaries for male and female professors. We
might take two samples, one of men and one of
women, to determine their respective mean salary
levels. The calculated M1 and M2 are estimates of the
population means, 1 and 2.
Ho: 1 - 2 = 0, or Ho: 1 = 2
HA: 1 - 2 0, or HA: 1 2
Example #1 (continued)
This is stated as a two-tailed test. If you
believe that women make less than
men, then the alternative hypothesis
might be something like:
HA: 1 - 2 > 0
Example #2
As an employee of the Federal Trade Commission, you are
vigilant in your stand against false or misleading advertising. A
manufacturer of razor blades claims that their new blades give
on average 15 good shaves. You conduct a small test by asking
10 randomly chosen men to each try one of these new razor
blades. The average number of good shaves reported is 13 and
the standard deviation is 3.62. The manufacturer claims that the
true number of shaves (or population value) is 15, or:
Ho: = 15
Example #2 (continued)
If we want to challenge the manufacturers
claim, we might employ a one-tailed test,
where the alternative hypothesis would be:
HA: < 15
Or if we were agnostic, we could use a twotailed test:
HA: 15
Example #3
A more general test that we will see when we get to regression
is where the null hypothesis is equal to zero, and we want to
know if our parameters have a statistically significant effect, or
are different from zero.
For example, suppose a researcher wants to determine if the
amount of electoral rules are related to voter turnout. Suppose
the impact of electoral rules on voter turnout is called . A
typical hypothesis test will be something like the following:
Ho: Electoral rules have no impact on voter turnout, or = 0
HA: Electoral rules affect voter turnout, or 0
Comparison (continued)
We reject the null hypothesis if our calculated
t or z is beyond the critical t or z, or if the pvalue is .
In the above example, a 95% critical t value
for 9 df is 1.83. Since our calculated t does
not exceed the critical t (or fall in the reject
region), we must accept the null hypothesis,
the manufacturer's claim of 15 good shaves.
Also, our p-value is larger than , which is .05.
Ho Accepted
Ho Rejected
If Ho is true
Correct decision
Type I error
Pr = 1-
Pr =
Type II error
Correct decision
Probability =
Probability = 1 -
= power of the test
If Ho is false