A cross tabulation displays the joint frequency of data values based on two or more categorical variables. The joint frequency data can be analyzed with the chi-square statistic to evaluate whether the variables are associated or independent. Cross tabulation analysis is used for two-way tables and is also known as contingency table analysis.
Production Line | Morning | Evening | Total |
---|---|---|---|
A | 4 | 25 | 29 |
B | 5 | 18 | 23 |
C | 3 | 23 | 26 |
All | 12 | 66 | 78 |
To perform a cross tabulation and chi-square analysis, choose
.If you want to determine whether the proportions of categories from sample data are consistent with a hypothesized distribution, use Chi-Square Goodness-of-Fit Test.