Function rgsl::statistics::kurtosis_m_sd[][src]

pub fn kurtosis_m_sd(
    data: &[f64],
    stride: usize,
    n: usize,
    mean: f64,
    sd: f64
) -> f64
Expand description

This function computes the kurtosis of the dataset data using the given values of the mean mean and standard deviation sd,

kurtosis = ((1/N) \sum ((x_i - mean)/sd)^4) - 3

This function is useful if you have already computed the mean and standard deviation of data and want to avoid recomputing them.