Using the New Variable - Binary Function
The NEW VARIABLE - BINARY function, part of the NEW VARIABLE MENU in EZAnalyze, allows you to create a new variable (or variables) that are scored as either a 0 or a 1 - a process also known as 'dummy coding'. This is a very useful, and probably underutilized tool. For example, if you wanted to create a disaggregation graph using the percent of people who 'agreed' or 'strongly agreed' with your survey question, you can create a new binary variable that is scored a 1 if people selected 'agree' or 'strongly agree', and a 0 if they did not. This is useful because binary variables that are scored as a 0 or a 1 have a 'special property', and that special property is that the mean of a binary variable with values of 0 or 1 is the percent of people who scored a one.
To create a new binary variable for your data, select the "New Variable" option from the EZAnalyze menu in Excel, then select "Binary Variable".
In the "New Binary Variables" dialogue box, select one variable to convert from list on the left. When you click on a variable, you will see the list under 'Current Values' populate. Each value you select will be converted into a new binary variable on your data sheet.
When you click OK, a new column will be added to your data sheet for each value you selected in the 'current values' box. Each new variable will have the original variable name, '_Bin_' and the selected value as the new variable name.