Skewness and Kurtosis
Learn about the skewness and kurtosis, which are important properties of distributions.
Skewness
Skewness refers to the distortion or asymmetry in a bell curve or normal distribution. It tells us how much a distribution varies from the normal distribution. A normal distribution has a Skewness of zero. A distribution can be right (positively) or left (negatively) skewed.
Consequence of skewness
-
Skewness helps us locate the outliers (the data points exhibiting mysterious behaviour). For example, the transactions happening over a credit card abruptly jump to a higher amount than the normal transactions happening. This contributes to an outlier.
-
The mean of a positively skewed distribution is greater than the median, while the mean of a negatively skewed distribution is less than the median.
-
The mean of a positively skewed distribution is greater than the mode, while the mean of a negatively skewed distribution is less than the mode.
-
Regression models in machine learning are affected by the presence of outliers, which can be indicated by a skewed distribution. So, it becomes necessary at times to remove the skewness.
How to check skewness
Naive approach
-
The naive approach is to make the histogram or density curve of a column of a dataset. Check the curve to see if it is more Gaussian-like or skewed.
-
There are some mathematical measures to check the skewness of a column.
Method 1
Skewness = ...