kurtosis_u32

Function kurtosis_u32 

Source
pub fn kurtosis_u32(
    d: &[u32],
    m: Option<&Bitmask>,
    null_count: Option<usize>,
    adjust_sample_bias: bool,
) -> Option<f64>
Expand description

Calculates the kurtosis of an integer dataset.

Kurtosis measures the “tailedness” of the probability distribution. Values are converted to f64 for calculation to maintain precision.

§Arguments

  • d - The slice of integer values
  • m - Optional bitmask for null value handling
  • null_count - Optional count of null values
  • adjust_sample_bias - Whether to apply sample bias correction

§Returns

Some(kurtosis) if calculation is possible, None if insufficient data