Creating a category based on another variable
Sometimes you may want to add a new category that is based on another variable. For example, in the Museum survey, you could add a category to the biology variable that selects respondents who entered a value greater than 4 when answering the question "How many times have you visited the museum before today?" (this the value in the visits variable).
You can do this by adding a user-defined category to the variable.
To add a category
1 In the Variables pane, select the text variable that you want to change.
2 From the menu, choose Variables > Edit Variable
This opens the Edit Variable window and displays information about the variable.
3 From the menu, choose Categories > Insert Categories
This opens the Insert Categories dialog box.
4 In the list of Available Items, select User-defined, and then click the >> button to add it to the list of items to insert.
5 Select the new category and edit the Description field to give it a meaningful description.
7 In the list of variables on the left of the dialog, select the variable that you want to base the category on, for example, visits, and drag it to the Filter area on the right of the screen.
8 Use the features on the right side of the dialog box to define the expression for the category. For example, select Greater than from the list box and then enter 4 in the text box.
9 When you have finished defining the category, click OK to save the changes and return to the Insert Categories dialog box.
10 Click OK again to return to the Edit Variable dialog box. If necessary, use the features in this dialog to make further changes to the variable.
11 Choose Save and Close from the toolbar.
See also