Anna-Cristina is correct. The -egenmore-
module is on SSC.
Nick
[email protected]
[email protected]
> 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
[email protected]
> is there a way to obtain geometric means when using the
> following command:
>
> egen mean_x=mean(x), by(time)
>
*
* 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/