Presentation is loading. Please wait.

Presentation is loading. Please wait.

Time-Series Analysis and Forecasting – Part IV To read at home.

Similar presentations


Presentation on theme: "Time-Series Analysis and Forecasting – Part IV To read at home."— Presentation transcript:

1 Time-Series Analysis and Forecasting – Part IV To read at home

2 Method of moving average

3 Method of moving average consists in replacement of initial levels of series by the average values, which are calculated for the successively changing periods of time

4 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-4 Moving Averages  Example: Five-year moving average  First average:  Second average:  etc.

5 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-5 (2m+1)-Point Moving Average  A series of arithmetic means over time  Result depends upon choice of m (the number of data values in each average)  Examples:  For a 5 year moving average, m = 2  For a 7 year moving average, m = 3  Etc.  Replace each x t with

6 19,3 20,5 22,2 23 23,6

7 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-7 YearSales 1 2 3 4 5 6 7 8 9 10 11 etc… 23 40 25 27 32 48 33 37 50 40 etc… … …

8 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-8 Calculating Moving Averages  Each moving average is for a consecutive block of (2m+1) years YearSales 123 240 325 427 532 648 733 837 9 1050 1140 Average Year 5-Year Moving Average 329.4 434.4 533.0 635.4 737.4 841.0 939.4 …… etc…  Let m = 2

9 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-9 Annual vs. Moving Average  The 5-year moving average smoothes the data and shows the underlying trend

10 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-10 Centered Moving Averages  Let the time series have period s, where s is even number  i.e., s = 4 for quarterly data and s = 12 for monthly data  To obtain a centered s-point moving average series X t *:  Form the s-point moving averages  Form the centered s-point moving averages (continued)

11 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-11 Centered Moving Averages  Used when an even number of values is used in the moving average  Average periods of 2.5 or 3.5 don’t match the original periods, so we average two consecutive moving averages to get centered moving averages Average Period 4-Quarter Moving Average 2.528.75 3.531.00 4.533.00 5.535.00 6.537.50 7.538.75 8.539.25 9.541.00 Centered Period Centered Moving Average 329.88 432.00 534.00 636.25 738.13 839.00 940.13 etc…

12 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-12 Calculating the Ratio-to-Moving Average  Now estimate the seasonal impact  Divide the actual sales value by the centered moving average for that period

13 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-13 Calculating a Seasonal Index QuarterSales Centered Moving Average Ratio-to- Moving Average 1 2 3 4 5 6 7 8 9 10 11 … 23 40 25 27 32 48 33 37 50 40 … 29.88 32.00 34.00 36.25 38.13 39.00 40.13 etc… … 83.7 84.4 94.1 132.4 86.5 94.9 92.2 etc… …

14 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-14 Calculating Seasonal Indexes QuarterSales Centered Moving Average Ratio-to- Moving Average 1 2 3 4 5 6 7 8 9 10 11 … 23 40 25 27 32 48 33 37 50 40 … 29.88 32.00 34.00 36.25 38.13 39.00 40.13 etc… … 83.7 84.4 94.1 132.4 86.5 94.9 92.2 etc… … 1.Find the median of all of the same-season values 2.Adjust so that the average over all seasons is 100 Fall (continued)

15 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-15 Interpreting Seasonal Indexes  Suppose we get these seasonal indexes: Season Seasonal Index Spring0.825 Summer1.310 Fall0.920 Winter0.945  = 4.000 -- four seasons, so must sum to 4 Spring sales average 82.5% of the annual average sales Summer sales are 31.0% higher than the annual average sales etc…  Interpretation:

16 Analytical smoothing of time series

17 Levels of time series are considered as the function of time

18 The procedure of smoothing has 3 steps  choice of the form of function;  determination of parameters of the function;  receiving the smoothed values of the levels of series on the basis of the function

19 Let’s consider this method on the example of linear trend equation where a & b – parameters; t – time

20 The best way to use linear trend in cases, when the preliminary investigation shows, that levels of series change with approximately the same speed, i.e. when chain absolute increases are approximately equal

21 Parameters a & b are determined by the least square method LSM

22 The usage of LSM gives the following system of equations for determining the parameters:

23 The given system of equations can be significantly simplified, if we enumerate the time in the way, that

24 If the series contains odd number of levels, then the central level of series is enumerated as 0. Levels to the side of decrease of time are enumerated by -1;- 2;-3..., to the side of increase of time – by 1;2;3...

25 If the series contains even number of levels, then the closest levels to the center are enumerated by -1 and 1, then numeration is the same as with odd number of levels but only with the step 2:...-5,-3,-1,+1,+3,+5...

26

27

28

29

30 End of Part IV  To be continued… Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 19-30


Download ppt "Time-Series Analysis and Forecasting – Part IV To read at home."

Similar presentations


Ads by Google