SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Custom Tables not displaying value labels?

    Posted Tue May 11, 2021 05:27 PM

    Over the last week, a syntax file I previously wrote to create custom tables began to not display the value labels and now only displays the value. The syntax was not edited on my end.

    Upon inspection of the syntax, I think I found the issue. In the Categories subcommand, "LABEL" is both a keyword and keyword value (for the KEY option).

    In my syntax file, SPSS is interpreting the "LABEL" in "KEY=LABEL" as a keyword (color-coded in maroon/red) instead of a keyword value (color-coded in orange).

    Is there a way to force SPSS to interpret "LABEL" as a keyword value so that the syntax could work properly again?

    Any help or insight would be appreciated!






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: Custom Tables not displaying value labels?
    Best Answer

    Posted Tue May 11, 2021 05:37 PM

    I would have to see the full CTABLES syntax to be sure, but I don't think the CATEGORIES subcommand is the issue. The label/value display is governed by the VLABELS subcommand. If as typical, you have DISPLAY=DEFAULT, then the display would be governed by your preference settings from Edit > Options.

    If that isn't the issue, please post a complete CTABLES command.






    #SPSSStatistics
    #Support
    #SupportMigration


  • 3.  RE: Custom Tables not displaying value labels?
    Best Answer

    Posted Tue May 11, 2021 06:16 PM

    Hi Jon- Thanks for the reply, it helped resolve my issue! I had to change the preference setting under the Edit > Options menu.


    I appreciate your quick answer! :)






    #SPSSStatistics
    #Support
    #SupportMigration


  • 4.  RE: Custom Tables not displaying value labels?
    Best Answer

    Posted Tue May 11, 2021 07:12 PM

    Good. You could override that with an explicit setting on the /VLABELS subcommand.






    #SPSSStatistics
    #Support
    #SupportMigration