SPSS Statistics

Expand all | Collapse all

Exporting Data to MPLUS

  • 1.  Exporting Data to MPLUS

    Posted Tue August 03, 2021 01:41 PM

    Good Morning-

    I am trying to export data from SPSS to MPLUS. Apparently MPLUS prefers .dat files without variable names attached. 

    When saving my work there is not option to change the file to a .dat. or remove the names. I only see this:

    Any advice or insight would be greatly appreciated! I am trying to run a multi-level path analysis in MPLUS. 

    Cheers,
    Brendan 



    ------------------------------
    Brendan Meany
    ------------------------------


  • 2.  RE: Exporting Data to MPLUS

    Posted Tue August 03, 2021 01:50 PM
    Hi. Try the SAVE TRANSLATE command, type CSV, opt not to save names. If you want, change the extension from csv to dat.

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



  • 3.  RE: Exporting Data to MPLUS

    Posted Tue August 03, 2021 01:55 PM
    Another issue. If you want to see options available for saving on Mac, in SPSS go to. Edit > Options > General and uncheck "Display native macOS file dialogs."



    Then select File > Save As... and you should see more helpful options.

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



  • 4.  RE: Exporting Data to MPLUS

    Posted Tue August 03, 2021 01:55 PM
    You can run a command like
    save translate outfile="c:\temp\out.dat" type=csv.
    to get a text file without variable names.

    ------------------------------
    Jon Peck
    ------------------------------



  • 5.  RE: Exporting Data to MPLUS

    Posted Wed August 04, 2021 04:49 PM
    Thank you so much for everyone's help! I resolved the problem thanks to the very prompt and excellent directions. 

    Cheers,
    Brendan 


    ------------------------------
    Brendan Meany
    ------------------------------