Skewness
From Wikipedia, the free encyclopedia
In probability theory and statistics, skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable. Roughly speaking, a distribution has positive skew (right-skewed) if the right (higher value) tail is longer or fatter and negative skew (left-skewed) if the left (lower value) tail is longer or fatter. The two are often confused, since most of the mass of a right (or left) skewed distribution is to the left (or right) of its respective tail.
Skewness, the third standardized moment, is written as γ1 and defined as
where μ3 is the third moment about the mean and σ is the standard deviation. Equivalently, skewness can be defined as the ratio of the third cumulant κ3 and the third power of the square root of the second cumulant κ2:
This is analogous to the definition of kurtosis, which is expressed as the fourth cumulant divided by the fourth power of the square root of the second cumulant.
For a sample of n values the sample skewness is
where xi is the ith value, is the sample mean, m3 is the sample third central moment, and m2 is the sample variance.
Given samples from a population, the equation for the sample skewness g1 above is a biased estimator of the population skewness. The usual estimator of skewness is
where k3 is the unique symmetric unbiased estimator of the third cumulant and k2 is the symmetric unbiased estimator of the second cumulant. Unfortunately G1 is, nevertheless, generally biased. Its expected value can even have the opposite sign from the true skewness.
The skewness of a random variable X is sometimes denoted Skew[X]. If Y is the sum of n independent random variables, all with the same distribution as X, then it can be shown that Skew[Y] = Skew[X] / √n.
Skewness has benefits in many areas. Many simplistic models assume normal distribution i.e. data is symmetric about the mean. But in reality, data points are not perfectly symmetric. So, an understanding of the skewness of the dataset indicates whether deviations from the mean are going to be positive or negative.
[edit] Pearson skewness coefficients
Karl Pearson suggested two simpler calculations as a measure of skewness:
- (mean - mode) / standard deviation
- 3 (mean - median) / standard deviation
There is no guarantee that these will be the same sign as each other or as the ordinary definition of skewness.