statsmodels.stats.stattools.robust_skewness¶
-
statsmodels.stats.stattools.
robust_skewness
(y, axis=0)[source]¶ Calculates the four skewness measures in Kim & White
- Parameters
- yarray_like
Data to compute use in the estimator.
- axis
int
orNone
,optional
Axis along which the skewness measures are computed. If None, the entire array is used.
- Returns
Notes
The robust skewness measures are defined
SK2=(q.75−q.5)−(q.5−q.25)q.75−q.25SK3=μ−ˆq0.5ˆE[|y−ˆμ|]SK4=μ−ˆq0.5ˆσ- *
Tae-Hwan Kim and Halbert White, “On more robust estimation of skewness and kurtosis,” Finance Research Letters, vol. 1, pp. 56-73, March 2004.