I ran a SAS macro and output a tetrachoric correlation matrix of 236
variables successfully. However, when I ran a factor analsyis using the
matrix as the infile, it fails. Although I have specified 'corr' for
_type_, SAS said that: 

"Data set WORK.MATRIX2 has _TYPE_ and _NAME_ variables but is not
TYPE=ACE, CORR, COV, EST, FACTOR, SSCP, UCORR, or UCOV.

ERROR: CORR matrix incomplete in data set WORK.MATRIX.

The following is the SAS program. I would appreciate it if any SAS expert 
out there can give me a hand:

data matrix (type=corr); infile "plcorr2.txt";
        _type_='corr';
input _name_ $ as1-as24 bs1-bs24 cs1-cs25 ds1-ds25 es1-es25 fs1-fs25 
gs1-gs25 hs1-hs60;*/

data matrix2; set matrix;
        proc factor data=matrix method = prinit scree;
run;

****************************************************************************
Chong-ho (Alex) Yu, Ph.D., MCSE, CNE
Academic Research Professional/Manager
Educational Data Communication, Assessment, Research and Evaluation
Farmer 418
Arizona State University
Tempe AZ 85287-0611
Email: [EMAIL PROTECTED]
URL:http://seamonkey.ed.asu.edu/~alex/
****************************************************************************           
  



=================================================================
Instructions for joining and leaving this list and remarks about
the problem of INAPPROPRIATE MESSAGES are available at
                  http://jse.stat.ncsu.edu/
=================================================================

Reply via email to