1 / 42

Lesson 4 -Part A Forecasting

Lesson 4 -Part A Forecasting. Quantitative Approaches to Forecasting. Components of a Time Series. Measures of Forecast Accuracy. Smoothing Methods. Trend Projection. Trend and Seasonal Components. Regression Analysis. Forecasting Methods. Forecasting Methods. Quantitative. Qualitative.

Download Presentation

Lesson 4 -Part A Forecasting

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lesson 4 -Part AForecasting • Quantitative Approaches to Forecasting • Components of a Time Series • Measures of Forecast Accuracy • Smoothing Methods • Trend Projection • Trend and Seasonal Components • Regression Analysis

  2. Forecasting Methods Forecasting Methods Quantitative Qualitative Causal Time Series Smoothing Trend Projection Trend Projection Adjusted for Seasonal Influence

  3. Quantitative Approaches to Forecasting • Quantitative methods are based on an analysis of historical data concerning one or more time series. • A time series is a set of observations measured at successive points in time or over successive periods of time. • If the historical data used are restricted to past values of the series that we are trying to forecast, the procedure is called a time series method. • If the historical data used involve other time series that are believed to be related to the time series that we are trying to forecast, the procedure is called a causal method.

  4. Time Series Methods • smoothing • Three time series methods are: • trend projection • trend projection adjusted for seasonal influence

  5. Irregular Trend Cyclical Seasonal Components of a Time Series • The pattern or behavior of the data in a time series has several components. • The four components we will study are:

  6. Components of a Time Series • Trend Component • The trend component accounts for the gradual shifting of the time series to relatively higher or lower values over a long period of time. • - Trend is usually the result of long-term factors such as changes in the population, demographics, technology, or consumer preferences.

  7. Components of a Time Series • Cyclical Component • Any regular pattern of sequences of values above and below the trend line lasting more than one year can be attributed to the cyclical component. • Usually, this component is due to multiyear cyclical movements in the economy.

  8. Components of a Time Series • Seasonal Component • The seasonal component accounts for regular patterns of variability within certain time periods, such as a year. • The variability does not always correspond with the seasons of the year (i.e. winter, spring, summer, fall). • There can be, for example, within-week or within-day “seasonal” behavior.

  9. Components of a Time Series • Irregular Component • The irregular component is caused by short-term, unanticipated and non-recurring factors that affect the values of the time series. • This component is the residual, or “catch-all,” factor that accounts for unexpected data values. • It is unpredictable.

  10. Measures of Forecast Accuracy • Mean Squared Error The average of the squared forecast errors for the historical data is calculated. The forecasting method or parameter(s) that minimize this mean squared error is then selected. • Mean Absolute Deviation The mean of the absolute values of all forecast errors is calculated, and the forecasting method or parameter(s) that minimize this measure is selected. (The mean absolute deviation measure is less sensitive to large forecast errors than the mean squared error measure.)

  11. Moving Averages Weighted Moving Averages Exponential Smoothing Smoothing Methods • In cases in which the time series is fairly stable and has no significant trend, seasonal, or cyclical effects, one can use smoothing methods to average out the irregular component of the time series. • Three common smoothing methods are:

  12. Smoothing Methods • Moving Averages The moving averages method consists of computing an average of the most recent n data values for the series and using this average for forecasting the value of the time series for the next period.

  13. Smoothing Methods: Moving Averages • Example: Rosco Drugs Sales of Comfort brand headache medicine for the past ten weeks at Rosco Drugs are shown on the next slide. If Rosco Drugs uses a 3-period moving average to forecast sales, what is the forecast for Week 11?

  14. Smoothing Methods: Moving Averages • Example: Rosco Drugs Week Sales Week Sales 1 2 3 4 5 110 115 125 120 125 6 7 8 9 10 120 130 115 110 130

  15. Time Series Plot using MINITAB

  16. Time series appears to be stable over time, though random variability is present. • Thus, smoothing methods are applicable.

  17. Smoothing Methods: Moving Averages Week Sales 3MA Forecast 1 2 3 4 5 6 7 8 9 10 11 110 115 125 120 125 120 130 115 110 130 (110 + 115 + 125)/3 116.7 116.7 120.0 123.3 121.7 125.0 121.7 118.3 118.3 120.0 123.3 121.7 125.0 121.7 118.3 118.3

  18. Moving Averages using MINITAB

  19. You can specify this i.e. 4, 6, 12, … & its depend on the problem # of data points # of future forecasts needed

  20. Moving Average for Sales Moving Average: Length 3 Time Sales MA Predict Error 1 110 * * * 2 115 * * * 3 125 116.667 * * 4 120 120.000 116.667 3.3333 5 125 123.333 120.000 5.0000 6 120 121.667 123.333 -3.3333 7 130 125.000 121.667 8.3333 8 115 121.667 125.000 -10.0000 9 110 118.333 121.667 -11.6667 10 130 118.333 118.333 11.6667 Forecasts Period Forecast 95% CI 11 118.333 101.954 134.713

  21. MSE # of values to be included in the moving average is chosen such that it minimizes the MSE

  22. Smoothing Methods • Weighted Moving Averages • To use this method we must first select the number of data values to be included in the average. • Next, we must choose the weight for each of the data values. • The more recent observations are typically given more weight than older observations. • For convenience, the weights usually sum to 1.

  23. Smoothing Methods • Weighted Moving Averages • An example of a 3-period weighted moving average (3WMA) is: 3WMA = .2(110) + .3(115) + .5(125) = 119 Most recent of the three observations Weights (.2, .3, and .5) sum to 1

  24. Smoothing Methods • Exponential Smoothing • This method is a special case of a weighted moving averages method; we select only the weight for the most recent observation. • The weights for the other data values are computed automatically and become smaller as the observations grow older. • The exponential smoothing forecast is a weighted average of all the observations in the time series.

  25. To start the calculations, we let F1 = Y1 Smoothing Methods Ft+1 = aYt + (1 – a)Ft • Exponential Smoothing Model where Ft+1 = forecast of the time series for period t + 1 Yt = actual value of the time series in period t Ft = forecast of the time series for period t a = smoothing constant (0 <a< 1)

  26. Smoothing Methods • Exponential Smoothing Model • With some algebraic manipulation, we can rewrite Ft+1 = aYt + (1 – a)Ft as: Ft+1 = Ft + a(Yt – Ft) • We see that the new forecast Ft+1 is equal to the previous forecast Ft plus an adjustment, which is a times the most recent forecast error, Yt – Ft.

  27. Smoothing Methods: Exponential Smoothing • Example: Rosco Drugs Sales of Comfort brand headache medicine for the past ten weeks at Rosco Drugs are shown on the next slide. If Rosco Drugs uses exponential smoothing to forecast sales, which value for the smoothing constant , .1 or .8, gives better forecasts?

  28. Smoothing Methods: Exponential Smoothing • Example: Rosco Drugs Week Sales Week Sales 1 2 3 4 5 110 115 125 120 125 6 7 8 9 10 120 130 115 110 130

  29. Smoothing Methods: Exponential Smoothing • Exponential Smoothing ( = .1, 1 -  = .9) F1 = 110 F2 = .1Y1 + .9F1 = .1(110) + .9(110) = 110 F3 = .1Y2 + .9F2 = .1(115) + .9(110) = 110.5 F4 = .1Y3 + .9F3 = .1(125) + .9(110.5) = 111.95 F5 = .1Y4 + .9F4 = .1(120) + .9(111.95) = 112.76 F6 = .1Y5 + .9F5 = .1(125) + .9(112.76) = 113.98 F7 = .1Y6 + .9F6 = .1(120) + .9(113.98) = 114.58 F8 = .1Y7 + .9F7 = .1(130) + .9(114.58) = 116.12 F9 = .1Y8 + .9F8 = .1(115) + .9(116.12) = 116.01 F10= .1Y9 + .9F9 = .1(110) + .9(116.01) = 115.41

  30. Smoothing Methods: Exponential Smoothing • Exponential Smoothing ( = .8, 1 -  = .2) F1 = 110 F2 = .8(110) + .2(110) = 110 F3 = .8(115) + .2(110) = 114 F4 = .8(125) + .2(114) = 122.80 F5 = .8(120) + .2(122.80) = 120.56 F6 = .8(125) + .2(120.56) = 124.11 F7 = .8(120) + .2(124.11) = 120.82 F8 = .8(130) + .2(120.82) = 128.16 F9 = .8(115) + .2(128.16) = 117.63 F10= .8(110) + .2(117.63) = 111.53

  31. Smoothing Methods: Exponential Smoothing • Mean Squared Error In order to determine which smoothing constant gives the better performance, we calculate, for each, the mean squared error for the nine weeks of forecasts, weeks 2 through 10. [(Y2-F2)2 + (Y3-F3)2 + (Y4-F4)2 + . . . + (Y10-F10)2]/9

  32. Smoothing Methods: Exponential Smoothing  = .1  = .8 Week (Yt - Ft)2 (Yt - Ft)2 Ft Ft Yt 2 3 4 5 6 7 8 9 10 115 125 120 125 120 130 115 110 130 110.00 110.50 111.95 112.76 113.98 114.58 116.12 116.01 115.41 25.00 210.25 64.80 149.94 36.25 237.73 1.26 36.12 212.87 110.00 114.00 122.80 120.56 124.11 120.82 128.16 117.63 111.53 25.00 121.00 7.84 19.71 16.91 84.23 173.30 58.26 341.27 Sum 974.22 Sum 847.52 MSE Sum/9 108.25 Sum/9 94.17

  33. Exponential Smoothing using MINITAB

  34. value for the smoothing constant  # of future forecasts needed # of data points

  35. Single Exponential Smoothing for Sales Smoothing Constant Alpha 0.1 Time Sales Smooth Predict Error 1 110 110.000 110.000 0.0000 2 115 110.500 110.000 5.0000 3 125 111.950 110.500 14.5000 4 120 112.755 111.950 8.0500 5 125 113.980 112.755 12.2450 6 120 114.582 113.980 6.0205 7 130 116.123 114.582 15.4184 8 115 116.011 116.123 -1.1234 9 110 115.410 116.011 -6.0111 10 130 116.869 115.410 14.5901 Forecasts Period Forecast Lower Upper 11 116.869 96.5445 137.193

  36. Single Exponential Smoothing for Sales Smoothing Constant Alpha 0.8 Time Sales Smooth Predict Error 1 110 110.000 110.000 0.0000 2 115 114.000 110.000 5.0000 3 125 122.800 114.000 11.0000 4 120 120.560 122.800 -2.8000 5 125 124.112 120.560 4.4400 6 120 120.822 124.112 -4.1120 7 130 128.164 120.822 9.1776 8 115 117.633 128.164 -13.1645 9 110 111.527 117.633 -7.6329 10 130 126.305 111.527 18.4734 Forecasts Period Forecast Lower Upper 11 126.305 107.735 144.876

  37. Value of the smoothing constant  is chosen such that it minimizes the MSE

More Related