I have a covariance data matrix to analyze using Amos. Will Amos automatically distinguish an SPSS Statistics raw data file from a covariance or correlation matrix file? If not, how do I specify the type of data file being read?
Resolving The Problem
Provided that you have saved your matrix as an SPSS Statistics matrix file, Amos will read it as such. That is, of two files "raw file.sav" and "covfile.sav", SPSS Statistics and Amos will expect the former to be laid out as a flat file of rows and columns where the rows are the individual units to be analyzed (cases) and the columns are the observations on those units (variables). The latter file is expected to be a square matrix of covariances or correlations along with their associated vectors of standard deviations, Ns, means, etc. For further information on matrix file formats in SPSS, please see the SPSS Command Syntax Reference Guide in the section on the MATRIX DATA command syntax.
SET PRINTBACK = NONE.
* Open the 'Hamilton.sav' data in the '..\Amos\Tutorial' directory *.
GET FILE='C:\Program Files\IBM\SPSS\Amos\Tutorial\Hamilton.sav'.
TITLE 'This is a regular SPSS raw data file (*.sav)'.
/VARIABLES=sat income educatn
/MATRIX = OUT(*).
TITLE 'This is a covariance matrix file created from the above data (*.sav)'.
Save this file and use it as input for Amos.
Dr. James Arbuckle has provided two further examples on his web site:
16 June 2018