Home‎ > ‎Applied Analysis Notes‎ > ‎

Applied Analysis Note 9

A macro to write a CSV for use in Mplus using SAS.

The sas2Mplus macro:
  1. Allows user to specify order of variables
  2. Drops observations missing among "x" variables
  3. Replaces missing values among "y" variables with -9999
  4. 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)

Rich Jones,
Jul 20, 2018, 3:46 AM