Download presentation
Presentation is loading. Please wait.
Published byElla Paul Modified over 9 years ago
1
Moving Averages Objectives: D GradeInterpret a Time Series Graph B Grade Construct a Time Series Graph and Plot the Moving Averages
2
A line graph is a series of points joined with straight lines e.g.a patient’s temperature was recorded every 2 hours after receiving medication: Note the features: Title Axis Labels The points are plotted as coordinates The points are joined with straight lines A second set (or more) of data may be added to the graph. What does this line represent? Normal body temperature
3
Moving Averages Because the line graph of temperature was plotted against time it can also be called a ‘Time Series Graph’ Time Series Graphs are often used by people to identify trends over a period of time where they may be natural fluctuations. For example, after installing loft and cavity wall insulation a householder wants to review his gas bills to see if he is saving money.
4
Moving Averages A graph of gas bills plotted against time. Why is the x axis labelled with years and 1 st, 2 nd, 3 rd, 4 th ? Why is there so much fluctuation in the graph – is there a pattern? 2006 2007 Utility (gas, electric, water, etc.,) bills are sent out every 3 months (quarter of a year) The 1 st quarter is winter when you would expect to use a lot of gas for heating, the 3 rd quarter is the summer when you don’t use the heating.
5
Moving Averages A different number of points for a moving average can be selected depending upon the data being analysed. Different types of data suit different moving averages Electricity BillThree-point moving average Gas Bill Four-point moving average Half-term test results Five-point moving average Phone Bill Six-point moving average Daily Superstore Sales Seven-point moving average Termly test results Which type of moving average which suit which data set?
6
Moving Averages Time Series Graph Year200620072008 Quarter1st2nd3rd4th1st2nd3rd4th1st2nd3rd4th Ice Cream Sales (£) 34052596547035551011003754105551150485 Plot the data as a time series graph: This is essentially a line graph. The time is always plotted on the x-axis 200 1200 1000 800 600 400 1 st Qtr 2 nd Qtr 3 rd Qtr 4thQtr 1 st Qtr 3 rd Qtr 4 th Qtr 1 st Qtr 2 nd Qtr 3 rd Qtr 2 nd Qtr 4 th Qtr 200620072008 Ice Cream Sales (£) x x x x x x x x x x x x
7
Representing Data Moving Averages Moving Averages are a way of looking at a trend over a period of time. For a four-point the mean is calculated from the first four pieces of data, then the next point is calculated by moving the selection one place across to calculate the mean of 4 points again Year200620072008 Quarter1st2nd3rd4th1st2nd3rd4th1st2nd3rd4th Ice Cream Sales (£)34052596547035551011003754105551150485 Moving Average 1 The moving average point is plotted in the middle of the 4 points the average is taken from 575609585599610623 200 1200 1000 800 600 400 1 st Qtr 2 nd Qtr 3 rd Qtr 4thQtr 1 st Qtr 3 rd Qtr 4 th Qtr 1 st Qtr 2 nd Qtr 3 rd Qtr 2 nd Qtr 4 th Qtr 2006 2007 2008 Ice Cream Sales (£) x x x x x x x x x x x x x x x x x x x x You can see there is a general increase in sales over time For a 3 point moving average take the mean over 3 points, for a 5 point moving average take the mean over 5 points, etc. 575 Ice Cream Sales (£)34052596547035551011003754105551150485 Moving Average 575 2 579 Calculate the mean of the first 4 points i.e. 340+525+965+470 = 575 4 Calculate the mean of the second 4 points i.e. 525+965+470 +355= 579 4
8
Moving Averages P20 Q 5 P21 Q 6 Year2006 2007 Quarter1st2nd3rd4th1st2nd3rd4th Cost£230£120£50£80£215£120£25£55 Four-point moving average £120£116 DayMon Tue Wed Thu Fri Sessiona.m.p.m.a.m.p.m.a.m.p.m.a.m.p.m.a.m.p.m. Number220210243215254218251201185152 Two point moving average 215226.5229234.5
9
Moving Averages P21 Q 7 P21 Q 8 QuarterJul-04Oct-04Jan-05Apr-05Jul-05Oct-05Jan-05Apr-06 Shop Sales Jul-04 Oct-04 Jan-05 Apr-05 Jul-05 Oct-05 Jan-05 Apr-06 120 100 80 60 40 20 0 Sales (£ thousands) x x x x x x x Year20052006 2007 SessionAutumnSpringSummerAutumnSpringSummerAutumn Exam Result (%)86937083936777 x
10
Moving Averages P20 Q 5 Year2006 2007 Quarter1st2nd3rd4th1st2nd3rd4th Cost£230£120£50£80£215£120£25£55 Four-point moving average £120£116 1 st 2 nd 3 rd 4 th 2006 2007 Time (year, quarter) 250 200 150 100 50 0 Cost (£) x x x x x x x x £116.25 £110 £103.75 x x x x The trend is moving downwards which means that the electricity costs are falling
11
Moving Averages P21 Q 6 DayMon Tue Wed Thu Fri Sessiona.m.p.m.a.m.p.m.a.m.p.m.a.m.p.m.a.m.p.m. Number220210243215254218251201185152 Two point moving average 215226.5229234.5 Mon a.m. Mon p.m. Tue a.m. Tue p.m. Wed a.m. Wed p.m. Thu p.m.Thu a.m. Fri a.m. Fri p.m. 270 250 230 210 190 170 150 Number Present x x x x x x x x x x 236 234.5226193168.5 x x x x x x x x x The trend is downwards – starting low on Monday, then rising to Wednesday, but Falling sharply towards Friday.
12
Moving Averages P21 Q 7 P21 Q 8 Jul-04 Oct-04 Jan-05 Apr-05 Jul-05 Oct-05 Jan-05 Apr-06 120 100 80 60 40 20 0 Sales (£ thousands) x x x x x x x Year20052006 2007 SessionAutumnSpringSummerAutumnSpringSummerAutumn Exam Result (%)86937083936777 8382 8179 QuarterJul-04Oct-04Jan-05Apr-05Jul-05Oct-05Jan-05Apr-06 Shop Sales100401080110501286 x x x x x x 57.5 60 62.5 63 64.5 c. The trend is slightly upwards d. The next point would probably lie at 67 67= 50+12+86 +x 4 67 × 4 = 50 + 10 + 86 + x 268 = 146 + x x = 122 So the next quarter sales would be about £122 000 100 90 80 70 60 Aut-05 Spr-06 Sum-06 Aut-06 Spr-07 Sum-07 Aut-07 x x x x x x x x x x x x x
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.