Re: [math] Mean, Median but no Mode?

2013-07-04 Thread Ted Dunning
Why do you say this is a simple operation? Sent from my iPhone On Jul 4, 2013, at 7:42, Ben Titmarsh 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

Re: [math] Mean, Median but no Mode?

2013-07-04 Thread William Speirs
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_Freq

Re: [math] Mean, Median but no Mode?

2013-07-04 Thread Matt Benson
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" 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 arit

[math] Mean, Median but no Mode?

2013-07-04 Thread Ben Titmarsh
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 s