Example: Factor Correlation Matrix Output to External File (FACTOR command)
GET FILE='/data/GSS80.sav'
/KEEP ABDEFECT TO ABSINGLE.
FACTOR VARIABLES=ABDEFECT TO ABSINGLE
/MATRIX OUT(COR='/data/cormtx.sav').
- FACTOR retrieves the GSS80.sav file and writes a factor correlation matrix to the file cormtx.sav.
- The active dataset is still GSS80.sav. Subsequent commands will be executed on this file.