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: growth rate


From   "Lynn Lee" <[email protected]>
To   <[email protected]>
Subject   st: growth rate
Date   Wed, 10 Oct 2012 20:41:15 +0800

Dear all,

I use -bysort id: gen growth=D.loggdp- to generate growth rate of GDP in
panel data. I also wrote -xtset year- before this command, but Stata11 told
me "time variable not set". I am assuming this command  is only for
time-series data. What about panel? What is the command used in panel to
generate growth rate? 

Any suggestion is appreciated.

Best Regards,
Lynn Lee


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index