# Preparing Data for Mplus

Jeremy Albright

Posted on
Mplus

## From SPSS

Mplus requires data to be read in from a text file without variable names, with numeric values only, and with missing data coded as a single numeric value, such as -999. A common workflow for preparing data to analyze in Mplus is to perform the variable cleaning in SPSS and then save the data as a text file. This guide shows the appropriate steps using the sample file bollen_sem.sav data that can be downloaded from here.

First, open the data file in SPSS. You should see the following: