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

Re: st: geometric means


From   "Eric G. Wruck" <[email protected]>
To   [email protected]
Subject   Re: st: geometric means
Date   Wed, 4 May 2005 10:40:28 -0400

I don't believe that obtaining a geometric mean through a single egen statement is possible.  There is an <ameans> command that provides the geometric mean, among other statistics.  Perhaps that helps?

Eric



>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
>


-- 

===================================================

       Eric G. Wruck
       Econalytics
       2535 Sherwood Road
       Columbus, OH  43209

       ph:      614.231.5034
       cell:    614.330.8846
       eFax:    614.573.6639
       eMail:   [email protected]
       website: http://www.econalytics.com

====================================================
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index