Mean vs Median
Mean vs Median
Two primary measures of central tendency. The mean is the arithmetic average of all values. The median is the middle value when data are ordered, making it resistant to extreme observations.
Comparison Table
| Feature | Mean | Median |
|---|---|---|
| Calculation | Sum of values divided by count | Middle value of ordered data |
| Sensitivity to Outliers | Highly sensitive | Resistant (robust) |
| Skewed Data | Pulled toward the tail | Stays near the center |
| Data Requirement | Interval or ratio scale | At least ordinal scale |
| Use in Further Analysis | Used in variance, regression, etc. | Less common in formulas |
Key Differences
- โThe mean uses every data value in its calculation; the median depends only on the middle position.
- โOutliers can dramatically shift the mean but have little or no effect on the median.
- โIn a symmetric distribution the mean and median are equal; in a skewed distribution they diverge.
- โThe mean is the basis for many advanced statistical methods (variance, t-tests, ANOVA), while the median is primarily a descriptive measure.
When to Use Mean
- โThe data are roughly symmetric with no extreme outliers.
- โYou need a measure that feeds into further statistical calculations like standard deviation or hypothesis tests.
- โYou want a measure that accounts for the magnitude of every observation.
When to Use Median
- โThe data are heavily skewed (e.g., income, home prices).
- โOutliers are present and you want a measure that is not distorted by them.
- โYou are reporting a typical value for ordinal data or data with an open-ended category.
Common Confusions
- !Always defaulting to the mean without checking for skewness or outliers.
- !Thinking the median is always better because it is robust (the mean is preferred for symmetric data and further calculations).
- !Confusing the mean and median in skewed distributions (in right-skewed data, the mean is greater than the median).
FAQs
Common questions about this comparison
Income distributions are heavily right-skewed because a small number of very high earners pull the mean upward. The median better represents a typical household because it is not distorted by those extreme values. This makes it a more informative summary for policy and comparison purposes.
Look at a histogram or boxplot of your data. If the distribution has a long tail in one direction, or if the mean and median differ substantially, skewness is present. You can also calculate a skewness statistic; values far from zero suggest the median may be more representative than the mean.