Chapter 8 Hypothesis Testing
Chapter 8 Hypothesis Testing
Chapter 8 Hypothesis Testing
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
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
Statistics and Probability by CMDAncheta and SMAGalman
Chapter 8: Hypothesis Testing P a g e | 115
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
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 . The formula is given by
Where:
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 4. Reject if the computed z-value is greater than 1.96 or less than -1.96
Step 5. Given :
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.
8.2 t-test
Use t-test when the sample variance is known instead of the population
variance and the sample is equal to or less than 30.
Where:
Example
A researcher is interested to find out whether the mental ability of the children in a
large community inhabited mostly by farmers in an agricultural area differs from
that of the population. He took a sample of 28 elementary and high school students
from the school in the community. Using a standardized IQ test, he found the mean
equal to 95 and the standard deviation equal to 14. He set the alpha level at 0.05. the
population mean is 100.
Solution:
Step 4.
Hence, the critical values of t at the 0.05 level of confidence with 29 degrees of
freedom is given by
Step 5. Given :
14
Exercises 8.2
t-test
1. A certain brand of bath soap is advertised to have a net weight of 200 grams. If the
net weights of 10 boxes are 195, 155, 175, 210, 225, 150, 145, 190, 215, and 220
grams, can it be concluded that the average net weight of the boxes is less than the
advertised amount?
2. The daily wages of factory workers in the country today is assumed as normally
distributed with a mean of P190.00. Factory ABC employs 25 workers and pays an
average of P180.00 a day with a standard deviation of P23.50. Can factory ABC be
accused of paying inferior wages to its employees at 0.05 level of significance.
Where:
Statistics and Probability by CMDAncheta and SMAGalman
Chapter 8: Hypothesis Testing P a g e | 125
Where:
Where:
Degrees of Freedom
Where:
Example
Test the hypothesis that teaching aptitude varies by academic performance. Data
are as follows.
95 86 78
91 87 76
88 87 78
96 84 79
92 81 72
Solution:
Procedure:
3) ANOVA (F-test)
4) Computation:
85
Thus,
4.2 Compute
4.3 Compute
5. Decision: Since the computed F-ratio of 5.18 is greater than the critical F value of
3.88 for , the null hypothesis is rejected. It is significant at 0.05 level of
confidence.
6. Interpretation
The significant F-ratio reveals the rejection of null hypothesis. Thus the there is
enough statistical evidence to accept the alternative hypothesis. This means that the
Above Average, Average and Below Average teaching aptitude groups differ with
respect to academic performance. The mean academic performance of the above
average group is the highest while the mean academic performance of the below
group is the lowest. Thus it can be said that the academic performance varies on
their teaching aptitude.
Exercises 8.3
Analysis of Variance (ANOVA)
1. The table below shows the test scores of the top five students in Statistics. Use the
analysis of variance to test the hypothesis that the mean scores are the same for five
students at 5% level of significance.
Exam Student
A B C D E
1 24 29 27 23 22
2 27 22 34 22 34
3 25 25 33 17 23
4 31 27 32 21 25
5 36 28 31 20 26