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]

Re: st: st deviation of growth rate in panel data


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: st deviation of growth rate in panel data
Date   Mon, 11 Apr 2011 13:00:02 +0100

Come on, do please read the help more carefully. -egen- supports -by:-
for such calculations.

Nick

On Mon, Apr 11, 2011 at 12:57 PM, Humaira Asad <humairaasad@hotmail.com> wrote:

> I want to calculate standard deviation of gdp growth rate in a panel data. I have applied
>
> egen stdev_gdpgr= sd(gdp_gr)
>
> but i get one value in the entire column. I want standard deviation of gdp growth rate calculated for each country.
*
*   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