commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Speirs <wspe...@apache.org>
Subject Re: [math] Mean, Median but no Mode?
Date Thu, 04 Jul 2013 15:46:51 GMT
The Frequency[1] class is what you're looking for. You can find a basic
example of it in the user guide [2].

Bill-

[1]
http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/stat/Frequency.html
[2]
http://commons.apache.org/proper/commons-math/userguide/stat.html#a1.3_Frequency_distributions


On Thu, Jul 4, 2013 at 11:29 AM, Matt Benson <gudnabrsam@gmail.com> wrote:

> I don't know about [math], but [lang] 3.x has mean, median and mode in
> ObjectUtils.
>
> Matt
> On Jul 4, 2013 10:25 AM, "Ben Titmarsh" <ben.titmarsh@hotmail.co.uk>
> wrote:
>
> > Hi,
> >
> > I am looking for a library that can provide the mode (
> > http://en.wikipedia.org/wiki/Mode_%28statistics%29) of a set numbers.
> > This is a simple arithmetic operation but I am unable to find a reference
> > to this in the documentation.  Can anyone point it out to me, if not
> > suggest why it is not supported?
> >
> > Thanks,
> > Ben.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message