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. Macros
  3. Sample Macro Library
  4. Self Adjusing Code

Self Adjusing Code

  • Macro Exits Loop When Data Meeting Convergence Criteria This is useful when you have an iteration process, each iteration takes a lot of time, and you do not know how many iterations will be required
  • Include Several File-wise or Group-wise Statistics Into Syntax How to use macro if you need to have several statistics to be used in the syntax furter. Say, subgroup N and file total N
  • Include Output Into Syntax Macro to paste maximum rank (number of cases) into syntax to use it furhter
  • ```INCLUDE``` Stops Because ```SELECT IF``` Results In No Data One old way to overcome problem when included syntax stops when files becomes empty. Solved by including extra case with all missing data.
Related pages

...

Navigate from here
  • Sample Macro Library
  • Working with Many Files
  • Learning Macros
  • Macro Exits Loop When Data Meeting Convergence Criteria
  • Get random page
  • Back to top

 


 

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