0% found this document useful (0 votes)
69 views6 pages

Chi Square Test

The Chi Square Test is used to compare observed categorical data to expected values to determine if any differences are due to chance or some association between variables. It has assumptions around sample sizes, independence of observations, and expected frequencies. To conduct a Chi Square Test, you state a hypothesis, determine expected frequencies, calculate Chi Square values in a table, find degrees of freedom, compare the Chi Square statistic to values in a distribution table, and determine whether to reject or fail to reject the null hypothesis. The Mantel-Haenszel Chi Square Test specifically tests for a linear association between row and column variables.

Uploaded by

Unnat Churi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views6 pages

Chi Square Test

The Chi Square Test is used to compare observed categorical data to expected values to determine if any differences are due to chance or some association between variables. It has assumptions around sample sizes, independence of observations, and expected frequencies. To conduct a Chi Square Test, you state a hypothesis, determine expected frequencies, calculate Chi Square values in a table, find degrees of freedom, compare the Chi Square statistic to values in a distribution table, and determine whether to reject or fail to reject the null hypothesis. The Mantel-Haenszel Chi Square Test specifically tests for a linear association between row and column variables.

Uploaded by

Unnat Churi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

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

r2 is the Pearson correlation coefficient


(which also measures the linear association
between row and column)
Tests alternative hypothesis that there is a
linear association between the row and
column variable
Follows a Chi-square distribution with 1
degree of freedom
Conclusion
The Chi-square test is important in testing the association
between variables and/or checking if ones expected proportions
meet the reality of ones experiment

There are multiple chi-square tests, each catered to a specific


sample size, degrees of freedom, and number of categories

You might also like