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: AW: correlation in one table
From
"Abhimanyu Arora" <[email protected]>
To
<[email protected]>
Subject
st: RE: AW: correlation in one table
Date
Mon, 19 Apr 2010 10:01:35 +0200
Hi Martin
Thanks very much indeed.
Kind regards
Abhimanyu
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: maandag 19 april 2010 9:39
To: [email protected]
Subject: st: AW: correlation in one table
<>
Substitute your year for "foreign":
*************
sysuse auto, clear
capture which estout
if _rc ssc install estout
eststo clear
bys foreign: eststo: estpost corr weight length, listwise
esttab est1 est2, not mtitles
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Abhimanyu Arora
Gesendet: Montag, 19. April 2010 09:24
An: [email protected]
Betreff: st: correlation in one table
Dear statalist
I have 3 variables, year, A and B. Is it possible to obtain a simple table
with years in the rows and column being corr(A,B)? (Basically output of by
year:corr A B in a table)
Thanks and regards
Abhimanyu
*
* 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/
*
* 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/
*
* 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/