Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: saving correlation matrix


From   "Lu, Minyi" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Re: saving correlation matrix
Date   Thu, 23 Dec 2004 08:11:25 -0500

Thank you so much for the help.

Wish you all have a wonderful holiday season.

Minyi 


-----Original Message-----
From: Kit Baum [mailto:[email protected]]
Sent: Thursday, December 23, 2004 7:45 AM
To: [email protected]
Subject: st: Re: saving correlation matrix


mat accum c = x1-x10, nocons dev
mat rho = corr(c)
mat list rho

If you want to save these correlations as a variable, you can vech the 
matrix (see Nick Cox's routine (matodd??) for that) and then svmat.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

On Dec 23, 2004, at 2:33 AM, Minyi wrote:

> I am a new Stata user. If I ran a simple correlation matrix (for 
> example,
> corr x1-x10), is there a way to save the results of all the 
> coefficient and
> store them in one variable?
>
> Thanks.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


********************** 
Confidentiality Notice 
**********************
     The information transmitted in this e-mail is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged information.  Any review, retransmission, dissemination or
other use of or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. 
     If you received this e-mail in error, please contact the sender and
delete the e-mail and any attached material immediately.  Thank you.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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