Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: saving correlation matrix


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: saving correlation matrix
Date   Fri, 9 Oct 2009 23:17:42 +0200

<>

**************
clear*
set obs 10000

gen x=rnormal()    
gen y=0.5*x+runiform()

corr x y
qui mat A=r(C)
mat l A
**************


HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Filipa de Castro
Sent: Freitag, 9. Oktober 2009 23:14
To: [email protected]
Subject: st: saving correlation matrix

Dear all,

I am afraid this is perhaps a silly question, but can´t figure it out.

How do you save a correlation matrix so that you can then use it in,
say, a factor analysis?

many thanks
Filipa

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index