Function rgsl::statistics::skew [−][src]
pub fn skew(data: &[f64], stride: usize, n: usize) -> f64
This function computes the skewness of data, a dataset of length n with stride stride. The skewness is defined as,
skew = (1/N) \sum ((x_i - \Hat\mu)/\Hat\sigma)^3
where x_i are the elements of the dataset data. The skewness measures the asymmetry of the tails of a distribution.
The function computes the mean and estimated standard deviation of data via calls to gsl_stats_mean and gsl_stats_sd.