|  | Home | Libraries | People | FAQ | More | 
boost::accumulators::impl::skewness_impl — Skewness estimation.
// In header: <boost/accumulators/statistics_fwd.hpp> template<typename Sample> struct skewness_impl : public accumulator_base { // construct/copy/destruct skewness_impl(dont_care); // public member functions template<typename Args> result_type result(Args const &) const; template<typename Archive> void serialize(Archive &, const unsigned int); };
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 samples 3. The skewness can also be expressed by the simple moments:
-th power of the 2nd central moment (the variance) of the samples 3. The skewness can also be expressed by the simple moments:
where  are the
 are the  -th moment and
-th moment and  the mean (first moment) of the
 the mean (first moment) of the  samples.
 samples.