Example
CROSSTABS TABLES=FEAR BY SEX
/CELLS=ROW COLUMN EXPECTED RESIDUALS
/STATISTICS=CHISQ.
• CROSSTABS generates a Case Processing Summary table, a Crosstabulation table, and a
Chi-Square Tests table.
• The variable FEAR defines the rows and the variable SEX defines the columns of the
Crosstabulation table. CELLS requests row and column percentages, expected cell
frequencies, and residuals.
• STATISTICS requests the chi-square statistics displayed in the Chi-Square Tests table.Display the Chi-Square Test table. Chi-square statistics include Pearson chisquare,
likelihood-ratio chi-square, and Mantel-Haenszel chi-square (linearby-
linear association). Mantel-Haenszel is valid only if both variables are
numeric. Fisher’s exact test and Yates’ corrected chi-square are computed for
all 2 × 2 tables. This is the default if STATISTICS is specified with no
keywords.