{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Comparison Beginner 1 min read 290 words

Mean, Median, and Mode: Statistical Measures Explained

Mean, median, and mode each describe the center of a dataset differently. Choosing the right measure prevents misleading conclusions in data analysis.

Key Takeaways

  • The arithmetic mean sums all values and divides by the count: `mean = sum(values) / n`.
  • The median is the middle value when data is sorted.
  • The mode is the most frequently occurring value.
  • Other useful measures include the trimmed mean (removes extreme values before averaging), weighted mean (assigns different importance to values), and geometric mean (appropriate for growth rates and ratios).

Mean (Average)

The arithmetic mean sums all values and divides by the count: mean = sum(values) / n.

Example: {10, 20, 30, 40, 100} Mean = 200 / 5 = 40

Sensitivity to outliers: The single value of 100 pulls the mean above what most values suggest. Use the mean when data is symmetrically distributed and outliers are rare or meaningful.

Median

The median is the middle value when data is sorted. For even-count datasets, average the two middle values.

Example: {10, 20, 30, 40, 100} Median = 30 (the third value in a sorted list of 5)

Robustness: Changing 100 to 1,000,000 does not affect the median. Use the median for skewed data or when outliers should not dominate the summary.

Mode

The mode is the most frequently occurring value. A dataset can have no mode, one mode (unimodal), or multiple modes (bimodal, multimodal).

Example: {red, blue, red, green, red, blue} Mode = red (appears 3 times)

The mode is the only measure that works with categorical (non-numeric) data.

When to Use Each

Scenario Best Measure Why
Salary data Median Skewed by high earners
Test scores (normal distribution) Mean Symmetric, outliers rare
Most popular product Mode Categorical data
Home prices in a neighborhood Median Skewed by luxury homes
Manufacturing tolerances Mean + Std Dev Need spread information

Beyond the Basics

Other useful measures include the trimmed mean (removes extreme values before averaging), weighted mean (assigns different importance to values), and geometric mean (appropriate for growth rates and ratios). Choose the measure that best represents the question you are answering.