SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  Modifying Output

    Posted Tue June 14, 2022 11:08 AM
    Dear Group,

    is there a way to change the text labels in the left pane output windows using syntax? Python would be an option, if needed.
    I am running dozens of regression analyses and I want the labels more informative than „Regression" – like "Model 1", "Model 2".



    ------------------------------
    Frank Watzl
    ------------------------------

    #SPSSStatistics


  • 2.  RE: Modifying Output

    Posted Tue June 14, 2022 11:25 AM
    Edited by System Admin Fri January 20, 2023 04:08 PM
    Hi.

    Check the OUTPUT MODIFY command. That may work. Here is a quick example:

    regression variables=etc.

    output modify /select outlineheaders
    /objectproperties outlinelabel="REGRESSION, MODEL 1".

    There are many other possible options, including an IF subcommand that would restrict the change to a certain procedure only - for example, Regression.

    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 3.  RE: Modifying Output

    Posted Tue June 14, 2022 11:32 AM
    A *slightly* more developed example:

    output modify /select outlineheaders
     /if commands=['Regression'] instances=last
     /objectproperties outlinelabel="REGRESSION, MODEL x".

    Wish I had more time to spend on this; OUTPUT MODIFY is a very handy command. But this should get you started in a useful direction, I think.

    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 4.  RE: Modifying Output

    Posted Tue June 14, 2022 11:43 AM
    Adding to that, if you need a more powerful command for this, look at the SPSSINC MODIFY OUTPUT extension command, which you can install from the Extensions > Extension Hub menu if you don't already have it.  OUTPUT MODIFY is a simplified, built-in version of that.  It is easier to use but less powerful.

    --





  • 5.  RE: Modifying Output

    Posted Tue June 14, 2022 11:59 AM
    Jon, Rick,

    thank you so much, this looks really promising.