- Calculate and interpret measures of center.
- Learn the notation for a mean and for the sample size.
- Calculate mean, median, and mode.
- Understand what is meant by a “measure of center”.
- Determine which measure of center to use for a given dataset.
Idea: What values are most common or most likely?
Three ways to measure:
Mode: the most commonly occurring value.
Mean: this is what we usually think of as the “average”.
Median: the middle number when the data are ordered from smallest to largest.
The mean is sensitive to extreme values and skew. The median is not!
| \(x\): 1, 3, 7, 9, 9 | \(y\): 1, 3, 7, 9, 45 |
|---|---|
| \(\text{median} = 7\) | \(\text{median} = 7\) |
| \(\bar{x} = \frac{29}{5} = 5.8\) | \(\bar{y} = \frac{65}{5} = 13\) |
Changing that 9 out for a 45 changes the mean a lot! But the median is 7 for both \(x\) and \(y\).
Because the median is not affected by extreme observations or skew, we say it is a resistant measure or that it is robust.
Note: If the mean and median are roughly equal, it is reasonable to assume the distribution is roughly symmetric.
Sometimes we have reason to calculate a weighted mean.
\[\bar{x}_w = w_1x_1 + w_2x_2 + \dots w_nx_n\] Each observation is multiplied by a corresponding weight, \(w\).
If all the weights are equal, we get an (unweighted) mean:
Here’s what that looks like:
\[\frac{1}{n}x_1 + \frac{1}{n}x_2 + \dots + \frac{1}{n}x_n = \frac{x_1 + x_2 + \dots + x_n}{n} = \bar{x}\]
Consider the following grade distribution:
We can use this to calculate an overall grade.
Suppose some student has the following score in each category
We can calculate their overall grade in the class using the weighted average formula.
\[\begin{aligned}\text{grade} &= 92(0.15) + 76(0.20) + 56(0.15) + 69(0.15) + 89(0.15) + 70(0.20) \\ &= 13.8 + 15.2 + 8.4 + 10.35 + 13.35 + 14 \\ &= 75.1\end{aligned}\]
So this student would get a 75.1% in the class.
Now suppose a student has the following scores
and has not taken the final exam yet. He really wants to pass the class with at least a C-, but is not sure what kind of final exam grade would allow him to do that.
\[70 = 83(0.15) + 71(0.20) + 61(0.15) + 68(0.15) + 91(0.15) + F(0.20)\]
To figure out what he needs to get on the final, we need to solve for F.
\[\begin{aligned} 70 &= 83(0.15) + 71(0.20) + 61(0.15) + 68(0.15) + 91(0.15) + F(0.20)\\ 70 &= 12.45+14.2+9.15+10.2+13.65+0.2F \\ 70 &= 59.65 + 0.2F \\ 10.35 &= 0.2F \\ F &= 51.75 \end{aligned}\]
So he needs to get at least a 51.75% on the final exam in order to pass the class.