Review the Data Subset and Recode Tips before you start work with a study's files.
To subset and recode variables within a data set:
- In the Subset and Analysis page, click the Subset and Recode tab.
- From the Show drop-down list, select one of the following options to show variables in redefined quantities: All, 50, 20, or 10.
- Scroll down the screen and click the check boxes to select variables from the table of available values. When you select a variable, it is added to the Selected Variables box at the top of the tab.
To remove a variable from this box, deselect it from the Variable Type list at the bottom of the screen.
To select all variables, click the check box beside the column name, Variable Type.
- Select one variable in the Selected Variables box, and then click the right Arrow button.
These name of the variable appears in the New Variable Name and New Variable Label boxes.
- In the New Variable Label field, change the variable name to a unique value that is not used in the data file.
The new variable label is optional and you can leave it blank.
- In the table below the Variable Name fields, you can check one or more values to drop them from the subset, or enter new values or ranges (as a condition) as needed. Click the Add Value/Range button to create more entries in the value table.
(See Data Subset and Recode Tips for more information about adding values and ranges.)
- Click the Apply Recodes button.
Your renamed variables appear in the Selected Variables box.
Note: If you enter a variable name that is already in use, you see the message The variable Name you entered is found among the existing variables; enter a new variable name.
- Select another variable in the Selected Variables box, click the right Arrow button, and repeat the recode action.
Repeat this process for each variable that you choose to recode.
Continue to download a subset.