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_variate_means_impl

boost::accumulators::impl::tail_variate_means_impl — Estimation of the absolute and relative tail variate means (for both left and right tails)

Synopsis

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

template<typename Sample, typename Impl, typename LeftRight, 
         typename VariateTag> 
struct tail_variate_means_impl : public accumulator_base {
  // types
  typedef numeric::functional::fdiv< Sample, std::size_t >::result_type float_type; 
  typedef std::vector< float_type >                                     array_type; 
  typedef iterator_range< typename array_type::iterator >               result_type;

  // construct/copy/destruct
  tail_variate_means_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

For all -th variates associated to the largest samples (or the smallest samples in case of the left tail), the absolute tail means are computed and returned as an iterator range. Alternatively, the relative tail means are returned, which are the absolute tail means normalized with the (non-coherent) sample tail mean .

Equation 1.25. 


Equation 1.26. 


Equation 1.27. 


Equation 1.28. 


tail_variate_means_impl public construct/copy/destruct

  1. tail_variate_means_impl(dont_care);

tail_variate_means_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