Professional Documents
Culture Documents
1 2
Hypothesis Testing
Developing Null and Alternative Hypotheses
Type I and Type II Errors
Population Mean: s Known
3 4
Hypothesis testing can be used to determine whether • It is not always obvious how the null and alternative
a statement about the value of a population parameter hypotheses should be formulated.
should or should not be rejected.
• Care must be taken to structure the hypotheses
The null hypothesis, denoted by H0 , is a tentative appropriately so that the test conclusion provides
assumption about a population parameter. the information the researcher wants.
The alternative hypothesis, denoted by Ha , is the • The context of the situation is very important in
opposite of what is stated in the null hypothesis. determining how the hypotheses should be stated.
The hypothesis testing procedure uses data from a • In some cases, it is easier to identify the alternative
sample to test the two competing statements hypothesis first. In other cases, the null is easier.
indicated by H0 and Ha. • Correct hypothesis formulation will take practice.
5 6
1
Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses
7 8
Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses
9 10
Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses
11 12
2
Summary of Forms for Null and Alternative Null and Alternative Hypotheses
Hypotheses about a Population Mean
The equality part of the hypotheses always appears Example: Metro EMS
in the null hypothesis. A major west coast city provides one of the most
In general, a hypothesis test about the value of a comprehensive emergency medical services in the
population mean m must take one of the following world. Operating in a multiple hospital system
three forms (where m0 is the hypothesized value of with approximately 20 mobile medical units, the
the population mean). service goal is to respond to medical emergencies
with a mean time of 12 minutes or less.
H 0 : m m0 H 0 : m m0 H 0 : m m0 The director of medical services wants to
H a : m m0 H a : m m0 H a : m m0 formulate a hypothesis test that could use a sample
of emergency response times to determine whether
One-tailed One-tailed Two-tailed or not the service goal of 12 minutes or less is being
(lower-tail) (upper-tail) achieved. This will help him to improve the service
quality.
13 14
The emergency service is meeting Because hypothesis tests are based on sample data,
H0: m we must allow for the possibility of errors.
the response goal; no follow-up
action is necessary. A Type I error is rejecting H0 when it is true.
The probability of making a Type I error when the
The emergency service is not
Ha:m null hypothesis is true as an equality is called the
meeting the response goal;
level of significance.
appropriate follow-up action is
necessary. Applications of hypothesis testing that only control
the Type I error are often called significance tests.
where: m = mean response time for the population
of medical emergency requests
15 16
17 18
3
One Population
Scenario
If population standard
---------------------- deviation known, then
our test statistics is a z-
Inference test.
about • Sample(s):
collected from
If population S.D is
unknown, our test
Single Population one population
only. statistics is t-test with n-1
Parameter • Hypothesis Test
for: sample mean.
degrees of freedom.
Hypothesis test about
population proportion
use z-test.
19 20
21 22
z
0 za = 1.645
23 24
4
Suggested Guidelines for Interpreting p-Values Lower-Tailed Test About a Population Mean:
s Known
Less than .01 p-Value Approach p-Value < a ,
Overwhelming evidence to conclude Ha is true. so reject H0.
25 26
27 28
29 30
5
One-Tailed Tests About a Population Mean: One-Tailed Tests About a Population Mean:
s Known s Known
p -Value and Critical Value Approaches Critical Value Approach
1. Develop the hypotheses. H0: m 4. Determine the critical value and rejection rule.
Ha:m
For a = .05, z.05 = 1.645
2. Specify the level of significance. a = .05 Reject H0 if z > 1.645
3. Compute the value of the test statistic. 5. Determine whether to reject H0.
31 32
Sampling
distribution
x -m
of z s / n0
=2.47 Reject H0
a
Do Not Reject H0
z
2.47
0 za = 1.645
33