Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
By
A.Bofa
1
Population Sample
Parameter
Statistics
μ 𝑥ҧ
σ 𝑠
RANDOMIZATION
N n
2
Hypotheses Testing/Significance
Test
• This is one of the most important and commonly used technique
of statistical inference.
• Suppose a series of observations were randomly selected from
a population. We might be interested in a certain hypothesis
which specifies values for one parameter of the population.
3
Statistics: summarize data
• Descriptive statistics
• Describe population
• % of women of reproductive age using contraceptive methods
• % of women received antenatal care from trained health personnel
• Inferential statistics
• Used for hypothesis testing
• Does delivery at health facility reduce neonatal and maternal mortality?
• Does risk perception increase condom use?
4
Hypothesis
5
Types of Hypotheses
H0: The visits by health workers do not increase contraceptive prevalence rate
8
continued
Rules of stating statistical hypotheses
The following rules of thumb are used for deciding
what statement goes in the null hypothesis and what
statement goes in the alternative hypothesis:
9
Rules of stating statistical hypotheses
10
The level of significance
The level of significance, which is denoted as , is
the probability of rejecting a true null hypothesis.
11
• p-value: For a specific test of a hypothesis, the likelihood or probability of
observing, under the assumption that the null hypothesis is true, an
outcome as far away or further from the null hypothesis than the one
observed.
✓If the p-value is small, typically p < 0.05, then it is often judged that the null
hypothesis is unlikely to be true because, if it were, one would not expect
to have observed so unlikely an outcome
✓The p-value, on the other hand, can be determined only after the test
statistic is calculated. They are related in the sense that, if α = 0.05,
then we will reject the null hypothesis as being true if the value we
calculate for p is p < 0.05.
12
Types of error
β-error or Type II error: The error made when we accept as true a null
hypothesis that is false. The value of β is the likelihood of making a β-
error. Controlling this error is more complicated than controlling the α-
error. It usually involves selecting an appropriate sample size to detect a
difference of a specified magnitude.
15 - 14
Types of error
15
Statistical decision and conclusion
Statistical decision consists of rejecting or not
rejecting the null hypothesis. The null hypothesis is
rejected if the computed value (absolute) of the test
statistic is greater than the standard value (absolute)
of the test statistic, and it is not rejected if the
computed value of the test statistic is smaller.
The p-value can be perceived as an oracle that judges our results. If the
p-value is 0.05 or lower, the result is declared as significant, but if it is
higher than 0.05, the result is non-significant and tends to be passed over
in silence.
17
18
19
20