Chi Squared Test Statistic. The chi square χ 2 test represents a useful method of comparing experimentally obtained results with those to be expected theoretically on some hypothesis. A chi square test for independence compares two variables in a contingency table to see if they are related.
χ 2 i 1 r c o i e i 2 e i under the null hypothesis and certain conditions discussed below the test statistic follows a chi square distribution with degrees of freedom equal to r 1 c 1 where r is the number of rows and c is the number of columns. Means that your observed data fits your expected data extremely well. A chi square χ2 statistic is a test that measures how a model compares to actual observed data.
This is a easy chi square calculator for a contingency table that has up to five rows and five columns for alternative chi square calculators see the column to your right.
Means that your observed data fits your expected data extremely well. By default all χ tests are two sided. A chi square test is a test of statistical significance for categorical variables. Thus chi square is a measure of actual divergence of the observed and expected frequencies.