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

Re: st: question: command pwcorr


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   Re: st: question: command pwcorr
Date   Thu, 30 Oct 2003 14:19:37 -0000

xiaoming wang 

> I want to retrieve all correlation coefficients 
> from command PWCORR. How to do it?

There is no practical way to do this. -pwcorr- 
saves no results itself; what is left in memory afterwards 
is just the results left over from the last correlation 
run. 

You can get a matrix from 

. makematrix R, from(r(rho)) listwise : correlate <varlist> 

but note that the matrix R is not legitimately treated 
as a correlation matrix in the strict sense. 

-makematrix- may be found on SSC. 

Nick 
[email protected] 
*
*   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