Re: how to "Harmonic Mean" manual
| From: | Per Jessen | Date: | Fri, 14 Dec 2007 16:45:14 +0000 |
| Subject: | Re: how to "Harmonic Mean" manual | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265889@lists.php.net to get a copy of this message | ||
LKSunny wrote:
> i know it can make simple function, if have Statistics knowledge...
>
I don't think you need to know much about statistics - AFAIK, the
harmonic mean of a group of numbers is simply the reciprocal of
the 'normal' mean:
harmonic_mean(3,4,5,6) = 1/mean(3,4,5,6)
/Per Jessen, Zürich