| Home | Libraries | People | FAQ | More

## Struct template skewness_impl

boost::accumulators::impl::skewness_impl — Skewness estimation.

## Synopsis

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

    template<typename Sample>
    struct skewness_impl {
      // types
      typedef numeric::functional::average< Sample, Sample >::result_type result_type;

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

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

## Description

The skewness of a sample distribution is defined as the ratio of the 3rd central moment and the -th power of the 2nd central moment (the variance) of the sampless 3. The skewness can also be expressed by the simple moments:

Equation 1.11.

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

### `skewness_impl` public construct/copy/destruct

1.     skewness_impl(dont_care);

### `skewness_impl` public member functions

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