Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight > Struct Template Reference

Estimation of the coherent tail mean based on order statistics (for both left and right tails) More...

#include <statistics_fwd.hpp>

Inheritance diagram for boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >:
Collaboration diagram for boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >:

Public Types

typedef
numeric::functional::fdiv
< Sample, std::size_t >
::result_type 
float_type
 
typedef float_type result_type
 
typedef mpl::false_ is_droppable
 

Public Member Functions

 coherent_tail_mean_impl (dont_care)
 
template<typename Args >
result_type result (Args const &args) const
 
detail::void_ operator() (dont_care)
 
detail::void_ add_ref (dont_care)
 
detail::void_ drop (dont_care)
 
detail::void_ on_drop (dont_care)
 

Detailed Description

template<typename Sample, typename LeftRight>
struct boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >

Estimation of the coherent tail mean based on order statistics (for both left and right tails)

The coherent tail mean $\widehat{CTM}_{n,\alpha}(X)$ is equal to the non-coherent tail mean $\widehat{NCTM}_{n,\alpha}(X)$ plus a correction term that ensures coherence in case of non-continuous distributions.

\[ \widehat{CTM}_{n,\alpha}^{\mathrm{right}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) + \frac{1}{\lceil n(1-\alpha)\rceil}\hat{q}_{n,\alpha}(X)\left(1 - \alpha - \frac{1}{n}\lceil n(1-\alpha)\rceil \right) \]

\[ \widehat{CTM}_{n,\alpha}^{\mathrm{left}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) + \frac{1}{\lceil n\alpha\rceil}\hat{q}_{n,\alpha}(X)\left(\alpha - \frac{1}{n}\lceil n\alpha\rceil \right) \]

Member Typedef Documentation

template<typename Sample , typename LeftRight >
typedef numeric::functional::fdiv<Sample, std::size_t>::result_type boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >::float_type
template<typename Sample , typename LeftRight >
typedef float_type boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >::result_type

Constructor & Destructor Documentation

template<typename Sample , typename LeftRight >
boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >::coherent_tail_mean_impl ( dont_care  )
inline

Member Function Documentation

detail::void_ boost::accumulators::accumulator_base::add_ref ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::drop ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::on_drop ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::operator() ( dont_care  )
inlineinherited
template<typename Sample , typename LeftRight >
template<typename Args >
result_type boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >::result ( Args const &  args) const
inline

The documentation for this struct was generated from the following file: