Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: Extracting First Column of Results from -corr-


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Extracting First Column of Results from -corr-
Date   Tue, 8 Jun 2010 20:43:01 +0100

-correlate- returns r(C), not r(c): here as usually elsewhere Stata is
case-sensitive. 

Nick 
[email protected] 

Ryan McCann

I'm running correlation matrices using lags l1.var l2.var.. I want to
put
together tables using only the first columns of several correlation
tables
(I'm looking at how lags of several variables relate to GDP, so the
first
column of each -corr- result is all that I care about).  I can't you
mkcorr
or corrtab because they don't allow for time-series operators, and for
some
reason I can't get r(c) to return the matrix of results (when I return
list
the results it shows the correct dimensions, but when I matlist r(c) I
get
r1/c1 =.  )

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index