Mean, Median
& Mode
Learn to compute and interpret the three fundamental measures of central tendency used in biostatistics to summarize data.
What Is Central Tendency?
In biostatistics, we often collect many data points: patient ages, blood pressure readings, cell counts. Central tendency gives us a single representative value that summarizes the "center" of a dataset.
Why It Matters in Biology
Visualizing the Three Measures
The Mean: \(\bar{x}\)
The arithmetic mean is the sum of all observations divided by the total number of observations. It is the most commonly used measure and works best with symmetric distributions.
The Median
The median is the middle value when data are sorted in order. It divides the dataset into two equal halves and is resistant to outliers.
The Mode
The mode is the value that appears most frequently in a dataset. It is the only measure of central tendency that works for categorical data (e.g., blood type, eye color).
Mean vs. Median: When to Use Which
| Mean \(\bar{x}\) | Median | |
|---|---|---|
| Best for | Symmetric data | Skewed data |
| Outlier sensitivity | High | Low (robust) |
| Uses all data? | Yes | No (position only) |
| Data type | Quantitative | Quantitative / Ordinal |
| Bio example | Mean heart rate of healthy adults | Median hospital stay (days) |
Skewness and the Three Measures
How to Compute All Three
Example 1: Patient Ages
A clinic records the ages of 7 patients: 22, 25, 28, 28, 31, 35, 40. Find the mean, median, and mode.
Example 2: Blood Glucose (Even \(n\))
Fasting blood glucose (mg/dL) for 8 subjects: 82, 88, 90, 95, 102, 105, 110, 240. Note the outlier.
Example 3: Bacterial Colony Counts
Colony counts from 10 Petri dishes: 12, 15, 15, 18, 20, 20, 20, 22, 25, 30.
Common Mistakes
Summary Comparison
| Property | Mean | Median | Mode |
|---|---|---|---|
| Formula | \(\frac{\sum x_i}{n}\) | Middle value | Most frequent |
| Data type | Quantitative | Quantitative / Ordinal | Any (incl. categorical) |
| Outlier effect | Strongly affected | Resistant | Not affected |
| Always unique? | Yes | Yes | No (can be multiple) |
| Best for | Symmetric data | Skewed data | Categorical / peaks |
Question 1 of 5
What is the mean of the dataset: 4, 7, 10, 13, 16?
Question 2 of 5
For the dataset 3, 5, 7, 9, 11, 13, what is the median?
Question 3 of 5
A researcher records blood types in a sample: A, B, A, O, A, AB, O, A. Which measure of central tendency is appropriate here?
Question 4 of 5
A dataset of hospital stay durations (days) is right-skewed with a few very long stays. Which measure best represents the typical stay?
Question 5 of 5
Given the dataset 5, 8, 8, 10, 12, 12, 12, 15, what are the mean, median, and mode?