Hypothesis Testing Part I
Hypothesis Testing Part I
Hypothesis Testing Part I
CHAPTER 8
HYPOTHESIS TESTING
Introduction
According to Deveza (1996), the following are the criteria of “good” hypotheses and
hypotheses statements:
These two criteria mean that hypothesis statements contain two or more variables
that are measurable or potentially measurable and that they specify how the
variables are related.
Types of Hypothesis
1. Null Hypothesis (𝐻𝑜 ) is primarily used for statistical purposes. It is the hypothesis
to be tested and it represents what the investigation doubts to be true.
The alternative hypothesis is a statement that contradicts or disagrees with the null
hypothesis. If the null hypothesis is rejected, the conclusion is reflected by the
alternative hypothesis. If there is no enough statistical evidence to reject the null
hypothesis, it is retained, but not accepted. In this case, the null hypothesis is not
necessarily true, but it just cannot be rejected from the current evidence from the
sample data.
Example 1
Example 2
a) One-tailed test is also known as the directional test. It occurs when researchers
do not have a priori expectation about the ample value they expect to observe. This
is usually done if the researcher just want to test whether a mean is larger or
smaller the hypothesized population mean.
Figure 8.1
Region of Rejection and Acceptance in One-tailed Test
Figure 8.2
Region of Rejection and Acceptance in Two-tailed Test
Level of Confidence
Furthermore, the level of significance determines the critical value of the test
statistic. This value serves as the reference point for rejecting or not rejecting a null
𝛼
hypothesis. In a two-tailed test, the level of significance is given by . For instance, if
2
the indicated level of significance is 5% and the test is a two-tailed test, the level of
significance would be determined by 2.5%.
Types of Errors
2. Determine the measurement level of the variables under study. The level of
measurement of the variable determines to a large extent the statistical test the
hypothesis. Parametric tests are generally used for interval and ratio data of
measurement while nonparametric tests are usually applied to nominal and ordinal
types.
8.1 z-test
This parametric test is used when the given data is population mean and
population standard deviation and 𝑛 > 30. The formula is given by
𝑥̅ − 𝜇
𝑧= 𝜎
√𝑛
𝜇 − 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛
𝑛 − 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑠𝑎𝑚𝑝𝑙𝑒𝑠
• Your sample size should be greater than 30. Otherwise, use a t test.
• Data points should be independent from each other.
• Your data should be normally distributed. However, for large sample sizes
(over 30) this doesn’t always matter.
• Your data should be randomly selected from a population, where each item has
an equal chance of being selected.
• Sample sizes should be equal if at all possible.
Example
In a recent survey of Information Technologists in Nueva Ecija, it was found out that
the average monthly net income of IT experts is P12, 542. Suppose a researcher
wants to test this figure by taking a random sample of 165 IT experts in the province
to determine whether the monthly net income has changed. Suppose further that
the average net monthly income of 165 IT experts is P13,861 and the population
standard deviation was found out to be P1,459. Test the significance at 5% level.
Solution:
Step 1. 𝐻0 : The average monthly net income of IT experts is still P12, 542
𝜇 = 𝑃12, 542
𝜇 ≠ 𝑃12,542
𝑥̅ − 𝜇
𝑧= 𝜎
√𝑛
Step 4. Reject 𝐻0 if the computed z-value is greater than 1.96 or less than -1.96
𝜇 = 12,542
𝑛 = 165
𝜎 = 1,459
𝑥̅ − 𝜇
𝑧= 𝜎
√𝑛
13,861−12,542
𝑧= 1,459
√165
= 11.61
Exercises 8.1
z-test
1. In the population, the average IQ is 100 with a standard deviation of 15. A team of
scientists wants to test a new medication to see if it has either a positive or negative
effect on intelligence, or no effect at all. A sample of 30 participants who have taken
the medication has a mean of 140. Did the medication affect intelligence, using alpha
= 0.05?
2. The mean Verbal SAT score for the population of first students at NEUST is 520.
The standard deviation of scores in this population is 95. An investigator believes
that the mean Verbal SAT of first year psychology majors is significantly different
from the mean score of the population. The mean of a sample of 36 first year
psychology majors is 548. Please test the investigator's prediction using an alpha
level of .05.
3. The mean number of close friends for the population of people living in the
Philippines. is 5.7. The standard deviation of scores in this population is 1.3. An
investigator predicts that the mean number of close friends for introverts will be
significantly different from the mean of the population. The mean number of close
friends for a sample of 26 introverts is 6.5. Do these data support the investigator's
prediction? Use an alpha level of .05.