SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    Posted Sat October 21, 2023 02:50 AM

    SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    I couldn't figure out how to standardize variables according to the min-max method in order to get them better plotted in boxplot

    ee
    ttyy
    iii


    ------------------------------
    jamal numan
    ------------------------------


  • 2.  RE: SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    Posted Sat October 21, 2023 10:10 AM
    The easiest way to do this is to first install the STATS PREPROCESS extension command via Extensions > Extension Hub.  Then do Transform > Preprocess Variables.  This offers several ways to standardize variables: mean-variance, scale to range, and robust scaling.  It also provides a number of ways to transform the variable distributions.

    --





  • 3.  RE: SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    Posted Sat October 21, 2023 12:20 PM

    I tried it as per the screenshots below.

    It ends up with the message "Extension command  STATS_PREPROCESS  could not be loaded. The module or a module that it requires may be missing, or there may be syntax errors in it.

    What could be the issue here?

    tt
    ee
    ss
    yy
    hh


    ------------------------------
    jamal numan
    ------------------------------



  • 4.  RE: SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    Posted Sat October 21, 2023 12:56 PM
    Run this code, which will give more information.
    Begin program python3.
    import STATS PREPROCESS
    end program.





  • 5.  RE: SPSS 27: How to standardize variables according to the min-max method in order to get them better plotted in boxplot?

    Posted Wed October 25, 2023 05:13 AM
    Edited by Kirill Orlov Wed October 25, 2023 05:14 AM

    Three more options in addition to Jon's.

    1) Do it via syntax yourself according to the formula, utilizing AGGREGATE command as a tool to propagate values accross cases. It is easy.

    2) Use !KO_RESCALE function found on "Kirill's SPSS Macros Page", collection "Matrix - End Matrix functions".

    3) Use !KO_HRESC macro found on the page in the collection "Horizontal tools". This, however, rescales data within cases, not within variables. So you will need to transpose your data first.



    ------------------------------
    Kirill Orlov
    ------------------------------