Pair each Edexcel AS statistics paper with its solutions and practise interpreting results in context.
Quick Answer
The Edexcel AS Maths – Statistics: archive includes question papers and mark schemes, including Paper 21 – Statistics. Match the assessment code and series before using the scheme to check your working.
For the ordered observations 2, 4, 5, 7 and 12, the mean is 6 and the median is 5. Replacing 12 by 32 raises the total by 20 and the mean by 4. The middle observation stays 5. In an exam explanation, identify which statistic changes and explain how the extreme observation contributes to that change.
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
In source illustration or discussion, we looked at a stem-and-leaf plot of 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
In source illustration or discussion, we created a frequency distribution of 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
In source illustration or discussion, we looked at 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.
The Normal Distribution
In the coin flipping example above, the distribution of the number of heads for 10,000 trials was close to perfectly symmetric and bell-shaped:
Because distributions with this shape appear so often, we have a special name for them: normal distributions. Normal distributions can be completely described using two numbers we’ve seen before: the mean of the data and the standard deviation of the data. You may remember that we described the mean as a measure of centrality; for a normal distribution, the mean tells us exactly where the center of the distribution falls. The peak of the distribution happens at the mean (and, because the distribution is symmetric, it’s also the median). The standard deviation is a measure of dispersion; for a normal distribution, it tells us how spread out the histogram looks. To illustrate these points, let’s look at some examples.
Identifying the Mean of a Normal Distribution
This graph shows three normal distributions. What are their means?
Solution
Step 1: Take a look at the three curves on the graph. Since the mean of a normal distribution occurs at the peak, we should look for the highest point on each distribution. Let’s draw a line from each curve's peak down to the axis, so we can see where these peaks occur:
Step 2: The peak of the red (leftmost) distribution occurs over the number 1 on the horizontal axis. Thus, the mean of the red distribution is 1. Similarly, the mean of the blue (middle) distribution is 2, and the mean of the yellow (rightmost) distribution is 3.
Identifying the Standard Deviation of a Normal Distribution
This graph shows three distributions, all with mean 2. What are their standard deviations?
Solution
Step 1: Identifying the standard deviation from a graph can be a little bit tricky. Let’s focus in on the yellow (lowest peaked) curve:
Step 2: Notice that the graph curves downward in the middle, and curves upwards on the ends. Highlighted in red is the part that curves downward and in green, the part that curves upward:
Step 3: The places where the graph changes from curving up to curving down (or vice versa) are called inflection points. Let’s identify where those occur by dropping a line straight down from each:
Step 4: We can estimate that the inflection points occur at and ; the mean is at (as shown by the middle dotted line). The difference between the mean and the location of either inflection point is the standard deviation; since , we conclude that the standard deviation of the green distribution is 3.
Step 5: Now, looking at the other two graphs, let's first identify the inflection points:
Step 6: The red (tallest peaked) distribution has inflection points at 1 and 3, and the mean is 2. Thus, the standard deviation of the red distribution is . The blue (lower peaked) distribution has inflection points at 0 and 4, and its mean is also 2. So, the standard deviation of the blue distribution is 2.
Let’s put it all together to identify a completely unknown normal distribution.
Identifying the Mean and Standard Deviation of a Normal Distribution
Using the graph, identify the mean and standard deviation of the normal distribution.
Solution
Step 1: Let’s start by putting dots on the graph at the peak and at the inflection points, then drop lines from those points straight down to the axis:
Step 2: From the red (middle) line, we can see that the mean of this distribution is 55. The blue (outermost) lines are each 3 units away from the mean (at 52 and 58), so the standard deviation is 3.