Statalist


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

st: RE: saving correlation matrix


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Filipa de Castro
Sent: Freitag, 9. Oktober 2009 23:14
To: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index