Adding a layer variable
You can add a layer variable to create a three-way table in which categories of the row and column variables are further subdivided by categories of the layer variable. This variable is sometimes referred to as the control variable because it may reveal how the relationship between the row and column variables changes when you "control" for the effects of the third variable.

- Return to the Crosstabs dialog and click Basic settings.
- Click Select variables under the Layer variables section, select ed - Level of Education as the layer variable, and then click OK.
- Expand the Additional settings menu and click Options.
- Deselect (clear) the Row setting under the Percentages section.
- Click Run analysis to run the procedure.
If you look at the crosstabulation table, it might appear that the only thing we have accomplished is to make the table larger and harder to interpret. But if you look at the table of chi-square statistics, you can easily see that in all but one of the education categories, the apparent relationship between income and PDA ownership disappears (typically, a significance value less than 0.05 is considered "significant").

This suggests that the apparent relationship between income and PDA ownership is merely an artifact of the underlying relationship between education level and PDA ownership. Since income tends to rise as education rises, apparent relationships between income and other variables may actually be the result of differences in education.