Raynald's SPSS Tools
  • Syntax
    • SPSS Syntax Home
    • Sample Syntax Library
    • Learning Syntax
    • Debugging SPSS Syntax
    • Standard Data Files
  • Macros
    • SPSS Macros — Home
    • Sample Macro Library
    • Learning Macros
    • Debugging Macros
    • Kirill's SPSS Macros Page
  • Scripts
    • SPSS Scripts — Home
    • Sample Scripts Library
    • Learning Scripts
    • The Asynchronous Problem
  • Python
    • Python Scripts Home
    • Sample Python Library
  • R
    • R Scripts — Home
    • Sample R Library
  • Resources
    • Resources Overview
    • Blog
    • Links to SPSS (and not only SPSS) resources
    • SPSS Programming and Data Management Book
  • Sitemap
  • Feedback
  • en
    • Русский
    • Español
    • Portugues
    • Deutsch
    • Français
    • Italiano
  1. Home
  2. Syntax
  3. Sample Syntax Library
  4. Labels, Variable Names and Format

Labels, Variable Names and Format

  • Add (or replace) a character at the beginning of each var names
  • Add'_99' at the end of every variable names
  • Apply lab1 as value label to var1 by syntax
  • Assign same label to many variables
  • Assign value labels to a vector
  • Assign variable and value labels of a given variable to other variables
  • Convert variable format
  • Automatically rename variables
  • Autovariable renaming or copying
  • Create dummy variables
  • Create dummy variables
  • Create new variable equal to number of occurrences of var1
  • Define a global variable
  • Delete List Of Variable Names But Some May Not Exist
  • Delete variables with all values equal to zero
  • Delete or reorder variable names (data fields)
  • Delete many variable labels
  • Group data and define corresponding value labels
  • Match label file with data file
  • Print variable labels and value labels in FREQ Tables
  • Read ASCII data variable name, value and value labels
  • Recode variables var1 becomes varx etc
  • Remove underscores from all variable names
  • Rename variables
  • Rename all variables t2abc becomes t1abc etc
  • Rename var in file1 to names in file2
  • Reverse scale and value labels
  • Round and change format of all numeric variables
  • Show 0.45 instead of.45
  • Sort variable names by alphabetical order
  • Sort variables by name in data file
  • Sort Variables By Alphabetical Order
  • Write value labels to ASCII file (AnswerNet)
Related pages

...

Navigate from here
  • Sample Syntax Library
  • Standard Data Files
  • Unclassified
  • Add (or replace) a character at the beginning of each var names
  • Get random page
  • Back to top

 


 

Raynald's SPSS Tools © 2001–2025, Raynald Levesque, Anton Balabanov. Click to learn more: About the project