I'm not a SAS expert;  but the error messages you quote look like what one
might expect if the correlation matrix had been output as the lower
triangular half only, and the factor procedure were expecting the complete
square matrix.  You didn't supply your protocol for creating the 
correlation matrix in the first place, so a knowledgeable SAS user would 
not be able to tell whether this might be the case.
        Another possibility is that the number of variables implied by 
your _name_ list is different from the number you had in mind.  I am 
unfamiliar with SAS conventions in this regard, but the list you quote, 
taken at face value so to speak, seems to account for 233 variables, 
although you described it as a "correlation matrix of 236 variables".
(If "$" is a name, then I count 234 on the list:  1 + 24 + 24 + 25 + 25 
+ 25 + 25 + 25 + 60.)
                                -- DFB.

On Fri, 24 Nov 2000, Alex Yu wrote:

> I ran a SAS macro and output a tetrachoric correlation matrix of 236
> variables successfully. However, when I ran a factor analysis 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;

 ----------------------------------------------------------------------
 Donald F. Burrill                                    [EMAIL PROTECTED]
 348 Hyde Hall, Plymouth State College,      [EMAIL PROTECTED]
 MSC #29, Plymouth, NH 03264                             (603) 535-2597
 Department of Mathematics, Boston University                [EMAIL PROTECTED]
 111 Cummington Street, room 261, Boston, MA 02215       (617) 353-5288
 184 Nashua Road, Bedford, NH 03110                      (603) 471-7128



=================================================================
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