Applied Analysis Note 9
A macro to write a CSV for use in Mplus using SAS.
The sas2Mplus macro:
- Allows user to specify order of variables
- Drops observations missing among "x" variables
- Replaces missing values among "y" variables with -9999
- Writes out a comma delimited text file (CSV)
* The CSV must be edited to remove varnames from first row
Thank you to Natalia Gouskova (NataliaGouskova@hsl.harvard.edu)