Lect 7 Hypothesis Testing
Lect 7 Hypothesis Testing
HYPOTHESIS TESTING 1 / 23
Introduction
HYPOTHESIS TESTING 2 / 23
Hypothesis Testing
HYPOTHESIS TESTING 3 / 23
Hypothesis Testing
HYPOTHESIS TESTING 4 / 23
Statistical Hypothesis
HYPOTHESIS TESTING 5 / 23
Statistical Hypothesis
Examples
1 A medical researcher is interested in finding out whether a new
medication will have any undesirable side effects. The researcher is
particularly concerned with the pulse rate of the patients who take
the medication. Will the pulse rate increase, decrease,or remain
unchanged after a patient takes the medication?
H0 : µ = 82 and H1 : µ 6= 82
2 A chemist invents an additive to increase the life of an automobile
battery.If the mean lifetime of the automobile battery without the
additive is 36 months, then her hypotheses are
H0 : µ = 36 and H1 : µ > 36
HYPOTHESIS TESTING 6 / 23
Statistical Hypothesis
HYPOTHESIS TESTING 7 / 23
Statistical Hypothesis
HYPOTHESIS TESTING 8 / 23
Statistical Hypothesis
A claim, however, can be stated as either the null hypothesis or the
alternative hypothesis; but the statistical evidence can only support the
claim if it is the alternative hypothesis. Statistical evidence can be used to
reject the claim if the claim is the null hypothesis. These facts are
important when you are stating the conclusion of a statistical study.
Exercise: State the null and alternative hypotheses for each conjuncture.
1 A researcher studies gambling in young people. She thinks those who
gamble spend more than $30 per day.
2 A researcher wishes to see if police officers whose spouses work in law
enforcement have a lower score on a work stress questionnaire than
the average score of 120.
3 A teacher feels that if an online textbook is used for a course instead
of a hardback book, it may change the students? scores on a final
exam. In the past, the average final exam score for the students was
83.
HYPOTHESIS TESTING 9 / 23
Statistical Hypothesis
Recall that when samples of a specific size are selected from a population,
the means of these samples will vary about the population mean, and the
distribution of the sample means will be approximately normal when the
sample size is 30 or more.
HYPOTHESIS TESTING 10 / 23
Statistical Hypothesis
The farther away the sample mean is from the population mean, the
more evidence there would be for rejecting the null hypothesis.
The difference must be significant and in all likelihood not due to
chance. Here is where the concepts of statistical test and level of
significance are used.
A statistical test uses the data obtained from a sample to make a
decision about whether the null hypothesis should be rejected.
The numerical value obtained from a statistical test is called the test
value or test statistic.
Sample data are used to determine if a null hypothesis should be
rejected. Because this decision is based on sample data, there is a
possibility that an incorrect decision can be made.
In the hypothesis-testing situation, there are four possible outcomes.
HYPOTHESIS TESTING 11 / 23
Statistical Hypothesis
HYPOTHESIS TESTING 12 / 23
Level of Significance
When there is a large difference between the mean obtained from the
sample and the hypothesized mean, the null hypothesis is probably not
true. The question is, How large a difference is necessary to reject the null
hypothesis? Here is where the level of significance is used.
HYPOTHESIS TESTING 13 / 23
Level of Significance
When there is a large difference between the mean obtained from the
sample and the hypothesized mean, the null hypothesis is probably
not true. The question is, How large a difference is necessary to reject
the null hypothesis? Here is where the level of significance is used.
The level of significance is the maximum probability of committing
a type I error. This probability is symbolized by α. That is,
P(type I error) = α.
The probability of a type II error is symbolized by β. That is,
P(type II error) = β
Three arbitrary significance levels: the 0.10,0.05, and 0.01 levels.
That is, if the null hypothesis is rejected, the probability of a type I
error will be 10, 5, or 1, depending on which level of significance is
used.
HYPOTHESIS TESTING 14 / 23
Critical Value
HYPOTHESIS TESTING 15 / 23
One-Tailed or Two-tailed tests
HYPOTHESIS TESTING 16 / 23
One-Tailed or Two-Tailed Tests
HYPOTHESIS TESTING 17 / 23
One-Tailed or Two-Tailed Tests
In the two-tailed test the critical region must be split into two equal parts.
If α = 0.01 , then one-half of the area, or 0.005, must be to the right of
the mean and one-half must be to the left of the mean.
HYPOTHESIS TESTING 18 / 23
One-Tailed or Two-Tailed Tests
HYPOTHESIS TESTING 19 / 23
Hypothesis Testing Procedure
HYPOTHESIS TESTING 20 / 23
Applying Concepts
HYPOTHESIS TESTING 21 / 23
Applying Concepts
HYPOTHESIS TESTING 22 / 23
Exercise
HYPOTHESIS TESTING 23 / 23