Averages from frequency tables
In a nutshell
Mode, median and mean can all be calculated from frequency tables. If the data being considered is discrete then all of these averages can be calculated, but for any situation where the data is categoric, only the mode can be found.
Calculating averages
Mode
Procedure
1. | Find the greatest frequency value in the table. |
2. | The mode is the data value corresponding to this greatest frequency. |
Median
Procedure
1. | Work out the total number of samples taken by summing the frequencies. This value is n. |
2. | Ensure the rows of the table are written in ascending order for the data value they represent. |
3. | The median is the data value that corresponds to the 2n+1th item. |
Mean
Procedure
1. | Calculate n and fill in a third column of the table corresponding to frequency multiplied by the data value. |
2. | Calculate the sum of the third column. This value is sum x. |
3. | The mean is calculated as nsum x. |
Example 1
Calculate the mode, median and mean from the following frequency table:
Mode: The most frequent value is 6.5
Median: There are 4+7+6+3=20 pieces of data. Hence the median occurs at the 220+1=10.5th data item. This is the item between the 10th piece of data (size 6.5) and the 11th piece of data (size 6.5). Hence the median is 6.5
Mean: Create a third column as follows,
SIZE | FREQUENCY | SIZE x FREQUENCY |
| | |
| | |
| | |
| | |
This third column has a total of 24+45.5+42+24=135.5, and so the mean is:
20135.5=6.775