|
Boost Users : |
Subject: Re: [Boost-users] quantil
From: sguazt (marco.guazzone_at_[hidden])
Date: 2013-06-10 14:58:40
On Mon, Jun 10, 2013 at 4:22 PM, Philipp Kraus
<philipp.kraus_at_[hidden]>wrote:
> Hello,
>
> I would like to create a box plot and use the static calls of the boost.
> Median / average etc works well, but I need also the 25% & 75% quantil of
> my data, I'm using a
> boost::accumulators::**accumulator_set for calculating statistical data.
> Can I / How can I use this for the quantil calculation or should I do this
> myself?
>
> Thanks
>
> Phil
>
> Hi,
Have you tried p_square_quantile from boost::accumulator?
It uses a well-known algorithm to incrementally compute quantile estimation.
Best.
-- Marco
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