☰ Year plan · Communication Technology

Data analysis

Week 9 · Chapter 10 Data Analysis: types of data, mean, median, mode, quartiles, variance and standard deviation, scatter plots and correlation, regression · 3 lessons
1

Kinds of data and the three averages

ICT Secondary 1 Term 1, Chapter 10: pp. 123–141
GoalClassify data by kind and scale, and find the mean, the median and the mode of a list.
New words
quantitative / qualitative · data as numbers / data as categoriesmean · the sum of the values divided by how many they aremedian · the middle value of the sorted listmode · the value that occurs most often
Explanation

Quantitative data are numbers (a height, a mark); qualitative data are categories (a colour, a favourite sport). Statisticians also sort data into four scales. Nominal: names with no order (eye colour). Ordinal: an order, but the steps are not equal (first, second, third place). Interval: equal steps but no true zero (temperature in °C, or the clock time of day). Ratio: equal steps and a true zero, so ratios mean something (height, or how long a race lasted). Descriptive statistics summarise the data we have; inferential statistics use a sample to judge a whole group. Look at the marks of ten pupils in a quiz out of 10: 4, 6, 6, 7, 7, 7, 8, 9, 9, 10. A frequency table counts how often each mark occurs, and a histogram draws it with bars that touch. The mean is the sum divided by the count: 73 ÷ 10 = 7.3. The median is the middle value of the sorted list; with ten values it is the average of the 5th and 6th: (7 + 7) ÷ 2 = 7. The mode is the most frequent value: 7 occurs three times. A list can have two modes, as 3, 5, 5, 8, 8, 9 has 5 and 8, or none if every value occurs once.

ScaleOrder?Equal steps?True zero?Example
nominalno––eye colour
ordinalyesno–place in a race
intervalyesyesnotemperature in °C
ratioyesyesyesduration of a race
Worked examples
0123102312145678910number of pupils
The frequency table of the ten marks, and the histogram. The tallest bar is at 7, which is the mode. The bars touch, as in every histogram, because the horizontal axis is a number line.
MeasureCalculationResult
mean40 ÷ 58
medianmiddle of 5, 7, 7, 9, 127
mode7 occurs twice7
Find the mean, median and mode of 5, 7, 7, 9, 12. Sum = 40, count = 5, so the mean is 8. Sorted, the middle (third) value is 7, so the median is 7. The value 7 occurs twice, so the mode is 7. The big value 12 pulls the mean above the median.
Class activity

Collect (with permission) a list of ten numbers from your class, such as the number of siblings, using no names. Write the mean, median and mode, and say which scale of data it is. Which measure describes a typical pupil best, and why?

Practice
1
Is a person’s height in centimetres nominal, ordinal, interval or ratio?
2
Find the mean of 2, 4, 9.
3
Find the median of 3, 8, 5, 9.
4
A list has the values 1, 2, 2, 3, 3. What is its mode?