Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 0da16e0695.
PrevUpHomeNext

Struct template tail_quantile_impl

boost::accumulators::impl::tail_quantile_impl — Tail quantile estimation based on order statistics (for both left and right tails)

Synopsis

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

template<typename Sample, typename LeftRight> 
struct tail_quantile_impl : public accumulator_base {
  // types
  typedef Sample result_type;

  // construct/copy/destruct
  tail_quantile_impl(dont_care);

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

Description

The estimation of a tail quantile with level based on order statistics requires the caching of at least the smallest or the largest samples, being the total number of samples. The largest of the smallest samples or the smallest of the largest samples provides an estimate for the quantile:

Equation 1.24. 


tail_quantile_impl public construct/copy/destruct

  1. tail_quantile_impl(dont_care);

tail_quantile_impl public member functions

  1. template<typename Args> result_type result(Args const & args) const;
  2. template<typename Archive> 
      void serialize(Archive & ar, const unsigned int file_version);

PrevUpHomeNext