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. Compute

Compute

  • Find the cubic root
  • Reverse the digits on an integer
  • Create a new variable equal to mean of an other variable
  • Compute average of m variables where m is a variable in the data file
  • Compute distances between 2 points on earth
  • Compute percentage of patients having each fracture category
  • Automatically compute sample weights to approximate population
  • Box-Cox Transformation
  • Compute z = x / max( y) where max( y) is over all cases
  • Count number of distinct values across 400 variables
  • Weight data based on 2 or more vars
  • Find LAG(var1, var2) Produce lagged variables with variable lag step.
Related pages

...

Navigate from here
  • Sample Syntax Library
  • Combinations, Permutations, Interactions
  • Factor Analysis
  • Find the cubic root
  • Get random page
  • Back to top

 


 

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