| Home | Libraries | People | FAQ | More

## Struct template pot_quantile_impl

boost::accumulators::impl::pot_quantile_impl — Quantile Estimation based on Peaks over Threshold Method (for both left and right tails)

## Synopsis

    // In header: <boost/accumulators/statistics/pot_quantile.hpp>

    template<typename Sample, typename Impl, typename LeftRight>
    struct pot_quantile_impl : public accumulator_base {
      // types
      typedef numeric::functional::fdiv< Sample, std::size_t >::result_type float_type;
      typedef float_type                                                    result_type;

      // public member functions
      pot_quantile_impl(dont_care);
      template<typename Args> result_type result(Args const &) const;
      template<typename Archive> void serialize(Archive &, const unsigned int);
    };

## Description

Computes an estimate

Equation 1.9.

for a right or left extreme quantile, , and being the parameters of the generalized Pareto distribution that approximates the right tail of the distribution (or the mirrored left tail, in case the left tail is used). In the latter case, the result is mirrored back, yielding the correct result.

### `pot_quantile_impl` public member functions

1.     pot_quantile_impl(dont_care);

2.     template<typename Args> result_type result(Args const & args) const;

3.     template<typename Archive>
         void serialize(Archive & ar, const unsigned int file_version);