Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Outputting correlation matrix


From   "Goerner, Thomas" <[email protected]>
To   <[email protected]>
Subject   st: Outputting correlation matrix
Date   Tue, 24 Jan 2006 14:46:23 -0500

Dear Listers,

I'd like to "outsheet" a correlation matrix from Stata and have in the
past always done so manually (ie. copy&paste into Excel).

It seems that -estat vce- will output a correlation or var-covariance
matrix into an r()-Matrix. However, I prefer being able to use not only
-corr- but also -pwcorr- and -pcorr- commands none of which seem to save
the entire matrix in r() or e(). These commands seem to retain only the
last or bottom right result.

Do you have an idea as to avoid the copy&paste process or am I limited
to the -estat vce- command?

This seems like a question that must have been asked before, but
searching the Statlist archives provided no information.

Thanks a lot for your help,
Thomas 
_____________________________________________________________ 
  
This e-mail and any attachments may be confidential or legally privileged.  If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein.  Please inform us of the erroneous delivery by return e-mail.  
  
Thank you for your cooperation. 
  
_____________________________________________________________ 
 

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