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?


>dear all,
>is there a way to obtain geometric means when using the following command:
> egen mean_x=mean(x), by(time)
>thank you



       Eric G. Wruck
       2535 Sherwood Road
       Columbus, OH  43209

       ph:      614.231.5034
       cell:    614.330.8846
       eFax:    614.573.6639
       eMail:   [email protected]

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index