Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: geometric means


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: geometric means
Date   Wed, 4 May 2005 16:20:10 +0100

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of
> Anna-Cristina.DADDIO-DEVAUX@oecd.org
> Sent: 04 May 2005 15:46
> To: statalist@hsphsun2.harvard.edu
> Subject: st: RE: geometric means
> 
> 
> you can  use egen if you have installed the additional 
> egenmore modules. In
> that case you can use 
> egen mean_x=gmean(exp) [ , by(byvarlist) ] 
> that will return the geometric mean of exp.
> Otherwise you can use  command 
> means
> anna
> 
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> agostino@unical.it
> Sent: 04 May 2005 15:16
> To: statalist@hsphsun2.harvard.edu
> Subject: st: geometric means
> 
> 
> 
> 
> 
> dear all,
> is there a way to obtain geometric means when using the 
> following command:
> 
>  egen mean_x=mean(x), by(time)
> 
> thank you
> Mariarosaria
> 
> 
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index