Example: Matrix Input from External File (FACTOR command)
GET FILE='/data/country.sav'
/KEEP SAVINGS POP15 POP75 INCOME GROWTH.
REGRESSION
/VARS=SAVINGS TO GROWTH
/MISS=PAIRWISE
/DEP=SAVINGS /ENTER.
FACTOR MATRIX IN(COR=CORMTX).
- This example performs a regression analysis on file country.sav and then uses a different file
for
FACTOR
. The file is an existing matrix data file. -
MATRIX=IN
specifies the matrix data file CORMTX. - CORMTX does not replace country.sav as the active dataset.