Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-1 Chapter 7: Forecasting.

Similar presentations


Presentation on theme: "Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-1 Chapter 7: Forecasting."— Presentation transcript:

1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-1 Chapter 7: Forecasting

2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-2 Forecasting Techniques Qualitative and judgmental Statistical time series models Explanatory/causal models

3 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-3 Qualitative and Judgmental Methods Historical analogy – comparative analysis with a previous situation Delphi Method – response to a sequence of questionnaires by a panel of experts

4 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-4 Indicators and Indexes Indicators – measures believed to influence the behavior of a variable we wish to forecast Leading indicators Lagging indicators Index – a weighted combination of indicators Indicators and indexes are often used in economic forecasting

5 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-5 Time Series A time series is a stream of historical data Components of time series Trend Short-term seasonal effects Longer-term cyclical effects

6 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-6 Examples of Time Series

7 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-7 Statistical Forecasting Methods Moving average Exponential smoothing Regression analysis

8 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-8 Simple Moving Average Average random fluctuations in a time series to infer short-term changes in direction Assumption: future observations will be similar to recent past Moving average for next period = average of most recent k observations

9 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-9 Example: Moving Average Forecast With k = 3

10 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-10 Time Series Data and Moving Averages

11 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-11 Excel Tool: Moving Averages Tools > Data Analysis > Moving Average Enter range of data Enter value of k Select output options Select options

12 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-12 Excel Results Caution: chart aligns forecasts for next period with current period data

13 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-13 Weighted Moving Average Weight the most recent k observations, with weights that add to 1.0 Higher weights on more recent observations generally provide more responsive forecasts to rapidly changing time series

14 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-14 Computing Forecast Errors

15 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-15 Error Metrics and Forecast Accuracy Mean absolute deviation (MAD) Mean square error (MSE) Mean absolute percentage error (MAPE)

16 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-16 Summary of Error Metrics for Burglary Data

17 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-17 Exponential Smoothing Exponential smoothing model: F t+1 = (1 –  )F t +  A t = F t +  (A t – F t ) F t+1 is the forecast for time period t+1, F t is the forecast for period t, A t is the observed value in period t, and  is a constant between 0 and 1, called the smoothing constant.

18 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-18 Excel Tool: Exponential Smoothing Tools > Data Analysis > Exponential Smoothing Enter data range Damping factor = 1 -  Select output range and options

19 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-19 Exponential Smoothing Example

20 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-20 Exponential Smoothing Forecasts (  = 0.6)

21 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-21 Forecasting Models With Linear Trends Double Moving Average Double Exponential Smoothing Based on the linear trend equation

22 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-22 Double Moving Average M t = [ A t-k+1 + A t-k+2 + … A t ]/k D t = [M t-k+1 + M t-k+2 + … M t ]/k a t = 2M t – D t b t = (2/(k-1))[M t – D t ] Use a T and b T in the linear trend equation to forecast k periods beyond period T:

23 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-23 Double Exponential Smoothing a t =  y t + (1-  ) (a t-1 + b t-1 ) b t =  (a t – a t-1 ) + (1-  )b t-1 Initialize: a 1 = A 1 b 1 = A 2 – A 1

24 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-24 Forecasting Models With Seasonality Additive model Multiplicative model

25 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-25 Additive Seasonality Level and seasonal factors: Forecast for next period a t =  ( A t - S t-s ) + (1-  ) a t-1 S t =  (A t - a t ) + (1-  ) S t-s

26 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-26 Initialization a s = a t = a s t = 1,2,…s S t = A t - a t t = 1,2,…s

27 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-27 Models for Trend and Seasonality Holt-Winters Additive Model Holt-Winters Multiplicative Model

28 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-28 Holt-Winters Additive Model Smoothing equations: Forecast for period t + 1: a t =  ( A t - S t-s ) + (1-  ) (a t-1 + b t-1 ) b t =  (a t – a t-1 ) + (1-  )b t-1 S t =  (A t - a t ) + (1-  ) S t-s

29 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-29 Initialization b t = b s, for t = 1,2,…s b s = [ (A s+1 – A 1 )/s + (A s+2 – A s )/s + ….(A s+s – A s )/s] / s

30 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-30 CB Predictor Excel add-in for forecasting Integrated with Crystal Ball software Example: Burglary Data

31 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-31 CB Predictor Input Data Dialog

32 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-32 CB Predictor Data Attributes Dialog

33 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-33 CB Predictor Method Gallery Dialog

34 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-34 CB Predictor Results Dialog

35 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-35 CB Predictor Output: Methods Table Durbin-Watson statistic: check for autocorrelation; a value of 2 indicates no autocorrelation Theil’s U statistic: comparison to naïve forecast. U 1, worse than guessing

36 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-36 CB Predictor Output: Results Table

37 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-37 Example: Gas and Electric Usage

38 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-38 CB Predictor Results

39 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-39 Regression-Based Forecasting Models

40 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-40 CB Predictor Regression Forecasting Results

41 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-41 Autoregressive Models First-order autoregressive model Y i = a 0 + a 1 Y i-1 +  i Second-order autoregressive model Y i = a 0 + a 1 Y i-1 + a 2 Y i-2 +  i

42 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-42 Portion of Coal Production File for Autoregessive Modeling

43 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-43 Second Order Autoregressive Model

44 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-44 First Order Autoregressive Model

45 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-45 Incorporating Seasonality into Regression Models Use ordinal variables. Example: Gas Usage =  0 +  1 Time +  2 January +  3 February +  4 March +  5 April +  6 May +  7 June +  8 July +  9 August +  10 September +  11 October +  12 November The forecast for December of the first year will be  0 +  1 (12). The forecast for January (Time = 1) would be  0 +  1 (1) +  2 (1).

46 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-46 Data Matrix

47 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-47 Regression ANOVA Results

48 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-48 Regression Forecasting With Causal Variables Sales (week 11) = 4790.1 + 812.00(11) = 13,733 gallons

49 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-49 Causal Model Sales =  0 +  1 Week +  2 Price/Gallon Sales = 72333.08 + 508.67 Week – 16463.20 Price/Gallon Sales (week 11) = 72333.08 + 508.67(11) - 16463.2(3.80) = 13,733 gallons


Download ppt "Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall7-1 Chapter 7: Forecasting."

Similar presentations


Ads by Google