Calculating Mean, Median, and Mode
In statistics, measures of central tendency help summarize data sets. The three main measures are mean, median, and mode.
- Mean: This is the average of the data. To calculate the mean, sum all values and divide by the number of values.
- Median: This is the middle value when data is arranged in order. For an odd number of values, it is the middle one. For an even number, it is the average of the two middle values.
- Mode: This is the value that appears most frequently in the data set.
Example: For the data set: 3, 7, 7, 2, 5.
- Mean: (3 + 7 + 7 + 2 + 5) / 5 = 24 / 5 = 4.8.
- Median: Arranging the data: 2, 3, 5, 7, 7. The middle value is 5.
- Mode: The most frequent value is 7.
In context, if you are analyzing test scores, the mean is often preferred for overall performance, while the median might be better for skewed distributions, and the mode is useful for identifying common scores.
Key points to remember
- Mean is the average of all data values.
- Median is the middle value in ordered data.
- Mode is the most frequently occurring value.
- Use mean for normal distributions; median for skewed data.
- Mode identifies the most common value in a data set.
Worked example
Calculate the mean, median, and mode for the data set: 4, 1, 2, 2, 5.
- Mean: (4 + 1 + 2 + 2 + 5) / 5 = 14 / 5 = 2.8.
- Median: Ordered data: 1, 2, 2, 4, 5. Middle value = 2.
- Mode: Most frequent value = 2.