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

st: RE: RE: corr and pwcorr


From   [email protected]
To   [email protected]
Subject   st: RE: RE: corr and pwcorr
Date   Fri, 10 Jan 2003 15:26:05 -0500

Alejandro Ria�o
>
> I'd like to know if pwcorr saves its results as correlate,
> That is in
> r(rho). If that's not the case, where does it store the results ?
>

to which Nick Cox replied
> It doesn't store any results as such.
>
> After -pwcorr- you can
> 
> . ret li
> 
> and you will see some results from the
> last correlation computed, which is
> identically one, but that is all, and it is
> a result of calling -correlate-.
>
> [...]


I presume you are trying to get at the saved results -- which aren't really
there -- for the purpose of including these correlations in some subsequent
operation.  However, if your goal were to save the whole correlation
"matrix" to a file in some tab or comma-delimited format, I have a small
routine called -outcorr- which does just that.  This is probably not what
you are trying to do, but, in case.  


Patrick Joly
[email protected]
[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