STRUCT TEMPLAT(3)

NAME
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 [1][IMAGE][2] [$ 3/2 $]-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.  [3].sp .RS 4 [IMAGE][4] \[ \hat{g}_1 = \frac {\widehat{m}_n^{(3)}-3\widehat{m}_n^{(2)}\hat{\mu}_n+2\hat{\mu}_n^3} {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^{3/2}} \] .RE

where [5][IMAGE][6] [$ )} $] are the [7][IMAGE][8] [$ i $]-th moment and [9][IMAGE][10] [$ the mean (first moment) of the [11][IMAGE][12] [$ n $] 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;