Function rgsl::statistics::skew
source · [−]Expand description
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 mean
and sd
.