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

Struct template kurtosis_impl

boost::accumulators::impl::kurtosis_impl — Kurtosis estimation.

Synopsis

// In header: <boost/accumulators/statistics_fwd.hpp>

template<typename Sample> 
struct kurtosis_impl : public accumulator_base {
  // construct/copy/destruct
  kurtosis_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 kurtosis of a sample distribution is defined as the ratio of the 4th central moment and the square of the 2nd central moment (the variance) of the samples, minus 3. The term is added in order to ensure that the normal distribution has zero kurtosis. The kurtosis can also be expressed by the simple moments:

Equation 1.18. 


where are the -th moment and the mean (first moment) of the samples.

kurtosis_impl public construct/copy/destruct

  1. kurtosis_impl(dont_care);

kurtosis_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