Chi Square Test
Chi Square Test
Chi Square
2 ( )
Is used to investigate whether distributions of categorical variables differ from one another. Categorical data may be displayed in contingency tables. May be used to test the hypothesis of no association between two or more groups between the row and column classifications.
Chi square tests can only be used on actual numbers and not on percentages, proportions, means, etc.
There are several types of Chi Square test used depending on the way the data was collected and the hypothesis being tested.
1.386
4.605
5.991
7.824
9.210
13.815
2.366
6.251
7.815
9.837
11.345
16.268
3.357
7.779
9.488
11.668
13.277
18.465
4.351
9.236
11.070
13.388
15.086
20.517
Category 1
a+b
Category 2
c+d
Total
a+c
b+d
a+b+c+d=N
2 =
[ ]2 + + (+)(+)
EXAMPLE:
Suppose you conducted a drug trial on a group of animals and you hypothesized that the animals receiving the drug would show increased heart rates compared to those that did not receive the drug. You conduct the study and collect the following data: : The proportion of animals whose heart rate increased is independent of drug treatment. : The proportion of animals whose heart rate increased is associated with drug treatment.
[ ] = + + ( + )( + )
After acquiring the chi square, the degrees of freedom will be computed next. We can get this by the formula: df= (number of columns-1)x(number of rows-1)
Formula to be used:
2 =
( )2
Category I
Category II
Category III
Row Totals
Sample A
a+b+c
Sample B
d+e+f
Sample C
g+h+i
Column Totals
a+d+g
b+e+h
c+f+i
a+b+c+d+e+f+g+h+i=N
Total
62
29
133
34
50
32
116
76
112
61
249
= Learning difficulties and mathematical proficiency are independent to each other. = Learning difficulties and mathematical proficiency are related to each other.
Observed 42 62 29 34 50 32
1.12