commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [Math] "numerical" mean in distributions?
Date Sun, 31 Jan 2016 16:48:15 GMT
On 1/31/16 4:18 AM, Gilles wrote:
> Hello.
> In "", the Javadoc does not explain why the
> method "getNumericalMean()" is named that way, and not simply
> "getMean()".
> What could the mean be, if not numerical?

If Mikl is still listening, he can chime in with why exactly he
chose to put "numerical" in the characteristic names when these were
introduced in MATH-385; but I suspect it was to make it clear that
what is being returned is not necessarily a closed form, analytical
value, like, e.g. the mean of a Gaussian distribution.  In some
cases, these characteristics are identically NaN (e.g. Cauchy
distribution), in others (e.g. Weibull, Zipf) they are numerical
approximations and in some cases they are exact, computed from the
distribution parameters.  The distinction may be a bit pedantic,
given that we don't make it elsewhere.

> Regards,
> Gilles
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message