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 an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Struct template non_coherent_weighted_tail_mean_impl

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

Synopsis

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

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

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

Description

An estimation of the non-coherent, weighted tail mean is given by the weighted mean of the

Equation1.30.


smallest samples (left tail) or the weighted mean of the

Equation1.31.


largest samples (right tail) above a quantile of level , being the total number of sample and the sum of all weights:

Equation1.32.


Equation1.33.


non_coherent_weighted_tail_mean_impl public construct/copy/destruct

  1. non_coherent_weighted_tail_mean_impl(dont_care);

non_coherent_weighted_tail_mean_impl public member functions

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

PrevUpHomeNext