Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: AW: Panel data - correlation between two series


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Panel data - correlation between two series
Date   Tue, 23 Mar 2010 15:32:31 +0100

<> 



*************
use http://www.stata-press.com/data/r11/nlswork.dta, clear
statsby, by(year) clear : corr hours age
l
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von e. lauren
Gesendet: Dienstag, 23. März 2010 15:28
An: statalist@hsphsun2.harvard.edu
Betreff: st: Panel data - correlation between two series

Hi Stata listers,
 
I am trying to create a simple correlation matrix, by time, for a panel data
set.
 
I tried using by time: corr RevenueGrowth ConsumptionGrowth
 
Is there a better way to set this up?
 
Thank you 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850552/direct/01/
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index