Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: standard deviation


From   somsupa Nopprach <[email protected]>
To   [email protected]
Subject   Re: st: standard deviation
Date   Sun, 26 Oct 2008 03:44:05 -0700 (PDT)

Dear Steven Samuels,

Thank you very much for your useful advice.
Bests,
somsupa


--- On Sat, 10/25/08, Steven Samuels <[email protected]> wrote:

> From: Steven Samuels <[email protected]>
> Subject: Re: st: standard deviation
> To: [email protected]
> Date: Saturday, October 25, 2008, 2:31 PM
> somsupa
> 
> bysort indcode period: keep if _n==1
> 
> Then drop the individual variables like iccl.  By the way,
> the log   
> of the SD will probably be a much better response variable
> than the  
> SD itself.
> 
> Steve
> 
> On Oct 25, 2008, at 4:29 AM, somsupa Nopprach wrote:
> 
> > 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/
> 
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index