kurtosisCompute the kurtosis.
xxxxxxxxxxkurtosis(x)xxxxxxxxxxm = kurtosis(x)Compute the kurtosis of all the observations.
For a random variable
Where
And its observation is
where
xxxxxxxxxx>>> from OpenHA.processing.feature import kurtosis>>> import numpy as np
# normal distribution>>> x = np.random.randn(1000)>>> print(kurtosis(x))
2.968569898977294
x —— A N-D array of observations.
For an n-by-m array, it indicates n observations with m features.
| Name of the parameters | Is optional? | Source, dialog or input port? |
|---|---|---|
x | No | Input port |
[1] "Measures of Skewness and Kurtosis," Online, https://www.itl.nist.gov/div898/handbook/eda/section3/eda35b.htm.