There are a number of ways to remove variables in Q. The method used depends on your specific needs.
Deleting variables created in Q
Variables that have been created in Q will have their variable name shown in the Variables and Questions tab in a black font. If the variables have been created in Q, just select them in the Variables and Questions tab, right-click and select an option beginning with Delete.
Hiding variables and questions so that they are not shown on the Outputs Tab
In the Variables and Questions tab, press the button for the variables that you wish to hide.
Moving variables in the Variables and Questions tab
In the Variables and Questions tab, select the variables that you wish to hide and press the which will move them to the end of the file and thus put them at the bottom of all lists of variables used in Q. That is, they are not actually hidden but they are out of sight for most purposes.
Deleting variables from the raw data
If you want to delete variables that are in a raw data file, you can do this by:
- Opening a new version of Q.
- Importing the data file, selecting No to any questions.
- Hide the variables that you wish to have deleted (see above).
- Select Tools > Save Data as SPSS/CSV File and save it to somewhere appropriate.
- Select File > Data Sets > Update an import the modified data file.