Skewness and outliersEdexcel International A Level Maths: Revision notes
Section 1
Describing skewness
Skewness describes the symmetry of a distribution. If the upper tail is longer the distribution has positive skew; if the lower tail is longer it has negative skew. A symmetrical distribution has no skew. In a histogram or box plot, positive skew has a longer upper whisker or tail. Using quartiles: if the skew is positive; if it is negative; if they are equal, the data are symmetrical. Example: , , gives gaps of 4 and 12, so positive skew.
Reading the skew from the side with the bulk of the data. The name of the skew follows the longer tail.
Section 2
Skewness from mean, median and mode
For a positively skewed distribution, mean median mode: extreme high values pull the mean up most. For a negatively skewed distribution, mean median mode. For a symmetrical distribution the three are equal (or very close). Example: mode 8, median 10 and mean 12 indicates positive skew. This also explains why the median is often preferred for skewed data such as incomes: it is not distorted by a few very large values.
In an explanation, name the cause: a few very high (or low) values pull the mean, but not the median.
Section 3
Outliers
An outlier is a value that is unusually far from the rest of the data. Outliers may be genuine extreme values or recording errors, so investigate before removing them. In an exam the rule for identifying outliers is always given in the question. Two common rules are:
- more than above or below , so outliers lie outside and ;
- more than standard deviations from the mean, so outliers lie outside . Example: , give and an upper limit of , so 40 is an outlier and 19 is not.
Applying from the median instead of from the quartiles. Measure from upwards and from downwards.
Forgetting to check both ends. Test the lower limit as well as the upper limit.
Section 4
Outliers on a box plot
A box plot shows the minimum, , median, and maximum. The box runs from to with a line at the median. When there are outliers, each whisker stops at the most extreme value that is not an outlier, and each outlier is marked separately, usually with a cross. If there is no outlier at an end, the whisker goes to the smallest or largest value. Example: , median 5, , smallest 0, largest 40, next largest 19, with 40 an outlier. The box is 2 to 11, the lower whisker goes to 0, the upper whisker goes to 19 and 40 is marked with a cross.
Work out both limits first. Then find the largest and smallest values that lie inside them for the whiskers.
Section 5
The effect of outliers
Outliers have a large effect on the mean and especially on the standard deviation, because deviations are squared. They have little effect on the median and the IQR. When an outlier is removed, update , and and recalculate. Example: , , (mean 62, standard deviation 10). Removing the marks 38 and 85 gives , , , so the mean is 62.06 and the standard deviation falls to 7.05. The mean hardly changed because the outliers lie on opposite sides, but the standard deviation fell a lot.
Saying that removing an outlier always lowers the mean. It depends on which side the outlier lies.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Skewness and outliers
- The ages of customers at a shop have lower quartile 24 years, median 28 years and upper quartile 40 years. A value is classed as an outlier if it is more than above the upper quartile or more than below the lower quartile.The two oldest customers are aged 62 and 71. Determine which of these ages are outliers.2 marks
- The numbers of text messages sent in one day by a sample of students have mode 8, median 10 and mean 12.Explain why the median is a more suitable measure of location than the mean for these data.2 marks
- The daily rainfall, in mm, at a weather station over 15 days has smallest value 0, lower quartile 2, median 5, upper quartile 11 and largest value 40. The next largest value is 19. A value is classed as an outlier if it is more than above the upper quartile or more than below the lower quartile.Show that 40 mm is an outlier, and determine whether 19 mm is an outlier.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).