and observed frequencies in a contingency table and the corresponding expected frequencies.
The test statistic is defined by:
This statistic asymptotically (for large expected frequencies) has the Chi-square distribution with a number of degrees of freedom calculated using the formula: - for 3-dimensional tables.
The p-value, designated on the basis of the test statistic, is compared with the significance level :
The settings window with the
Chi-square (multidimensional) test can be opened in
Statistics menu →
NonParametric tests (unordered categories)→
Chi-square (multidimensional) or in ''Wizard''.
This test can be calculated only on the basis of raw data.