How to Define a Variable in SPSS

Launch IBM SPSS Statistics., Click the Variable View tab in the lower-left corner of the Data Editor window. , Type in the first cell under the Name column, and then press the Enter key., Select the String option and click the OK button. , Type in...

18 Steps 1 min read Advanced

Step-by-Step Guide

  1. Step 1: Launch IBM SPSS Statistics.

    The Data Editor window will open.
  2. Step 2: Click the Variable View tab in the lower-left corner of the Data Editor window.

    , Under the Type column, click Numeric, and then click the Ellipses button that appears next to it.

    The Variable Type dialog box will open. ,, Click the cell in row 2 under the Decimals column and change the entry to
    0. ,, The Value Labels dialog box will open. , Type in the Value box, type in the Label box, and then click the Add button. ,,,,
  3. Step 3: Type in the first cell under the Name column

  4. Step 4: and then press the Enter key.

  5. Step 5: Select the String option and click the OK button.

  6. Step 6: Type in row two under the Name column

  7. Step 7: and then press the Enter key.

  8. Step 8: Type in row 2 under the Label column and press the Tab key.

  9. Step 9: Click None in row two under the Values column

  10. Step 10: and then click the Ellipses button.

  11. Step 11: Type in the Value box

  12. Step 12: type in the Label box

  13. Step 13: and then click the Add button.

  14. Step 14: Click the OK button.

  15. Step 15: Type in row three under the Name column

  16. Step 16: and then press the Enter key.

  17. Step 17: Click the "Data View" tab located next to the Variable View tab.

  18. Step 18: Enter the necessary data.

Detailed Guide

The Data Editor window will open.

, Under the Type column, click Numeric, and then click the Ellipses button that appears next to it.

The Variable Type dialog box will open. ,, Click the cell in row 2 under the Decimals column and change the entry to
0. ,, The Value Labels dialog box will open. , Type in the Value box, type in the Label box, and then click the Add button. ,,,,

About the Author

J

Judith James

Specializes in breaking down complex home improvement topics into simple steps.

33 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: