Dear Maarten buis,
Thank you very much. I will try it.
By the way, if i want to use the sd variable as a new time series
variable . how i can do it? should i use the reshape command
because now sd is duplicate ?
somsupa
--- On Fri, 10/24/08, Maarten buis <[email protected]> wrote:
From: Maarten buis <[email protected]>
Subject: Re: st: standard deviation
To: [email protected]
Date: Friday, October 24, 2008, 7:48 AM
--- somsupa Nopprach <[email protected]> wrote:
I would like to compute standard deviation of ICC1
variable at each
period by industry. I will use the standard deviation
as my new time
series variable for each industry.
bys indcode period: egen sd = sd(icc1)
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/