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: Calculating SD of a variable


From   lreine ycenna <lreine.ycenna@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Calculating SD of a variable
Date   Fri, 20 May 2011 12:16:06 +0100

Thanks.
I should've mentioned that I need 5-year standard deviations of the growth rate.
So I think I need to keep year instead of countryno. The average out
the SD for each 5 years.


On 20 May 2011 12:07, Oliver Jones <ojones@wiwi.uni-bielefeld.de> wrote:
> Am 20.05.2011 13:01, schrieb Oliver Jones:
>
>> Leave out the variable year in the by() option and that should do what
>> you want.
>
> Or leave out the variable countryno.
> It depends on your aim:
> - sd over time for each country , or
> - sd over countries for each year
>
>
> Best
> Oliver
> *
> *   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