## Chi-Square test

Chi-Square tests can be added to Cross tables.

The chi-square test looks at the variables on the side and top axes of a table and tests whether they are independent. For example, it can be used to show whether variations of a rating depend on gender. First of all, we define a crosstab.

Then enter ‘Content’ and check ‘Chi Square’:

OfficeReports now output a table containing a Chi-Square test:

The test compares the actual counts in each cell with the counts that would be expected in each cell if there were no relationship between the variables. The chi-square statistic provides a summary of the discrepancy between the actual and expected counts. The greater the dependence between the two variables, the larger the discrepancy will be, so a large chi-square statistic indicates dependence between the two variables.

Observe:

Rows and columns. For the chi-square test, the variables on the side and top axes must have at least two categories.Multiple response variables. This test is not suitable for tables that include a multiple response variable.

Multiple response variables. This test is not suitable for tables that include a multiple response variable.