SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  split data file and save in different outputs and in different data files

    Posted Thu February 10, 2022 03:28 PM

    How can I split data file and save in different outputs and in different data files? Like here: https://www.youtube.com/watch?v=PiJrWIAsVhA



    ------------------------------
    Meike Niet
    ------------------------------

    #SPSSStatistics


  • 2.  RE: split data file and save in different outputs and in different data files

    Posted Thu February 10, 2022 03:39 PM
    Install the SPSSINC SPLIT DATASET extension command via the Extensions > Extension Hub menu.  Then use will see 
    Data > Split into files 
    on the menus.  It has a number of options for how to customize the details.

    If you subsequently need to process all the generated splits, you can use the SPSSINC PROCESS FILES extension command.  This can iterate over a batch of files, running whatever code you need on each, and saving the output in separate spv files or altogether.

    Of course, you can use the built-in SPLIT FILES SEPARATE command if you just want separate tables and charts from a procedure, but that iterates each command through all the splits, so it doesn't work well if you need to run a batch of syntax on each and have the output grouped by split.

    --





  • 3.  RE: split data file and save in different outputs and in different data files

    Posted Thu February 17, 2022 03:38 AM
    Thank you very much!

    ------------------------------
    Meike Niet
    ------------------------------