Locate GCSE statistics worksheets on averages, range and data handling.
Quick Answer
Use the GCSE statistics worksheets to practise interpreting graphs, calculating summary measures and explaining what a result means. Compare centre and spread separately when two data sets have similar averages.
A travel survey records 4 journeys from 0 to under 10 minutes, 8 from 10 to under 20, and 3 from 20 to under 30. Only the grouped table survives. Can we reconstruct the mean or the median exactly?
Represent each class by its midpoint. The estimated total is 4 × 5 + 8 × 15 + 3 × 25 = 215 minutes for 15 journeys. The estimated mean is about 14.3 minutes. The eighth journey in order lies in the second class, since the cumulative frequencies are 4, 12 and 15. That identifies the median class. Recording every journey in that class as 15 minutes would add precision the survey did not capture. When marking a solution, look for the word “estimated”, a weighted total, and division by the number of journeys.
The Mode
In our discussion of average heights, the first possible definition we offered was the height that more people share than any other. This is the mode, or the value that appears most often. If there are two modes, the data are bimodal.
Let’s look at some examples.
Finding the Mode Using a Stem-and-Leaf Plot
The stem-and-leaf plot below shows the sale prices (in dollars) of a particular collectible trading card:
0
5 8 9
1
0 0 0 3 4 4 5 5 5 5 6 9 9
2
0 0 0 0 5 5 9 9
3
0 0 0 5 5
4
0 0 5
5
6
0
What is the mode price?
Solution
The mode is the price that appears most often. Both 15 and 20 appear 4 times, more than any other values. So, they are the modes (and we can conclude that this set of data is bimodal).
When we have a complete list of the data or a stem-and-leaf plot, it’s pretty straightforward to find the mode; we just need to find the number that appears most often. If we’re given a frequency distribution instead, the technique is different (but just as straightforward): we’re looking for the number with the highest frequency.
Finding the Mode Using a Frequency Distribution
The following frequency distribution shows the number of siblings of conflict resolution class attendees.
Number of Siblings
Frequency
0
5
1
13
2
6
3
3
4
2
5
1
What is the mode of the number of siblings?
Solution
The mode is the value that appears the most often, which means it has the greatest frequency. Thirteen of the respondents have one sibling, more than any other number. So, the mode is 1.
What happens if there is no number in the data that appears more than once? In that case, by our definition, every data value is a mode. But according to some other definitions, the data would have no mode. In practice, though, it doesn’t really matter; if no data value appears more than once, then the mode is not helpful at all as a measure of centrality.
The Median
Let's revisit our example of trying to identify the height of the “average” person. If we lined everyone up in order by height and found the person right in the middle, that person’s height is called the median, or the value that is greater than no more than half and less than no more than half of the values.
Let’s look at a really simple example. Consider the following list of numbers: 11, 12, 13, 13, 14. Is the first number on the list, 11, the median? There are no values less than 11 (that’s 0%), and there are four values greater than 11 (that’s 80%). Since more than 50% of the data are greater than 11, the definition is violated; it’s not the median. Here’s a chart with the rest of the data, with red shading to show where the definition is violated:
Data Value
Number of Values Below
Percentage of Values Below
Number of Values Above
Percentage of Values Above
11
0
0%
4
80%
12
1
20%
3
60%
13
2
40%
1
20%
14
4
80%
0
0%
Only 13 has no violations, so it’s the median according to the definition. In practice, we find the median just like we described in the average height example: by lining up all the data values in order from smallest to largest and picking the value in the middle. For our easy example (with data values 11, 12, 13, 13, 14), that first 13 is right in the middle; there are two values to the left and two values to the right. If there’s not one value right in the middle, we pick the two closest, then choose the number exactly between them. For example, let’s say we have the data 41, 44, 46, 53. Since there are an even number of data values in our list, we can’t pick the one right in the middle. The two closest to the middle are 44 and 46, so we’ll choose the number halfway between those to be the median: 45. As this example shows, the median (unlike the mode) doesn’t have to be a number in our original set of data.
In the examples we’ve looked at so far, it’s been pretty easy to identify which number is right in the middle. If we had a very large dataset, though, it might be harder. Fortunately, we have some formulas to help us with that.
Let’s put those formulas to work in an example.
Finding the Median Using a Stem-and-Leaf Plot
In worked example, we looked at a stem-and-leaf plot that contained 33 sale prices (in dollars) of a particular collectible trading card:
0
5 8 9
1
0 0 0 3 4 4 5 5 5 5 6 9 9
2
0 0 0 0 5 5 9 9
3
0 0 0 5 5
4
0 0 5
5
6
0
What is the median price?
Solution
Step 1: Since 33 is odd, the median is the data value at position , where is the number of values in the dataset. There are 33 total values, so our formula becomes . That means we want to look for the 17th number in the dataset.
Step 2: We'll want to count from the lowest value to the 17th number. We can use our stem and leaf plot to do this.
1 2 3
0
5 8 9
4 5 6 7 8 9 10 11 12 13 14 15 16
1
0 0 0 3 4 4 5 5 5 5 6 9 9
17
2
0 0 0 0 5 5 9 9
3
0 0 0 5 5
4
0 0 5
5
6
0
The seventeenth number is 20, so the median is 20.
Now, let’s tackle an example with an even number of values.
Finding the Median
Consider the number of times different crickets (of differing species, genders, etc.) chirped in a one-minute span. That data is again provided below:
89
97
82
102
84
99
115
105
89
109
107
89
101
109
116
103
100
91
93
103
120
91
85
104
104
82
106
92
104
106
Find the median.
Solution
Step 1: In order to find the median, we first need to sort the data so that they’re in order, smallest to largest:
82
82
84
85
89
89
89
91
91
92
93
97
99
100
101
102
103
103
104
104
104
105
106
106
107
109
109
115
116
120
Step 2: Next, we figure out how many data values we have. Counting them up, we see there are 30, which is even.
Step 3: Since we have an even number of data values, we need to find the values in positions and . These are 101 and 102.
Step 4: We use the formula to compute the median: .
Finding the Median Using a Frequency Distribution
In worked example, we created a frequency distribution of the number of siblings of the people who attended a conflict resolution class. Let's review that data again:
Number of Siblings
Frequency
0
5
1
13
2
6
3
3
4
2
5
1
What is the median of the number of siblings?
Solution
There are 30 data values total, so the median is between the 15th and 16th values in the ordered list. There are five 0s and thirteen 1s according to the frequency distribution, so items one through five are all 0s and items six through eighteen are all 1s. Since both items fifteen and sixteen are 1s, the median is 1.
The Mean
Recall our example of ways we could identify the “average” height of an individual. The last method we discussed was also the most complicated. It involved a game where the player guesses a height, then figures out how far off that guess is from every single person’s height. Those differences get squared and added together to get a score. Our next measure of centrality gives the lowest possible score: No other guess would beat it in the game. Given a dataset containing n total values, the mean of the dataset is the sum of all the data values, divided by n.
This is a computation you have likely done before. In many places, including spreadsheet programs like Microsoft Excel and Google Sheets, this number is called the average. For statisticians, though, the word average has too many possible meanings, so they prefer the one we’ll use: mean.
Finding the Mean
Compute the mean of the numbers 12, 15, 17, 18, 18, and 19.
Solution
The mean is the sum of the values, divided by the number of values on the list. So, we get:
Finding the Mean Using a Frequency Distribution
Refer again to the frequency distribution of the number of siblings people who attended a conflict resolution class reported:
Number of Siblings
Frequency
0
5
1
13
2
6
3
3
4
2
5
1
What is the mean of the number of siblings?
Solution
Step 1: We compute the mean by adding up all the data values and then dividing by the number of data values on the list.
Step 2: Adding up the frequencies, we get data values in our list.
Step 3: Now, to find the sum of all the data values, we could simply reconstruct the raw data and add up all the numbers there. But, there’s an easier way: Remember that repeatedly adding a number to itself is the definition of multiplication. So, for example, since there are six 2s in our data, the sum of all those 2s must be .
Step 4: Let’s add a column to our distribution for these products:
Number of Siblings
Frequency
(Number of Siblings) (Frequency)
0
5
0
1
13
13
2
6
12
3
3
9
4
2
8
5
1
5
Step 5: So, the sum of all our data values is . The mean is .
As the number of data values we are considering grows, the computation for the mean gets more and more complicated. That’s why people generally trust technology to perform that computation.
Note that a recent update to Google Sheets introduced a new function called “MODE.MULT,” which will find every mode (not just the first one on the list).
Using Google Sheets to Compute Measures of Centrality
The dataset "InState" contains the in-state tuitions of every college and university in the country that reported that data to the Department of Education. Find the mode, median, and mean of those in-state tuition values.
Solution
Step 1: To find the mode, we select an empty cell type “=MODE(”, click on the header of the column to insert a reference to the column into our formula, and then close the parentheses. When we hit the enter key, our formula is replaced with the mode: $13,380.
Step 2: We can find the median and mean using the same process, except using the functions “MEDIAN” and “AVERAGE” in place of “MODE”. We find that the median is $11,207 and the mean is $15,476.79.
Which Is Better: Mode, Median, or Mean?
If the mode, median, and mean all purport to measure the same thing (centrality), why do we need all three? The answer is complicated, as each measure has its own strengths and weaknesses. The mode is simple to compute, but there may be more than one. Further, if no data value appears more than once, the mode is entirely unhelpful. As for the mean and median, the main difference between these two measures is how each is affected by extreme values.
Consider this example: the mean and median of 1, 2, 3, 4, 5 are both 3. But what if the dataset is instead 1, 2, 3, 4, 10? The median is still 3, but the mean is now 4. What this example shows is that the mean is sensitive to extreme values, while the median isn’t. This knowledge can help us decide which of the two is more relevant for a given dataset. If it is important that the really high or really low values are reflected in the measure of centrality, then the mean is the better option. If very high or low values are not important, however, then we should stick with the median.
The decision between mean and median only really matters if the data are skewed. If the data are symmetric, then the mean and median are going to be approximately equal, and the distinction between them is irrelevant. If the data are skewed, the mean gets pulled in the direction of the skew (i.e., if the data are right-skewed, then the mean will be bigger than the median; if the data are left-skewed, the opposite relation is true).
Choosing Which Measure of Centrality to Use
For the following situations, decide which measure(s) of centrality would be best:
You found a used car that you like, and you want to know if the price is too high or too low. You find a list of sale prices for that make and model, and you see that the distribution of those prices is skewed to the right. Some of the prices at the high end are close to the original sale price of the car, so you guess that those cars might have really low mileage, or have other enhancements added on that increased the value (but which don’t apply to the car you found).
You are asked to analyze the responses to a survey. One of the questions asked, “How strongly do you agree with the statement, ‘I believe my elected representatives have my best interests in mind when they vote’?” Responses are a number between 1 and 5, with 1 representing “strongly disagree” and 5 representing “strongly agree.”
You are asked to find the “average” household income for a zip code. Those values are skewed right.
Thinking back to the situation at the beginning of this section: you want to find “average” height. The data you’ve collected seem to be distributed symmetrically.
Solution
In this situation, the high values are not comparable to the value of the car you found and we don’t want them to affect the results. Also, we’re unlikely to find many repeated values, so the mode is probably not useful. Median is best.
Here, we want to know what a typical result is. The mean doesn’t really make sense; it involves adding the numbers together, so it would treat two “strongly disagree” and two “strongly agree” responses (those add to ) as exactly the same as four “neutral” responses (). But those are really different situations; the first shows a strong polarization in the responses, while the second represents strong indifference. The mode is probably the best choice (because the data are actually categorical), but the median would be good too.
The mode isn’t going to be useful in this situation because it’s unlikely you will find many households that have exactly the same income. The mean and median will be different because of the skew, so the choice comes down to the extreme values. Remember that the data are skewed right, so high values are prevalent. Because these high values are important for our analysis, we want them to be reflected in the results. Thus, the mean is best. That being said, the median is also useful; it allows us to say something like “50% of the households surveyed make more than” the median.
Because we aren’t likely to find many people with exactly the same height, the mode won’t be useful. Since the data are symmetric, the mean and the median will be about the same. So, it doesn’t really matter which of those two we choose.
The Range
Our first measure of dispersion is the range, or the difference between the maximum and minimum values in the set. It’s the measure we used in the standardized test example above.
Let’s look at a couple of examples.
Finding the Range
You survey some of your friends to find out how many hours they work each week. Their responses are: 5, 20, 8, 10, 35, 12. What is the range?
Solution
The maximum value in the set is 35 and the minimum is 5, so the range is .
For large datasets, finding the maximum and minimum values can be daunting. There are two ways to do it in a spreadsheet. First, you can ask the spreadsheet program to sort the data from smallest to largest, then find the first and last numbers on the sorted list. The second method uses built-in functions to find the minimum and maximum.
In either method, once you’ve found the maximum and minimum, all you have to do is subtract to find the range.
Finding the Range with Google Sheets
The data in “AvgSAT” contains the average SAT score for students attending every institution of higher learning in the US for which data is available. What is the range of these average SAT scores?
Solution
Step 1: To find the maximum, click on an empty cell in the spreadsheet, type “=MAX(”, and then click on the letter that marks the top of the column containing the AvgSAT data. That inserts a reference to the column into our function. Then we close the parentheses and hit the enter key. The formula is replaced with the maximum value in our data: 1566.
Step 2: Using the same process (but with “MIN” instead of “MAX”), we find the minimum value is 785.
Step 3: So, the range is .
The range is very easy to compute, but it depends only on two of the data values in the entire set. If there happens to be just one unusually high or low data value, then the range might give a distorted measure of dispersion. Our next measure takes every single data value into account, making it more reliable.
The Standard Deviation
The standard deviation is a measure of dispersion that can be interpreted as approximately the average distance of every data value from the mean. (This distance from the mean is the “deviation” in “standard deviation.”)
To compute the standard deviation using the formula, we follow the steps below:
Compute the mean of all the data values.
Subtract the mean from each data value.
Square those differences.
Add up the results in step 3.
Divide the result in step 4 by
Take the square root of the result in step 5.
Let’s see that process in action.
Computing the Standard Deviation
You surveyed some of your friends to find out how many hours they work each week. Their responses were: 5, 20, 8, 10, 35, 12. What is the standard deviation?
Solution
Let’s follow the six steps mentioned previously to compute the standard deviation.
Step 1: Find the mean: .
Step 2: Subtract the mean from each data value. To help keep track, let’s do this in a table. In the first row, we’ll list each of our data values (and we’ll label the row ); in the second, we’ll subtract from each data value.
5
20
8
10
35
12
−10
5
–7
–5
20
–3
Step 3: Square the differences. Let’s add a row to our table for those values:
5
20
8
10
35
12
−10
5
–7
–5
20
–3
100
25
49
25
400
9
Step 4: Add up those squares: .
Step 5: Divide the sum by . Since we have 6 data values, that gives us .
Step 6: Take the square root of the result: .
Thus, the standard deviation is .
The computation for the standard deviation is complicated, even for just a small dataset. We’d never want to compute it without technology for a large dataset! Luckily, technology makes this calculation easy.
Finding the Standard Deviation with Google Sheets
The data in “AvgSAT” contains the average SAT score for students attending every institution of higher learning in the US for which data is available. What is the standard deviation of these average SAT scores?
Solution
To find the standard deviation, we click in an empty cell in our spreadsheet and then type “=STDEV(”. Next, click on the letter at the top of the column containing our data; this will put a reference to that column into our formula. Then close the parentheses with and hit the enter key. The formula is replaced with the result: 125.517.
Finding Percentiles
There are some other terms that are related to "percentile" with meanings you may infer from their roots. Remember that the word percent means “per hundred.” This reflects that percentiles divide our data into 100 pieces. The word quartile has a root that means “four.” So, if a data value is at the first quantile of a dataset, that means that if you break the data into four parts (because of the quart-), this data value comes after the first of those four parts. In other words, it’s greater than 25% of the data, placing it at the 25th percentile. Quintile has a root meaning “five,” so a data value at the third quintile is greater than three-fifths of the data in the set. That would put it at the 60th percentile. The general term for these is quantiles (the root quant– means “number”).
In Mean, Median, and Mode, we defined the median as a number that is greater than no more than half of the data in a dataset and is less than no more than half of the data in the dataset. With our new term, we can more easily define it: The median is the value at the 50th percentile (or second quartile).
Before we can answer these two questions, we must put the data in increasing order: 1, 2, 2, 5, 8, 12, 15, 16, 20, 22.
There are three values (1, 2, and 2) in the set that are less than 5, and there are ten values in the set. Thus, 5 is at the percentile.
To find the value at the 60th percentile, we note that there are ten data values, and 60% of ten is six. Thus, the number we want is greater than exactly six of the data values. Thus, the 60th percentile is 15.
In each of the examples above, the computations were made easier by the fact that the we were looking for percentiles that “came out evenly” with respect to the number of values in our dataset. Things don’t always work out so cleanly. Further, different sources will define the term percentile in different ways. In fact, Google Sheets has three built-in functions for finding percentiles, none of which uses our definition. Some of the definitions you’ll see differ in the inequality that is used. Ours uses “less than or equal to,” while others use “less than” (these correspond roughly to Google Sheets’ ‘PERCENTILE.INC’ and ‘PERCENTILE.EXC’). Some of them use different methods for interpolating values. (This is what we did when we first computed medians without technology; if there were an even number of data values in our dataset, found the mean of the two values in the middle. This is an example of interpolation. Most computerized methods use this technique.) Other definitions don’t interpolate at all, but instead choose the closest actual data value to the theoretical value. Fortunately, for large datasets, the differences among the different techniques become very small.
So, with all these different possible definitions in play, what will we use? For small datasets, if you’re asked to compute something involving percentiles without technology
, use the technique we used in the previous example. In all other cases, we’ll keep things simple by using the built-in ‘PERCENTILE’ and ‘PERCENTRANK’ functions in Google Sheets (which do the same thing as the ‘PERCENTILE.INC’ and ‘PERCENTRANK.INC’ functions; they’re “inclusive, interpolating” definitions).
Using Google Sheets to Compute Percentiles: Average SAT Scores
The data in “AvgSAT” contains the average SAT score for students attending every institution of higher learning in the US for which data is available.
What score is at the 3rd quartile?
What score is at the 40th percentile?
At what percentile is Albion College in Michigan (average SAT: 1132)?
At what percentile is Oregon State University (average SAT: 1205)?
Solution
The 3rd quartile is the 75th percentile, so we’ll use the PERCENTILE function. Click on an empty cell, and type “=PERCENTILE(“. Next, enter the data: click on the letter at the top of the column containing the average SAT scores. Then, tell the function which percentile we want; it needs to be entered as a decimal. So, type a comma (to separate the two pieces of information we’re giving this function), then type “0.75” and close the parentheses with “)”. The result should look like this (assuming the data are in column C): “=PERCENTILE(C:C, 0.75)”. When you hit the enter key, the formula will be replaced with the average SAT score at the 75th percentile: 1199.
Using the PERCENTILE function, we find that an average SAT of 1100 is at the 40th percentile.
Since we want to know the percentile for a particular score, we’ll use the PERCENTRANK function. Like the PERCENTILE function, we need to give PERCENTRANK two pieces of information: the data, and the value we care about. So, click on an empty cell, type “=PERCENTRANK(“, and then click on the letter at the top of the column containing the data. Next, type a comma and then the value we want to find the percentile for; in this case, we’ll type “, 1132”. Finally, close the parentheses with “)” and hit the enter key. The formula will be replaced with the information we want: an average SAT of 1132 is at the 54th percentile.
Using the PERCENTRANK function, an average SAT of 1205 is at the 76.1th percentile.
Using Google Sheets to Compute Percentiles: In-State Tuition
The dataset "InState" contains the in-state tuitions of every college and university in the country that reported that data to the Department of Education. Use that dataset to answer these questions.
What tuition is at the second quintile?
What tuition is at the 95th percentile?
At what percentile is Walla Walla University in Washington (in-state tuition: $28,035)?
At what percentile is the College of Saint Mary in Nebraska (in-state tuition: $20,350)?
Solution
The second quintile is the 40th percentile; using PERCENTILE in Google Sheets, we get $8,400.