art photo

DSDR KB

Q:  

How do I read SAS export files?

A:  

Here are the commands for SAS, stata, and SPSS respectively:

SAS

libname in xport  "c:\data\allwave1.xpt";   
data wave1;  
   set in.allwave1;  
run;

stata
fdause datasetname.xpt

SPSS
GET SAS DATA="\c\data\allwave1.xpt"

This comes from the ADD Health FAQ area, Questions about Data.

Annotated Resources:

Direct Links:

Related Question Groups: