Date: Wed, 17 Aug 2011 00:14:13 -0700
Reply-To: Mark Miller <mdhmiller@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mark Miller <mdhmiller@GMAIL.COM>
Subject: Re: Syntax for rotating canonical coefficients
In-Reply-To: <201108161806.00224.caxilbund@iasinfo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Charles,
My reading of the manual suggests that you may
be attempting to work with the wrong output file
or at least not the easiest to process.
The OUT= file has original variables and the
Canonical Variable Scores as Can1 Can2 ... up to NCAN variables.
These are centered with mean zero & pooled within variance = 1
These could be input to FACTOR as variables and rotated any which way.
The OUTSTAT= file is really a heterogenous collection of structures
To get at a particular structure you need to
select based on _TYPE_ & _NAME_
I expect that a correlation matrix produced from
the NCAN vars in the OUT file would be the same as
the rows of the OUTSTAT file selected where _TYPE_='PCORR'
... Mark Miller
On 8/16/2011 6:05 PM, Charles Axibund wrote:
> According to the SAS manual under the Candisc procedure you can use Proc
> Factor to rotate the output canonical coefficients. To quote the manual, "The
> canonical coefficients output data set can be rotated by the FACTOR
> procedure." So, I run my candisc procedure and output an outstat data set. I
> input this to the factor procedure and get an errr message telling me that the
> corr matrix read from the input data set is not symmetrical. I've tried
> method=score, method=prin, no method at all, and get the same error.
>
> Clearly there is some secret syntax to get the rotation to happen. I can't
> find it in the manual anywhere. It obviously works, since it is referenced in
> the manual. I also did it successfully several years ago, but have absolutely
> no memory of the syntax other than that it was not obvious.
>
> Can any one enlighten me as to how to get SAS to rotate canonical
> coefficients?
>
> Thanks.
>
>
> Charlie Axilbund
> caxilbund@iasinfo.com
|