Boost logo

Boost Users :

Subject: Re: [Boost-users] statistics: exact median, first and third quartile
From: James Hirschorn (James.Hirschorn_at_[hidden])
Date: 2013-02-28 21:46:35


Steven Watanabe wrote:

> On 02/26/2013 07:29 AM, gast128 wrote:
>> Hello all,
>>
>> I was looking if Boost would support basic statistics calculated
from a
>> container of values:
>> - Boost.Accumulators supports these statistics but only in an
incremental
>> way. This is nice, but now we want exact values since the
containers are
>> small (i.e. less than 100 elements)
>> - Boost.Math: support only for distributions
>>
>> Did I overlook something or is this just not supported?
>>
>
> This is called std::nth_element.

Wouldn't it still be nice to have this as part of the accumulator
framework?

How about the mode? Would that be worth adding to boost::accumulators?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net