SPSS tutorials website header logo

SPSS tutorials


Changing Variable Properties 1 – Introduction

A great way to start working from syntax is using "Paste" instead of "Ok". However, there's no "Paste" option for modifying most variable properties. This tutorial shows how handle that properly.

Changing Variable Properties

Creating Test Data

Running the syntax below will create some test data. We'll use it in the following tutorials to demonstrate how to modify each of the variable properties individually.
*Create some test data for modifying variable properties.

data list free/name(a6) birthday(edate10) married(f1) income(f5.0) q1 q2 q3.
begin data
Chris 15/4/1979 1 2880.5 0 1 0
Stefan 10/1/1978 0 4812.45 1 1 1
Anneke 31/3/1947 2 3438.12 1 2 2
end data.

Click on of the Properties in the Screenshot Below

Overview Changing Variable Properties

  1. Changing Variable Names in SPSS
  2. Changing Variable Type in SPSS
  3. Changing Variable Width in SPSS
  4. Changing Variable Decimals in SPSS
  5. Changing Variable Labels in SPSS
  6. Changing Value Labels in SPSS
  7. Setting Missing Values in SPSS
  8. Changing Columns in SPSS
  9. Changing Variable Alignment in SPSS
  10. Changing Variable Measure in SPSS
  11. Changing Variable Role in SPSS

Previous tutorial: SPSS Dictionary

Next tutorial: Changing Variable Properties 2 – Names

Let me know what you think!

*Required field. Your comment will show up after approval from a moderator.

This tutorial has 1 comment!