skewness

Compute the skewness.

Syntax

Description

Compute the skewness of all the observations. For a random variable X, its skewness is,

skewness=E[(Xμ)3]σ3

Where μ=E(X) and σ=D(X).

And its observation is

skewness=i=1n(xix¯)3n1s3

where xi,i=1,2,,n represents the i-th observed value, and

x¯=1ninxi,s=1ni=1n(xix¯)

Examples

Input Arguments

x —— A N-D array of observations.

For an n-by-m array, it indicates n observations with m features.

Properties of Arguments

Name of the parametersIs optional?Source, dialog or input port?
xNoInput port

References

[1] "Measures of Skewness and Kurtosis," Online, https://www.itl.nist.gov/div898/handbook/eda/section3/eda35b.htm.