M4.7.7 Chapter 7
Data over time
The rain in a town rises and falls every year. How can I see a slow change over the years, and the ups and downs that repeat?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Plot a time series and describe the trend
- Spot ups and downs that repeat in a time series
A time series is a set of readings taken at regular times, such as each day or each quarter of a year. The order matters. A town records its rain in millimetres for each of 12 quarters, three years in all.
Draw it first
Plot the time series
1 Put time across and the reading up. Plot one dot for each quarter.
2 Join the dots in order with straight lines. The joining lines show the order, not new readings.
3 Draw a dashed line through the middle of the readings, to show the general direction.
Two things stand out. First, the readings go up and down every year: high at the start, low in the third quarter. Second, each year as a whole is a little wetter than the one before.
The trend is the general direction of the readings over a long time. Here it is a slow rise. A seasonal pattern is a rise and fall that repeats after the same number of readings. Here it repeats every 4 quarters.
Worked example
Find the mean rain in each of the three years.
- Year 1: 80 + 40 + 20 + 60 = 200 mm. The mean is 200 ÷ 4 = 50 mm.
- Year 2: 86 + 44 + 24 + 66 = 220 mm. The mean is 220 ÷ 4 = 55 mm.
- Year 3: 94 + 48 + 26 + 72 = 240 mm. The mean is 240 ÷ 4 = 60 mm.
Answer: The yearly means are 50 mm, 55 mm and 60 mm
A mean over a whole year averages out the seasonal ups and downs. What is left is the trend. The yearly means are 50, 55 and 60 mm. They are the dots on the dashed line in the first graph, at the middle of each year.
Worked example
Which quarter has the lowest rain in every year? How big is the gap between the highest and the lowest quarter in year 1?
- Year 1 readings are 80, 40, 20 and 60. The lowest, 20, is in quarter 3.
- Year 2 readings are 86, 44, 24 and 66, and year 3 readings are 94, 48, 26 and 72. Again the lowest is in quarter 3.
- So the pattern repeats: quarter 1 is the wettest and quarter 3 is the driest each year.
- In year 1 the gap is 80 − 20 = 60 mm.
Answer: Quarter 3, and the gap is 60 mm
We can use the trend to look a little way ahead. The means rise by 5 mm each year. If that carries on, year 4 has a mean near 65 mm. This is a step beyond the data, so it is a cautious estimate. The further we go, the less we should trust it.
Worked example
Use the yearly means 50, 55 and 60 mm to estimate the mean of year 4.
- The first rise is 55 − 50 = 5 mm.
- The second rise is 60 − 55 = 5 mm too. The trend is a rise of 5 mm a year.
- If the trend carries on, year 4 has a mean of 60 + 5 = 65 mm.
- Year 4 is only one year beyond the data, so this is a cautious estimate, not a promise.
Answer: About 65 mm
See it three ways
With things
A seedling is measured every week for 8 weeks. Its heights in centimetres are 4, 9, 14, 18, 24, 29, 33 and 39.
As a picture
In words
The trend is a steady rise of about 5 cm each week. There is no seasonal pattern: nothing goes up and down in a repeating way.
In symbols
The dashed line is y = 5x − 1. Each week adds about 5 cm.
Try it
Count something each day for 14 days
You need: paper and a pencil, something you can count each day, such as glasses of water.
- Each evening, write the day number and the count. Do this for 14 days.
- Draw a graph with the day across and the count up. Plot a dot for each day and join them.
- Look for a trend. Then look for a pattern that repeats, such as a high count at the end of each week.
What you will see: A pattern that repeats every 7 days is common, because many daily habits follow the week. Here, days 6 and 13 are the highest.
A wrong idea many people have
If the readings go up and down, there is no trend.
Why it feels right: A line that zigzags does not look like it is going anywhere.
The test that breaks it: The rain readings zigzag every year. But the yearly means are 50, 55 and 60. Each year is wetter than the last.
What is true: A trend is the general direction. Ups and downs that repeat sit on top of the trend. Averaging over a whole cycle shows the trend.
Key words
- time series
- readings taken at regular times, plotted in order.
- trend
- the general direction of a time series over a long time.
- seasonal pattern
- a rise and fall that repeats after the same number of readings.
Back to your guess
The answer is C: Plot each reading against time, join the points, and look for the general direction and for ups and downs that repeat.
A mean of all the readings hides the order in which they happened. Plotting each reading against time keeps the order. Then we can see the general direction, called the trend, and the ups and downs that repeat, called a seasonal pattern.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
The graph shows the number of visitors to a park each week. Which describes the trend?
See the answer
The trend is a fall.
The visitors drop from 90 in week 1 to 55 in week 8. The general direction is down.
This graph shows the visitors to a library on each of 14 days. After how many days does the pattern repeat?
See the answer
7 days
The peaks are on days 6 and 13, which are 7 days apart. The low points on days 7 and 14 are also 7 days apart.
- If you chose A: 6 is the day of the first peak. The question asks how many days pass before the peak comes again. Go to M4.7.7.
- If you chose C: 14 is the number of days in the whole series. The pattern shows twice in it, so it repeats after half of that. Go to M4.7.7.
- If you chose D: The readings do change from day to day, but the repeating shape is the whole rise and fall, which takes longer. Go to M4.7.7.
Which time series is most likely to show a pattern that repeats?
See the answer
The number of visitors to an outdoor swimming pool each month for several years.
Pool visits follow the seasons. The same months are busy each year, so the pattern repeats every 12 months.
The rain in the four quarters of a year is 88, 52, 28, 72 mm. What is the mean rain for the year?
See the answer
60 mm
88 + 52 + 28 + 72 = 240. Then 240 ÷ 4 = 60.
The yearly means of a time series are 40, 44, 48. If the trend carries on, what is the estimate for the next year?
See the answer
52
The means rise by 4 each year. The next is 48 + 4 = 52.
- If you chose A: 4 is how much the mean rises each year. The next mean is that rise added to the last mean. Go to M4.7.7.
- If you chose B: You added the rise twice. The next year is only one step on: 48 + 4. Go to M4.7.7.
- If you chose C: That is the last mean. The trend says the mean keeps rising, so the next one is higher. Go to M4.7.7.
What does the trend of a time series show?
See the answer
The general direction of the readings over a long time.
The trend says whether the readings are mostly rising, falling or staying level.
From an earlier chapter
A line of best fit has the rule y = 3x + 2. Estimate y when x = 9.
See the answer
29
y = 3 × 9 + 2 = 27 + 2 = 29.
The four quarterly readings of one year are 12, 30, 22 and 8. What is the mean for the year?
See the answer
18
12 + 30 + 22 + 8 = 72. Then 72 ÷ 4 = 18.
Keep it
Copy this into your exercise book.
Time series: readings in order, time across. Trend: the general direction. Seasonal pattern: a rise and fall that repeats. The mean over a whole cycle shows the trend.
Draw: A zigzag line that rises slowly, with a dashed line through the middle and two matching peaks marked.