π Shape of the data
The rule
- A histogram groups numbers into ranges. A bar's height is how many values fall in its range. The bars touch because the ranges run on with no gaps.
- Symmetric: the left half mirrors the right half. The mean and median are about equal.
- Positively skewed: a long tail to the right. The mean is greater than the median.
- Negatively skewed: a long tail to the left. The mean is less than the median.
- Name a skew by its tail, not by where the peak is.
- Two peaks (bimodal) often mean two different groups mixed together, such as children and adults.
- A tail pulls the mean toward it, because the mean uses every value. The median only cares about the middle.
- For a skewed set, or one with outliers, use the median and IQR. For a symmetric set, the mean is fine.
Examples
Seven bars: 2, 5, 9, 12, 9, 5, 2. Describe the shape. β Symmetric, with one peak in the middle
- The tallest bar is the 4th, in the middle.
- Left side 2, 5, 9 matches right side 9, 5, 2.
- So it is symmetric, with one peak.
The two halves match.
Seven bars: 3, 12, 9, 6, 4, 2, 1. Describe the shape. β Positively skewed
- The peak is the 2nd bar, near the left.
- The bars trail off to the right.
- The tail is on the right, so it is positively skewed.
The tail is on the right.
Seven bars: 3, 9, 5, 2, 5, 9, 3. Describe the shape. β Two peaks (bimodal)
- The tall bars are the 2nd and the 6th.
- The middle bar dips to 2.
- Two peaks: bimodal.
There are two tall humps with a dip between.
House prices ($000) in a suburb are skewed right. Quote the mean, 750, or the median, 600? β The median, 600
- Skewed right: a few very dear houses make a long tail.
- Those houses pull the mean up to 750.
- The median is not dragged, so 600 is more typical.
- Quote the median, 600.
A few very dear houses drag the mean up.
Watch out
- βThe peak is on the left, so it is negatively skewed.β No: the tail is on the right, so it is positively skewed.
- βThe tallest bar is the mean.β No: the tallest bar is the most common range, the mode.
- βSkewed data is wrong data.β No: skew is only a shape. Incomes and house prices are often skewed.