Boost C++ Libraries 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 an old version of Boost. Click here to view this page for the latest version.

Struct template coherent_tail_mean_impl

boost::accumulators::impl::coherent_tail_mean_impl — Estimation of the coherent tail mean based on order statistics (for both left and right tails).


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

template<typename Sample, typename LeftRight> 
struct coherent_tail_mean_impl {
  // types
  typedef numeric::functional::average< Sample, std::size_t >::result_type float_type; 
  typedef float_type                                                       result_type;

  // construct/copy/destruct

  // public member functions
  template<typename Args> result_type result(Args const &) const;


The coherent tail mean is equal to the non-coherent tail mean plus a correction term that ensures coherence in case of non-continuous distributions.

Equation 1.12. 

Equation 1.13. 

coherent_tail_mean_impl public construct/copy/destruct

  1. coherent_tail_mean_impl(dont_care);

coherent_tail_mean_impl public member functions

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