Chi Square Test
Chi Square Test
Chi Square Test
Purpose
To measure discontinuous categorical/binned data in which a
number of subjects fall into categories
We want to compare our observed data to what we expect to see.
Due to chance? Due to association?
When can we use the Chi-Square Test?
Testing outcome of Mendelian Crosses, Testing Independence Is one
factor associated with another?, Testing a population for expected
proportions
Assumptions:
1 or more categories
Independent observations
A sample size of at least 10
Random sampling
All observations must be used
For the test to be accurate, the expected frequency
should be at least 5
Conducting Chi-Square Analysis
1) Make a hypothesis based on your basic biological
question
2) Determine the expected frequencies
3) Create a table with observed frequencies, expected
frequencies, and chi-square values using the formula:
(O-E)2
E
4) Find the degrees of freedom: (c-1)(r-1)
5) Find the chi-square statistic in the Chi-Square
Distribution table
6) If chi-square statistic > your calculated chi-square
value, you do not reject your null hypothesis and vice
versa.
Mantel-Haenszel Chi-Square Test
QMH = (n-1)r2