Download presentation
Presentation is loading. Please wait.
Published byRosamund Lloyd Modified over 9 years ago
1
Operations Research II Course,, September 20131 Part 6: Forecasting Operations Research II Dr. Aref Rashad
2
2 Forecasting Components Time Series Methods Forecast Accuracy Time Series Forecasting Using Excel Regression Methods Chapter Topics
3
3 A variety of forecasting methods are available for use depending on the time frame of the forecast and the existence of patterns. Time Frames: Short-range (one to two months) Medium-range (two months to one or two years) Long-range (more than one or two years) Patterns: Trend Random variations Cycles Seasonal pattern Forecasting Components
4
4 Trend - A long-term movement of the item being forecast. Random variations - movements that are not predictable and follow no pattern. Cycle - A movement, up or down, that repeats itself over a lengthy time span. Seasonal pattern - Oscillating movement in demand that occurs periodically in the short run and is repetitive. Forecasting Components Patterns (1 of 2)
5
5 Forms of Forecast Movement: (a) Trend, (b) Cycle, (c) Seasonal Pattern, (d) Trend with Seasonal Pattern Forecasting Components Patterns (2 of 2)
6
6 Forecasting Components Forecasting Methods Times Series - Statistical techniques that use historical data to predict future behavior. Regression Methods - Regression (or causal ) methods that attempt to develop a mathematical relationship between the item being forecast and factors that cause it to behave the way it does. Qualitative Methods - Methods using judgment, expertise and opinion to make forecasts.
7
7 Forecasting Components Qualitative Methods Qualitative methods, the “jury of executive opinion,” is the most common type of forecasting method for long-term strategic planning. Performed by individuals or groups within an organization, sometimes assisted by consultants and other experts, whose judgments and opinion are considered valid for the forecasting issue. Usually includes specialty functions such as marketing, engineering, purchasing, etc. in which individuals have experience and knowledge of the forecasted item. Supporting techniques include the Delphi Method, market research, surveys, etc.
8
8 Time Series Methods Overview Statistical techniques that make use of historical data collected over a long period of time. Methods assume that what has occurred in the past will continue to occur in the future. Forecasts based on only one factor - time.
9
9 Time Series Methods Moving Average (1 of 5) Moving average uses values from the recent past to develop forecasts. This dampens or smoothes out random increases and decreases. Useful for forecasting relatively stable items that do not display any trend or seasonal pattern. Formula for:
10
10 Example: Instant Paper Clip Supply Company forecast of orders for the next month. Three-month moving average: Five-month moving average: Time Series Methods Moving Average (2 of 5)
11
11 Three- and Five-Month Moving Averages Time Series Methods Moving Average (3 of 5)
12
12 Three- and Five-Month Moving Average Time Series Methods Moving Average (4 of 5)
13
13 Time Series Methods Moving Average (5 of 5) Longer-period moving averages react more slowly to changes in demand than do shorter-period moving averages. The appropriate number of periods to use often requires trial-and-error experimentation. Moving average does not react well to changes (trends, seasonal effects, etc.) but is easy to use and inexpensive. Good for short-term forecasting.
14
14 In a weighted moving average, weights are assigned to the most recent data. Formula: Time Series Methods Weighted Moving Average
15
15 Determining precise weights and number of periods requires trial-and-error experimentation. Time Series Methods Weighted Moving Average
16
16 Exponential smoothing weights recent past data more strongly than more distant data. Two forms: simple exponential smoothing and adjusted exponential smoothing. Simple exponential smoothing: F t + 1 = D t + (1 - )F t where: F t + 1 = the forecast for the next period D t = actual demand in the present period F t = the previously determined forecast for the present period = a weighting factor (smoothing constant). Time Series Methods Exponential Smoothing (1 of 11)
17
17 The most commonly used values of are between.10 and.50. Determination of is usually judgmental and subjective and often based on trial-and -error experimentation. Time Series Methods Exponential Smoothing (2 of 11)
18
18 Example: PM Computer Services Exponential smoothing forecasts using smoothing constant of.30. Forecast for period 2 (February): F 2 = D 1 + (1- )F 1 = (.30)(.37) + (.70)(.37) = 37 units Forecast for period 3 (March): F 3 = D 2 + (1- )F 2 = (.30)(.40) + (.70)(37) = 37.9 units Time Series Methods Exponential Smoothing (3 of 11)
19
19 Exponential Smoothing Forecasts, =.30 and =.50 Time Series Methods Exponential Smoothing (4 of 11)
20
20 The forecast that uses the higher smoothing constant (.50) reacts more strongly to changes in demand than does the forecast with the lower constant (.30). Both forecasts lag behind actual demand. Both forecasts tend to be consistently lower than actual demand. Low smoothing constants are appropriate for stable data without trend; higher constants appropriate for data with trends. Time Series Methods Exponential Smoothing (5 of 11)
21
21 Exponential Smoothing Forecasts Time Series Methods Exponential Smoothing (6 of 11)
22
22 Adjusted exponential smoothing: exponential smoothing with a trend adjustment factor added. Formula: AF t + 1 = F t + 1 + T t+1 where: T = an exponentially smoothed trend factor T t + 1 = (F t + 1 - F t ) + (1 - )T t T t = the last period trend factor = smoothing constant for trend ( a value between zero and one). Reflects the weight given to the most recent trend data. Determined subjectively. Time Series Methods Exponential Smoothing (7 of 11)
23
23 Example: PM Computer Services exponential smoothed forecasts with =.50 and =.30 Adjusted forecast for period 3: T 3 = (F 3 - F 2 ) + (1 - )T 2 = (.30)(38.5 - 37.0) + (.70)(0) = 0.45 AF 3 = F 3 + T 3 = 38.5 + 0.45 = 38.95 Time Series Methods Exponential Smoothing (8 of 11)
24
24 Adjusted Exponentially Smoothed Forecast Values Time Series Methods Exponential Smoothing (9 of 11)
25
25 Adjusted forecast is consistently higher than the simple exponentially smoothed forecast. It is more reflective of the generally increasing trend of the data. Time Series Methods Exponential Smoothing (10 of 11)
26
26 Adjusted Exponentially Smoothed Forecast Time Series Methods Exponential Smoothing (11 of 11)
27
27 When demand displays an obvious trend over time, a least squares regression line, or linear trend line, can be used to forecast. Formula: Time Series Methods Linear Trend Line (1 of 5)
28
28 Example: PM Computer Services Time Series Methods Linear Trend Line (2 of 5)
29
Chapter 15 - Forecasting 29 Least Squares Calculations Time Series Methods Linear Trend Line (3 of 5)
30
30 A trend line does not adjust to a change in the trend as does the exponential smoothing method. This limits its use to shorter time frames in which trend will not change. Time Series Methods Linear Trend Line (4 of 5)
31
31 Linear Trend Line Time Series Methods Linear Trend Line (5 of 5)
32
32 A seasonal pattern is a repetitive up-and-down movement in demand. Seasonal patterns can occur on a monthly, weekly, or daily basis. A seasonally adjusted forecast can be developed by multiplying the normal forecast by a seasonal factor. A seasonal factor can be determined by dividing the actual demand for each seasonal period by total annual demand: S i =D i / D Time Series Methods Seasonal Adjustments (1 of 4)
33
33 Seasonal factors lie between zero and one and represent the portion of total annual demand assigned to each season. Seasonal factors are multiplied by annual demand to provide adjusted forecasts for each period. Time Series Methods Seasonal Adjustments (2 of 4)
34
34 S 1 = D 1 / D = 42.0/148.7 = 0.28 S 2 = D 2 / D = 29.5/148.7 = 0.20 S 3 = D 3/ D = 21.9/148.7 = 0.15 S 4 = D 4 / D = 55.3/148.7 = 0.37 Demand for Turkeys at Wishbone Farms Example: Wishbone Farms Time Series Methods Seasonal Adjustments (3 of 4)
35
35 Multiply forecasted demand for entire year by seasonal factors to determine quarterly demand. Forecast for entire year (trend line for data in Table) y = 40.97 + 4.30x = 40.97 + 4.30(4) = 58.17 Seasonally adjusted forecasts: SF 1 = (S 1 )(F 5 ) = (.28)(58.17) = 16.28 SF 2 = (S 2 )(F 5 ) = (.20)(58.17) = 11.63 SF 3 = (S 3 )(F 5 ) = (.15)(58.17) = 8.73 SF 4 = (S 4 )(F 5 ) = (.37)(58.17) = 21.53 Time Series Methods Seasonal Adjustments (4 of 4)
36
36 Forecasts will always deviate from actual values. Difference between forecasts and actual values referred to as forecast error. Would like forecast error to be as small as possible. If error is large, either technique being used is the wrong one, or parameters need adjusting. Measures of forecast errors: Mean Absolute deviation (MAD) Mean absolute percentage deviation (MAPD) Cumulative error (E bar) Average error, or bias (E) Forecast Accuracy Overview
37
37 MAD is the average absolute difference between the forecast and actual demand. Most popular and simplest-to-use measures of forecast error. Formula: Forecast Accuracy Mean Absolute Deviation (1 of 7)
38
38 Example: PM Computer Services Compare accuracies of different forecasts using MAD: Forecast Accuracy Mean Absolute Deviation (2 of 7)
39
39 Computational Values for MAD Forecast Accuracy Mean Absolute Deviation (3 of 7)
40
40 The lower the value of MAD relative to the magnitude of the data, the more accurate the forecast. When viewed alone, MAD is difficult to assess. Must be considered in light of magnitude of the data. Forecast Accuracy Mean Absolute Deviation (4 of 7)
41
41 Can be used to compare accuracy of different forecasting techniques working on the same set of demand data (PM Computer Services): Exponential smoothing ( =.50): MAD = 4.04 Adjusted exponential smoothing ( =.50, =.30): MAD = 3.81 Linear trend line: MAD = 2.29 Linear trend line has lowest MAD; increasing from.30 to.50 improved smoothed forecast. Forecast Accuracy Mean Absolute Deviation (5 of 7)
42
42 A variation on MAD is the mean absolute percent deviation (MAPD). Measures absolute error as a percentage of demand rather than per period. Eliminates problem of interpreting the measure of accuracy relative to the magnitude of the demand and forecast values. Formula: Forecast Accuracy Mean Absolute Deviation (6 of 7)
43
43 MAPD for other three forecasts: Exponential smoothing ( =.50): MAPD = 8.5% Adjusted exponential smoothing ( =.50, =.30): MAPD = 8.1% Linear trend: MAPD = 4.9% Forecast Accuracy Mean Absolute Deviation (7 of 7)
44
44 Cumulative error is the sum of the forecast errors (E = e t ). A relatively large positive value indicates forecast is biased low, a large negative value indicates forecast is biased high. If preponderance of errors are positive, forecast is consistently low; and vice versa. Cumulative error for trend line is always almost zero, and is therefore not a good measure for this method. Cumulative error for PM Computer Services can be read directly from Table 15.8. E = e t = 49.31 indicating forecasts are frequently below actual demand. Forecast Accuracy Cumulative Error (1 of 2)
45
45 Cumulative error for other forecasts: Exponential smoothing ( =.50): E = 33.21 Adjusted exponential smoothing ( =.50, =.30): E = 21.14 Average error (bias) is the per period average of cumulative error. Average error for exponential smoothing forecast: A large positive value of average error indicates a forecast is biased low; a large negative error indicates it is biased high. Forecast Accuracy Cumulative Error (2 of 2)
46
46 Results consistent for all forecasts: Larger value of alpha is preferable. Adjusted forecast is more accurate than exponential smoothing forecasts. Linear trend is more accurate than all the others. Comparison of Forecasts for PM Computer Services Forecast Accuracy Example Forecasts by Different Measures
47
47 Time Series Forecasting Using Excel (1 of 4)
48
48 Time Series Forecasting Using Excel (2 of 4)
49
49 Time Series Forecasting Using Excel (3 of 4)
50
50 Time Series Forecasting Using Excel (4 of 4)
51
51 Time series techniques relate a single variable being forecast to time. Regression is a forecasting technique that measures the relationship of one variable to one or more other variables. Simplest form of regression is linear regression. Regression Methods Overview
52
52 Linear regression relates demand (dependent variable ) to an independent variable. Regression Methods Linear Regression
53
53 State University athletic department. Regression Methods Linear Regression Example (1 of 3)
54
54 Regression Methods Linear Regression Example (2 of 3)
55
55 Linear Regression Line Regression Methods Linear Regression Example (3 of 3)
56
56 Correlation is a measure of the strength of the relationship between independent and dependent variables. Formula: Value lies between +1 and -1. Value of zero indicates little or no relationship between variables. Values near 1.00 and -1.00 indicate strong linear relationship. Regression Methods Correlation (1 of 2)
57
57 Value for State University example: Regression Methods Correlation (2 of 2)
58
58 The Coefficient of determination is the percentage of the variation in the dependent variable that results from the independent variable. Computed by squaring the correlation coefficient, r. For State University example: r =.948, r 2 =.899 This value indicates that 89.9% of the amount of variation in attendance can be attributed to the number of wins by the team, with the remaining 10.1% due to other, unexplained, factors. Regression Methods Coefficient of Determination
59
59 Regression Analysis with Excel (1 of 7)
60
60 Regression Analysis with Excel (2 of 7)
61
61 Regression Analysis with Excel (3 of 7)
62
62 Regression Analysis with Excel (4 of 7)
63
63 Regression Analysis with Excel (5 of 7)
64
64 Regression Analysis with Excel (6 of 7)
65
65 Regression Analysis with Excel (7 of 7)
66
66 Multiple Regression with Excel (1 of 4) Multiple regression relates demand to two or more independent variables. General form: y = 0 + 1 x 1 + 2 x 2 +... + k x k where 0 = the intercept 1... k = parameters representing contributions of the independent variables x 1... x k = independent variables
67
67 State University example: Multiple Regression with Excel (2 of 4)
68
68 Multiple Regression with Excel (3 of 4)
69
69 Multiple Regression with Excel (4 of 4)
70
70 Problem Statement: For data below, develop an exponential smoothing forecast using =.40, and an adjusted exponential smoothing forecast using =.40 and =.20. Compare the accuracy of the forecasts using MAD and cumulative error. Example Problem Solution Computer Software Firm (1 of 4)
71
71 Step 1: Compute the Exponential Smoothing Forecast. F t+1 = D t + (1 - )F t Step 2: Compute the Adjusted Exponential Smoothing Forecast AF t+1 = F t +1 + T t+1 T t+1 = (F t +1 - F t ) + (1 - )T t Example Problem Solution Computer Software Firm (2 of 4)
72
72 Example Problem Solution Computer Software Firm (3 of 4)
73
73 Step 3: Compute the MAD Values Step 4: Compute the Cumulative Error. E(F t ) = 35.97 E(AF t ) = 30.60 Example Problem Solution Computer Software Firm (4 of 4)
74
74 Problem Statement: For the following data, Develop a linear regression model Determine the strength of the linear relationship using correlation. Determine a forecast for lumber given 10 building permits in the next quarter. Example Problem Solution Building Products Store (1 of 5)
75
75 Example Problem Solution Building Products Store (2 of 5)
76
76 Step 1: Compute the Components of the Linear Regression Equation. Example Problem Solution Building Products Store (3 of 5)
77
77 Step 2: Develop the Linear regression equation. y = a + bx, y = 1.36 + 1.25x Step 3: Compute the Correlation Coefficient. Example Problem Solution Building Products Store (4 of 5)
78
78 Example Problem Solution Building Products Store (5 of 5) Step 4: Calculate the forecast for x = 10 permits. Y = a + bx = 1.36 + 1.25(10) = 13.86 or 1,386 board ft
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.