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

st: RE: geometric means

From   <[email protected]>
To   <[email protected]>
Subject   st: RE: geometric means
Date   Wed, 4 May 2005 16:46:08 +0200

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 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of [email protected]
Sent: 04 May 2005 15:16
To: [email protected]
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

This mail sent through IMP:

*   For searches and help try:

*   For searches and help try:

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