**Instructions:** This calculator conducts a Chi-Square test of independence. Please first indicate the number of columns and rows for the cross tabulation. Then type the table data, the significance level, and optionally the name of rows and columns, and the results of the Chi-Square test will be presented for you below:

#### More about the *Chi-Square test of independence*

Chi-Square of independence is a test used for categorical variables in order to assess the degree of association between two variables. Sometimes, a Chi-Square test of independence is referred as a Chi-Square test for homogeneity of variances, but they are mathematically equivalent. The idea of the test is to compare the sample information (the observed data), with the values that would be expected if the two variables were indeed independent. The main properties of a Chi-Square test of independence are:

- The distribution of the test statistic is the Chi-Square distribution, with \((r-1)\times(c-1)\) degrees of freedom, where r is the number of rows and c is the number of columns
- The Chi-Square distribution is one of the most important distributions in statistics, together with the normal distribution and the F-distribution
- The Chi-Square test of independence is right-tailed

The formula for a Chi-Square statistic is

\[\chi^2 = \sum_{i,j=1}^n \frac{(O_{ij}-E_{ij})^2 }{E_{ij} }\]One of the most common uses for this test is to assess whether two categorical variables are significantly related or not.

In case you have any suggestion, please do not hesitate to contact us.