Presentation is loading. Please wait.

Presentation is loading. Please wait.

Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.

Similar presentations

Presentation on theme: "Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved."— Presentation transcript:

1 Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.

2 Learning Objectives LO1 Define the components of a time series LO2 Compute Moving average, weighted moving average and exponential smoothing LO3 Determine a linear trend equation LO4 Use a trend equation to compute forecasts LO5 Determine and interpret a set of seasonal indexes LO6 Deseasonalize data using a seasonal index LO7 Calculate seasonally adjusted forecasts LO8 Use a trend equation for a nonlinear trend 16-2

3 TIME SERIES is a collection of data recorded over a period of time (weekly, monthly, quarterly), an analysis of history, that can be used by management to make current decisions and plans based on long-term forecasting. It usually assumes past pattern to continue into the future Time Series and its Components Components of a Time Series 1. Secular Trend – the smooth long term direction of a time series 2. Cyclical Variation – the rise and fall of a time series over periods longer than one year 3. Seasonal Variation – Patterns of change in a time series within a year which tends to repeat each year 4. Irregular Variation – classified into: Episodic – unpredictable but identifiable Residual – also called chance fluctuation and unidentifiable 16-3

4 Secular Trend – Examples 16-4

5 Cyclical Variation – Sample Chart 1991199620012006 2011 16-5

6 Seasonal Variation – Sample Chart 16-6

7 Irregular variation Caused by irregular and unpredictable changes in a times series that are not caused by other components Exists in almost all time series Needs to reduce irregular variation to make accurate predictions 16-7

8 The Moving Average Method Useful in smoothing time series to see its trend Basic method used in measuring seasonal fluctuation Applicable when time series follows fairly linear trend that have definite rhythmic pattern 16-8

9 Moving Average Method - Constant duration of cycles 16-9

10 3-year and 5-Year Moving Averages 16-10 Gas Sales 39 37 61 58 18 56 82 27 41 69 49 66 54 42 90 66 Data-> Data Analysis -> Moving Average

11 Exponential Smoothing Overcome some drawbacks of moving average: No moving averages for the first and last time periods. Forgets most of the previous values. S t = wy t + (1 – w)S t-1 (for t 2) where: S t = Exponentially smoothed time series at time t y t = Time series at time period t S t-1 = Exponentially smoothed time series at time t–1 w = Smoothing constant, 0 w 1

12 Exponential smoothing 16-12 Gas Sales 39 37 61 58 18 56 82 27 41 69 49 66 54 42 90 66 Data-> Data Analysis -> Exponential smoothing, damping factor = 1-w

13 Weighted Moving Average A simple moving average assigns the same weight to each observation in averaging Weighted moving average assigns different weights to each observation Most recent observation receives the most weight, and the weight decreases for older data values In either case, the sum of the weights = 1 16-13

14 Weighted Moving Average - Example Cedar Fair operates seven amusement parks and five separately gated water parks. Its combined attendance (in thousands) for the last 17 years is given in the following table. A partner asks you to study the trend in attendance. Compute a three- year moving average and a three-year weighted moving average with weights of 0.2, 0.3, and 0.5 for successive years. 16-14

15 Weighted Moving Average - Example 16-15

16 Weighed Moving Average – An Example 16-16

17 Linear Trend The long term trend of many business series often approximates a straight line 16-17

18 Linear Trend Plot 16-18

19 Linear Trend – Using the Least Squares Method Use the least squares method in Simple Linear Regression (Chapter 13) to find the best linear relationship between 2 variables Code time (t) and use it as the independent variable E.g. let t be 1 for the first year, 2 for the second, and so on (if data are annual) 16-19

20 A hotel in Bermuda has recorded the occupancy rate for each quarter for the past 5 years. The data are shown here. Linear Trend –An Example 16-20 YearRateQuarter 20060.5611 0.7022 0.8003 0.5684 20070.5751 0.7382 0.8683 0.6054 20080.5941 0.7382 0.7293 0.6004 20090.6221 0.7082 0.8063 0.6324 10100.6651 0.8352 0.8733 0.6704

21 Linear Trend –An Example Using Excel 16-21 Insert->Scatter->first option->Right-click on any marker->Add trendline->At the bottom: Display Equation on chart

22 Seasonal Variation Fluctuations that coincide with certain seasons; repeated year after year Understanding seasonal fluctuations help plan for sufficient goods and materials on hand to meet varying seasonal demand Analysis of seasonal fluctuations over a period of years help in evaluating current sales 16-22

23 Seasonal Index A number, usually expressed in percent, that expresses the relative value of a season with respect to the average for the year (100%) Ratio-to-moving-average method The method most commonly used to compute the typical seasonal pattern It eliminates the trend (T), cyclical (C), and irregular (I) components from the time series 16-23

24 Step (1) – Organize time series data in column form Step (2) Compute the 4- quarter moving totals Step (3) Compute the 4- quarter moving averages Step (4) Compute the centered moving averages by getting the average of two 4-quarter moving averages Step (5) Compute ratio by dividing actual rate by the centered moving averages 16-24 QuarterPeriod tRate 4-quarter moving averages Centered moving averaged Ratio of sales to centered moving averages 110.561 220.7020.65775 330.8000.661250.65951.21304 440.5680.670250.665750.853173 150.5750.687250.678750.847145 260.7380.69650.6918751.066667 370.8680.701250.6988751.241996 480.6050.70125 0.862745 190.5940.66650.6838750.86858 2100.7380.665250.6658751.108316 3110.7290.672250.668751.090093 4120.6000.664750.66850.897532 1130.6220.6840.6743750.922335 2140.7080.6920.6881.02907 3150.8060.702750.6973751.155763 4160.6320.73450.7186250.879457 1170.6650.751250.7428750.895171 2180.8350.760750.7561.104497 3190.873 4200.670 Bermuda Hotel example

25 Seasonal Index – An Example 16-25 Year1234 20061.213040.853173 20070.8471451.0666671.2419960.862745 20080.868581.1083161.0900930.897532 20090.9223351.029071.1557630.879457 20100.8951711.104497 Average0.8833081.0771371.1752230.873227 Index0.8833081.0771371.1752230.873227

26 Actual versus Deseasonalized Sales for Toys International Deseasonalized Series = Actual series / Seasonal Index 16-26 QuarterPeriod tRate 4-quarter moving average Centered moving averageRatio Seasonal Index Seasonal adjusted rate 110.5610.880.64 220.7020.661.080.65 330.8000.66 440.5680.67 0.850.870.65 150.5750.690.680.850.880.65 260.7380.700.691.071.080.69 370.8680.70 480.6050.70 0.860.870.69 190.5940.670.680.870.880.67 2100.7380.67 3110.7290.67 4120.6000.660.670.900.870.69 1130.6220.680.670.920.880.70 2140.7080.69 3150.8060.70 4160.6320.730.720.880.870.72 1170.6650.750.740.900.880.75 2180.8350.76 3190.8731.180.74 4200.6700.870.77

27 Actual versus Deseasonalized Series 16-27

28 Seasonally Adjusted Forecast (1) Obtain the linear equation using the deseasonalized data: Ŷ=.6371+.0053t (2) Use the linear equation to predict the dependent variable, rate. (3) Use the predicted rate times the corresponding seasonal index to obtain the seasonally adjusted forecast. 16-28 Quarterly Forecast for 2011 QuarterPeriod Estimated rat Seasonal Index Quarterly Forecast 1210.750.880.66 2220.751.080.81 3230.761.180.89 4240.760.870.67 Ŷ =.6371+ 0.0053(24) Ŷ X SI =.76 X.87

29 Nonlinear Trends A linear trend equation is used when the data are increasing (or decreasing) by equal amounts A nonlinear trend equation is used when the data are increasing (or decreasing) by increasing amounts over time When data increase (or decrease) by equal percents or proportions plot will show curvilinear pattern 16-29

30 Log Trend Equation – Gulf Shores Importers Example Graph on right is the log base 10 of the original data which now is linear (Excel function: =log(x) or log(x,10) Using Data Analysis in Excel, generate the linear equation Regression output shown in next slide 16-30

31 Log Trend Equation – Gulf Shores Importers Example 16-31

32 Log Trend Equation – Gulf Shores Importers Example 16-32

Download ppt "Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved."

Similar presentations

Ads by Google