Module 6
Module 6
Module for
PM 212B(Research and Statistics)
Prepared by
CONTENT :
Nonparametric Tests
Chi-square test of goodness - of - fit
Chi-square test of independence
Objectives:
At the end of the lesson, the students are expected to:
1. Explain and illustrate what, when, and how to use nonparametric tests
2. Explain and illustrate what, when, and how to use Chi-square test of
goodness - of - fit.
3. Formulate the hypothesis of the problems on Chi-square test of goodness - of
- fit.
4. Analyze and solve problems on Chi-square test of goodness - of - fit.
5. Use SPSS or Excel to conduct statistical analysis
6. Demonstrate their ability to interpret statistical outputs for decisions
Introduction
Nonparametric tests are commonly used when the data is not normally distributed. These tests
are considered to be a type of transformation because they are mostly equivalent to their
parametric counterparts, except that the data has been converted to ranks (1, 2, 3, …) from the
lowest to the highest value. However, when the data undergoes rank transformation, important
information such as the variance of the data points is lost. This makes a strong assumption that
the are
What datanonparametric
points are meaningfully
tests ordered, even if they are actually close to one another and do
not
have much variation.
Nonparametric Non-parametric
tests are tests that do nottests are also
require not compatible
a normal distribution.with the reporting of
means and variances,
Utilize but this
both nominal and can be substituted
ordinal data. with the reporting of medians.
The Chi-square goodness of fit test is a statistical hypothesis test used to determine
whether a variable is likely to come from a specified distribution or not. Test of difference
between the observed frequencies and the expected frequencies.
Example #1:
The theory of Mendel regarding crossing of peas is in the ratio of 9:3:3:1, meaning 9 parts are
smooth yellow, 3 parts smooth green, 3 parts wrinkled yellow and 1 part wrinkled green. The
researcher conducted an experiment and the result was that out of 560 peas, 310 were smooth
yellow, 100 were wrinkled yellow, 110 were smooth green and 40 were wrinkled green. Is there
Solution:
(1) Problem: Is there a significant difference between the observed (actual experiment) and the
expected (theory) frequencies?
(2) Hypotheses:
HO: There is no significant difference between the observed (actual experiment) and the
expected (theory) frequencies
H1: There is a significant difference between the observed (actual experiment) and the
expected (theory) frequencies.
(4) Statistics:
2
x - test of goodness - of - fit
Computation:
Attribute Ratio (actual (theory)
2
s results) Expected (O−E)
Observed Frequencies E
Frequencies
2
Smooth 9 310 315 (9 x 35 (310−315) .079
Yellow = 315) 315
2
Wrinkled 3 100 105 (3 x 35 (100−105) .238
Yellow = 105) 105
2
Smooth 3 110 105 (3 x 35 (110−105) .238
Green = 105) 105
2
Wrinkled 1 40 35 (1 x 35 = ( 40−35) .714
Green 35) 35
2
Total 16 560 560 (O−E)
x 2= ∑ = 1.269
E
560
= 35
16
2
(O−E)
x
2
= ∑ E = 1.269
(6) Conclusion:
The x 2 computed value of 1.269 is lesser than the x 2 tabular value of 7.815 at 0.05
level of significance with 3 degrees of freedom, so the null hypothesis is accepted. This
means that there is no significant difference between the observed (actual experiment) and the
expected (theory) frequencies. In other words, the theory of Mendel holds true because the value
of x 2 - test did not warrant the rejection of the null hypothesis.
The test of independence is different from the test of homogeneity. The sample used in this test
consist of members randomly drawn from the same population. This test used to look into
whether the measures taken on the two - criterion variables are either independent or associated
with one in a given population using such variables as level of education and income,
performance in class and IQ, etc.
The chi-square test of independence is used when we try to find out if there is a significant
relationship between two variables.
The calculation of this test is similar to the test of goodness-of-fit and the test of homogeneity.
The formula is
2
(O−E)
x
2
= ∑ E
Where:
2
x = the chi-square test
Example #2:
Ninety individuals, male and female, were given a test in psychomotor skills and their scores
were classified into high and law. Use the x2 test of independence at 0.05 level of significance.
The table is shown below.
Score
Sex High Low Total
O E O E
Male 18 28 46
Female 32 12 44
Total 50 40 90
Solution:
(1) Problem: Is there a significant relationship between sex and scores in psychomotor skill ?
(2) Hypotheses:
HO: There is no significant relationship between sex and scores in psychomotor skill.
H1: There is a significant relationship between sex and scores in psychomotor skill.
Total 50 40 90
2 2 2 2 2
(O−E) (18−25.56) (32−24.44) (28−20.44) (12−19.56)
x
2
= ∑ E = 25.56
+ 24.44
+ 20.44
+ 19.56
= 10.292
(5) Decision Rule: Reject the null hypothesis.
(6) Conclusion:
The x2 computed value of 10.292 is greater than the x2 tabular value of 3.841 at 0.05 level
of significance with one degree of freedom. The null hypothesis of no relationship is rejected,
Page PAGE 9 of NUMPAGES 10 PM 2121B ( Research and Statistics),
which means that a significant relationship exists between sex and scores in psychomotor skill.
It implies that the female high scores are more in psychomotor skills than their male counterpart.
Links :
1. http://www.ttable.org/chi-square-table.html
2. https://www.statisticssolutions.com/wp-content/uploads/2019/07/7.jpg
1. https://www.khanacademy.org/math/statistics-probability/inference-categorical-data-chi-square-tests/
chi-square-goodness-of-fit-tests/v/pearson-s-chi-square-test-goodness-of-fit
2. https://www.youtube.com/watch?v=b3o_hjWKgQw
3. https://www.youtube.com/watch?v=8CFIZ7YtGWI