Re: [R] compute geometric mean

Russell Senior (seniorr@teleport.com)
15 Nov 1998 12:35:37 -0800

To: mop41059@mail.telepac.pt
Subject: Re: [R] compute geometric mean
From: Russell Senior <seniorr@teleport.com>
Date: 15 Nov 1998 12:35:37 -0800
In-Reply-To: root's message of "Fri, 13 Nov 1998 16:06:50 +0000"

>>>>> "Jorge" == Jorge M. A. Magalhae <mop41059@mail.telepac.pt> writes:

Jorge> Hi: I need to compute the geometric mean of a population. How i
Jorge> can do it??

One way is:

exp(mean(log(x)))

-- 
Russell Senior
seniorr@teleport.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


This archive was generated by hypermail 1.02.