User Guide

232
Chapter 11
E
From the menus choose:
Transform
Automatic Recode...
This opens the Automatic Recode dialog box.
Figure 11-11
Automatic Re
code dialog box
E Select t
he variable Gender (gender) andmoveittotheVariable->NewNamelist.
E Type gen
der2
in the New Name text box, and then click the New Name button.
E Click OK
to run the procedure.
This creates a new numeric variable called gender2, which has a value of 1 for females
and a valu
e of 2 for males. Now a chi-square test can be run with a numeric variable.
E From the
menus choose:
Analyze
Nonparametric Tests
Chi-Square...
E
This opens the Chi-Square Test dialog box.