Hypothesis Testing Part 1
Hypothesis Testing Part 1
Arellano, RMT
LEARNING OUTCOMES
Explain the uses of the different descriptive
statistical tools.
Interpret results of the different statistical tools
INTRODUCTION
In quantitative research, we aim to answer research
questions. One method of evaluating this research question
is via a process called hypothesis testing, which is
sometimes also referred to as significance testing.
HYPOTHESIS TESTING
• a statistical method used to make decisions or inferences
about population parameters based on sample data.
•It involves testing an assumption (called the null hypothesis,
Ho) against an alternative hypothesis (H1 or Ha)
STATISTICAL INFERENCE
Statistical Inference: Process of drawing conclusions about the population on the
basis of the samples obtained from the population of interest.
An approach in statistical inference is STATISTICAL HYPOTHESIS TEST
Steps in Hypothesis Testing:
(1) formulating statistical hypothesis,
(2) setting the level of significance,
(3) computation of the test statistic,
(4) statistical decision,
(5) interpretation/drawing of conclusion.
STATISTICAL HYPOTHESIS
Definition: is an assertion concerning one or more population.
Null Hypothesis
Hypothesis of no difference
Should always be stated for the purpose of being rejected or not being
rejected
Examples
The average daily intake of linoleic acid is equal to 15 grams (Ho: u=15)
There is no difference in mean serum uric acid level of patients between
with syndrome and without syndrome
STATISTICAL HYPOTHESIS
Alternative Hypothesis (aka research hypothesis): the hypothesis that the researcher believes in.
Non directional (aka two-sided hypothesis): there is a significant difference between two
descriptive measures. It makes use of “not equal to” symbol (≠)
Example:
The average daily intake of linoleic acid is not equal to 15 grams (H1: u ≠ 15)
Directional: is an assertion that one descriptive measure is less than or greater than another
descriptive assertion
Example:
The average daily intake of linoleic acid is less than 15 grams (H1: u < 15)
The average daily intake of linoleic acid is greater than 15 grams (H1: u > 15)
STATE THE HYPOTHESES
Scenario 1: A pharmaceutical company is testing a new drug to see if it lowers blood
pressure.
Scenario 4: A company wants to know if their new marketing campaign has increased
the average number of sales.
ONE-TAILED TEST (DIRECTIONAL TEST)
•tests for the possibility of the relationship in one direction only.
Example: H1: The mean is greater than or less than some value (but not
both)
Scenario 1: You're testing whether a new drug lowers blood pressure.
H1: μ<μ0 (testing for a decrease)
Scenario 2: You're testing whether a company’s new product increases
customer satisfaction scores.
H1:μ>μ0 (testing for an increase)
TWO-TAILED TEST (NON-DIRECTIONAL TEST)
•Test for the possibility of the relationship in both directions.
Example: H1: The mean is different from a specific value, meaning it could
be either greater than or less than that value.
•Scenario 3: You're testing whether a new teaching method results in any
difference in student performance (it could be better or worse).
•H1:μ=/μ0
•Scenario 4: You're testing whether a coin is biased in any direction (more
heads or more tails).
•H1:p/=0.5
LEVELS OF SIGNIFICANCE
Significance Level (α\alpha):
Definition: is the probability that the null hypothesis will be rejected when it is
true
There are three levels of significance most commonly used: 0.10, 0.05, 0.01
Threshold: reject Ho = 0.05 (5%) risk to commit Type I error (rejecting
a true null hypothesis)
TYPES OF ERRORS
TYPE 1 ERROR (FALSE POSITIVE)
•Occurs when Ho is rejected, but is actually true
•Denoted by α, often set to 0.05, meaning a 5% chance of
rejecting Ho when it is true
TYPE II ERROR (FALSE NEGATIVE)
•Occurs when Ho is not rejected, but Ho is false
•Denoted by β, representing the probability of failing to
reject a false null hypothesis
TEST STATISTIC
A value calculated from sample data, used to make decisions
about the hypotheses.
Common test statistics: z-score and t-score
The selection of the test statistic depends on
➢Type of variables
➢Levels of measurement
➢Whether the samples are independent or dependent
➢The assumption on the distribution about the data
CRITICAL AND ACCEPTANCE REGIONS
Critical Region: the region in which the null hypothesis is rejected if
the test statistic fall within.
Critical value: serves as basis whether the hypothesis is rejected or
failed to reject.
REJECTION REGION
➢For a one-tailed test, the critical region (where you reject Ho) is only on
one side of the distribution.
➢If you're testing for an increase (𝐻1:𝜇>𝜇0 ), you would only reject 𝐻o
if the test statistic falls far into the right tail of the distribution.
➢If you're testing for a decrease (𝐻1:𝜇<𝜇0 ), you would only reject 𝐻o
if the test statistic falls far into the left tail of the distribution.
REJECTION REGION
➢For a two-tailed test, the critical region is split between both tails of
the distribution
➢You would reject 𝐻o if the test statistic is either much larger or much
smaller than expected, meaning it falls into either the left or right tail of
the distribution.
WHEN TO USE WHICH TEST?
•Use a one-tailed test if you're only interested in whether the effect is in one direction.
For example, you might use a one-tailed test when testing whether a drug only
improves health outcomes, without caring if it worsens them.
•Use a two-tailed test when you're testing for any difference, not just in one direction.
This is the more conservative option because it requires stronger evidence to reject
Ho, as the significance level α is split between both tails.
VISUAL EXAMPLE
One-tailed test (right-tail):
The rejection region is entirely on the right side of the curve if H1 predicts an increase.
Two-tailed test:
The rejection regions are on both sides of the curve, with half of α allocated to the
left side and the other half to the right side.
COMPUTATION OF THE TEST STATISTIC
Before the actual computation of the test statistic, it is highly suggested that: