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]

Re: st: growth rates


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: growth rates
Date   Fri, 7 Mar 2014 14:26:51 +0100

On Fri, Mar 7, 2014 at 2:12 PM, Bornmann, Lutz wrote:
> I would like to calculate growth rates. What is the best (and simplest) statistical procedure to do that?

Say your time variable is called timevar and the variable you want to
compute the growth for is called var, then you type:

tsset timevar
gen growth = D.var/L.var

 Hope this helps,
Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   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