Professional Documents
Culture Documents
14 - Hypothesis Testing
14 - Hypothesis Testing
Hypothesis Testing
• Hypothesis testing can be used to determine whether a statement about the value of
a population parameter should or should not be rejected.
• The null hypothesis, denoted by H0 , is a tentative assumption about a population
parameter.
• The alternative hypothesis, denoted by Ha, is the opposite of what is stated in the null
hypothesis.
• The hypothesis testing procedure uses data from a sample to test the two competing
statements indicated by H0 and Ha.
• The test is designed to assess the strength of the evidence against the null
hypothesis.
• The alternative is one-sided if it states that a parameter is larger or smaller than the null hypothesis
value.
• It is two-sided if it states that the parameter is different from the null value (it could be either smaller
or larger).
• In such cases, it is often best to begin with the alternative hypothesis and make it the conclusion that
the researcher hopes to support.
• The conclusion that the research hypothesis is true is made if the sample data provide sufficient
evidence to show that the null hypothesis can be rejected.
• Null Hypothesis
The new method is no better than the old method.
• Alternative Hypothesis
The new bonus plan increase sales.
• Null Hypothesis
The new bonus plan does not increase sales.
• Null Hypothesis
The label is correct. ounces.
• Alternative Hypothesis
The label is incorrect. ounces.
𝐻 0 : 𝜇 ≥ 𝜇0 𝐻 0 : 𝜇 ≤ 𝜇0 𝐻 0 : 𝜇=𝜇 0
determines the lower 𝐻 𝑎 : 𝜇< 𝜇0 𝐻 𝑎 : 𝜇> 𝜇0 𝐻 𝑎 : 𝜇 ≠ 𝜇0
or upper tail of the
distribution
One-tailed One-tailed Two-tailed
(lower-tail) (upper-tail)
• The director of medical services wants to formulate a hypothesis test that could use a sample of
emergency response times to determine whether or not the service goal of 12 minutes or less is
being achieved.
H0 True H0 False
Conclusion (m < 12) (m > 12)
Accept H0 Correct
Type II Error
(Conclude m < 12) Decision
Reject H0 Correct
Type I Error Decision
(Conclude m > 12)
a = .10 Sampling
distribution
𝑥 −𝜇 0
of 𝑧=
p-value 𝜎 / √𝑛
72
z
z = -za = 0
-1.46 -1.28
Sampling
distribution a = .04
𝑥 −𝜇 0
of𝑧= p-Value < a ,
𝜎 / √𝑛 so reject H0.
p-Value
11
z
0 za = z=
1.75 2.29
There is sufficient statistical evidence to infer that Metro EMS is not meeting the
response goal of 12 minutes.
14: Hypothesis Testing 25
One-Tailed Tests About a Population Mean:
𝜎 Known
p-Value < a ,
P-Value Approach so reject H0.
Sampling
distribution a = .05
𝑥 −𝜇 0
of𝑧=
𝜎 / √𝑛
p-value
z
0 za = z=
1.645 2.47
H 0 : p > p0 H 0 : p < p0 H 0 : p = p0
H a : p < p0 H a : p > p0 H a : p ≠ p0
𝜎 𝑝=
√
𝑝0 (1− 𝑝 0)
𝑛
30
Exercise 1
In a study entitled How Undergraduate Students Use Credit Cards, it was reported that undergraduate students have a
mean credit card balance of $3173. This figure was an all-time high and had increased 44% over the previous five years.
Assume that a current study is being conducted to determine if it can be concluded that the mean credit card balance
for undergraduate students has continued to increase compared to the original report. Based on previous studies, use a
population standard deviation .
a) State the null and alternative hypotheses.
b) What is the p-value for a sample of 180 undergraduate students with a sample mean credit card balance of $3325?
b) Suppose the business owners in the sample did as they plan. Compute the p-value for a hypothesis test that can be used to
determine if the proportion of business owners providing holiday gifts had decreased from last year.
c) Using a .05 level of significance, would you conclude that the proportion of business owners providing gifts decreased? What is the
smallest level of significance for which you could draw such a conclusion?
We can reject , and conclude : the proportion of business owners providing gifts has decreased from last year. The smallest level of
significance to draw this conclusion is 0.0436.