Presentation is loading. Please wait.

Presentation is loading. Please wait.

MNG221 - Management Science Forecasting. Lecture Outline Forecasting basics Moving average Exponential smoothing Linear trend line Forecast accuracy.

Similar presentations


Presentation on theme: "MNG221 - Management Science Forecasting. Lecture Outline Forecasting basics Moving average Exponential smoothing Linear trend line Forecast accuracy."— Presentation transcript:

1 MNG221 - Management Science Forecasting

2 Lecture Outline Forecasting basics Moving average Exponential smoothing Linear trend line Forecast accuracy

3 Forecasting Basics Forecasting

4 Forecasting Basics A Forecast – is a prediction of something that is likely to occur in the future. A variety of forecasting methods exist, and their applicability is dependent on the: –time frame of the forecast (i.e., how far in the future we are forecasting),

5 Forecasting Basics A variety of forecasting methods exist, and their applicability is dependent on the: –the existence of patterns in the forecast (i.e., seasonal trends, peak periods), and –the number of variables to which the forecast is related.

6 Forecasting Components Forecasting

7 Forecasting Components Time Frames of Forecast: –Short Range - encompass the immediate future and are concerned with the daily operations rarely goes beyond a couple months into the future.

8 Forecasting Components Time Frames of Forecast: –Medium Range - encompasses anywhere from 1 or 2 months to 1 year. –More closely related to a yearly production plan and will reflect such items as peaks and valleys in demand

9 Forecasting Components Time Frames of Forecast: –Long Range - encompasses a period longer than 1 or 2 years. –It is Related to management's attempt to plan new products for changing markets, build new facilities, or secure long-term financing.

10 Forecasting Components Forecasts can exhibit patterns or trend: –A trend is a long-term movement of the item being forecasttrend –Random variations are movements that are not predictable and follow no pattern (and thus are virtually unpredictable).Random variations

11 Forecasting Components Forecasts can exhibit patterns or trend:  A cycle is an undulating movement in demand, up and down, that repeats itself over a lengthy time span (i.e., more than 1 year).cycle  A seasonal pattern is an oscillating movement in demand that occurs periodically (in the short run) and is repetitive.seasonal pattern  Seasonality is often weather related.

12 Forecasting Components: Forecast Patterns Forms of forecast movement: (a) trend, (b) cycle, (c) seasonal pattern, and (d) trend with seasonal pattern

13 Forecasting Methods Forecasting

14 Forecasting Methods The forecasting component determines to a certain extent the type of forecasting method that can or should be used. Time Series - is a category of statistical techniques that uses historical data to predict future behavior.

15 Forecasting Methods Regression (or causal) methods - attempt to develop a mathematical relationship (in the form of a regression model) between the item being forecast and factors that cause it to behave the way it does.

16 Forecasting Methods Qualitative methods - use management judgment, expertise, and opinion to make forecasts. Often called "the jury of executive opinion," They are the most common type of forecasting method for the long-term strategic planning process.

17 Time Series Analysis Forecasting Methods

18 Time Series Methods Time series methods tend to be most useful for short-range forecasting, (although they can be used for longer-range forecasting) and relate to only one factor time.

19 Time Series Methods Two types of time series methods: 1.The Moving Average a)Simple Moving Average b)Weighted Moving Average 2.Exponential Smoothing.

20 Time Series – Moving Average Moving Averages The moving average method uses several values during the recent past to develop a forecast.moving average The moving average method is good for stable demand with no pronounced behavioral patterns.

21 Time Series – Moving Average Moving Averages Moving averages are computed for specific periods, such as 3 months or 5 months, depending on how much the forecaster desires to smooth the data.

22 Time Series – Moving Average Simple Moving Averages Moving average forecast may be computed for specified time period as follows: where n = number of periods in the moving average D = data in period i

23 Time Series – Moving Average Simple Moving Averages - Delivery Orders for 10-month period MonthOrders Delivered per Month January120 February90 March100 April75 May110 June50 July75 August130 September110 October90

24 Time Series – Moving Average Simple Moving Averages Example The moving average from the demand for orders for the last 3 months in the sequence:

25 Time Series – Moving Average Simple Moving Averages Example The 5-month moving average is computed from the last 5 months of demand data, as follows:

26 Time Series – Moving Average Simple 3- and 5- month Moving Average

27 Longer-period moving averages react more slowly to recent demand changes than do shorter-period moving averages.

28 Time Series – Moving Average Weighted Moving Average The major disadvantage of the Simple Moving Average method is that it does not react well to variations that occur for a reason, such as trends and seasonal effects (although this method does reflect trends to a moderate extent).

29 Time Series – Moving Average Weighted Moving Average The Simple Moving Average method can be adjusted to reflect more closely more recent fluctuations in the data and seasonal effects. This adjusted method is referred to as a Weighted Moving Average method. Weighted Moving Average

30 Time Series – Moving Average Weighted Moving Average - is a time series forecasting method in which the most recent data are weighted. It may be computed for specified time period using the following:

31 Time Series – Moving Average Weighted Moving Average - Where: W i = the weight for period i, is between 0% and 100% ∑W i =1.00 D i = data in period i

32 Time Series – Moving Average Weighted Moving Average For example, if the Instant Paper Clip Supply Company wants to compute a 3-month weighted moving average with a weight of 50% for the October data, a weight of 33% for the September data, and a weight of 17% for August, it is computed as.

33 Time Series – Moving Average Weighted Moving Average - Table

34 Time Series – Exponential Smoothing The Exponential Smoothing forecast method is an averaging method that weights the most recent past data more strongly than more distant past data.Exponential Smoothing There are two forms of exponential smoothing: 1.Simple Exponential Smoothing 2.Adjusted Exponential Smoothing (adjusted for trends, seasonal patterns, etc.)

35 Time Series – Exponential Smoothing Simple Exponential Smoothing The simple exponential smoothing forecast is computed by using the formula:

36 Time Series – Exponential Smoothing Simple Exponential Smoothing where F t+1 = the forecast for the next period D t = the actual demand for the present period F t = the previously determined forecast for the present periods α = a weighting factor referred to as the smoothing constant

37 Time Series – Exponential Smoothing Simple Exponential Smoothing The smoothing constant, α, is betw. 0 & 1. It reflects the weight given to the most recent demand data. »For example, if α =.20, »F t+1 =.20D t +.80F t This means that our forecast for the next period is based on 20% of recent demand (D t ) and 80% of past demand.

38 Time Series – Exponential Smoothing Simple Exponential Smoothing The higher α is (the closer α is to one), the more sensitive the forecast will be to changes in recent demand. Alternatively, the closer α is to zero, the greater will be the dampening or smoothing effect.

39 Time Series – Exponential Smoothing Simple Exponential Smoothing The most commonly used values of α are in the range from.01 to.50. However, the determination of α is usually judgmental and subjective and will often be based on trial-and-error experimentation.

40 Time Series – Exponential Smoothing Simple Exponential Smoothing Example PeriodMonthDemand 1January37 2February40 3March41 4April37 5May45 6June50 7July43 8August47 9September56 10October52 11November55 12December54 A company - PM Computer Services has accumulated demand data in table for its computers for the past 12 months. It wants to compute exponential smoothing forecasts, using smoothing constants (α) equal to 0.30 and 0.50.

41 Time Series – Exponential Smoothing Simple Exponential Smoothing Example To develop the series of forecasts for the data i, start with period 1 (January) and compute the forecast for period 2 (February) by using α = 0.30. The formula for exponential smoothing also requires a forecast for period 1, which we do not have, so we will use the demand for period 1 as both demand and the forecast for period 1.

42 Time Series – Exponential Smoothing Simple Exponential Smoothing Example Thus the forecast for February is: –F 2 = αD 1 + (1 - α)F 1 –= (.30)(37) + (.70)(37) = 37 units

43 Time Series – Exponential Smoothing Simple Exponential Smoothing Example The forecast for period 3 is computed similarly:F 3 = α D 2 + (1 - α)F 2 = (.30)(40) + (.70)(37) = 37.9 units The final forecast is for period 13, January, and is the forecast of interest to PM Computer Services: F 13 = α D 12 + (1 - α)F 12 = (.30)(54) + (.70)(50.84) = 51.79 units

44 Time Series – Exponential Smoothing Simple Exponential Smoothing Example Period Month Demand Forecast, F t + 1 a = 0.30a = 0.50 1January37 2February4037.00 3March4137.9038.50 4April3738.8339.75 5May4538.2838.37 6June5040.2941.68 7July4343.2045.84 8August4743.1444.42 9September5644.3045.71 10October5247.8150.85 11November5549.0651.42 12December5450.8453.21 13January51.7953.61

45 Time Series – Exponential Smoothing Simple Exponential Smoothing Example In general, when demand is relatively stable, without any trend, using a small value for α is more appropriate to simply smooth out the forecast. Alternatively, when actual demand displays an increasing (or decreasing) trend, as is the case, a larger value of α is generally better.

46 Time Series – Exponential Smoothing Adjusted Exponential Smoothing The adjusted exponential smoothing forecast consists of the exponential smoothing forecast with a trend adjustment factor added to it.adjusted exponential smoothing The formula for the adjusted forecast is: AF t+1 = F t+1 + T t+1 where T = an exponentially smoothed trend factor

47 Time Series – Exponential Smoothing Adjusted Exponential Smoothing The trend factor is computed much the same as the exponentially smoothed forecast. It is, in effect, a forecast model for trend: T t+1 = β(F t+1 - F t ) + (1 - β)T t where T t = the last period trend factor β = a smoothing constant for trend

48 Time Series – Exponential Smoothing Adjusted Exponential Smoothing Like α, β is a value between 0 and 1. It reflects the weight given to the most recent trend data. Also like α, β is often determined subjectively, based on the judgment of the forecaster.

49 Time Series – Exponential Smoothing Adjusted Exponential Smoothing A high β reflects trend changes more than a low β. It is not uncommon for β to equal α in this method. The closer β is to one, the stronger a trend is reflected.

50 Time Series – Exponential Smoothing Adjusted Exponential Smoothing Example PM Computer Services now wants to develop an adjusted exponentially smoothed forecast, using the same 12 months of demand. The adjusted forecast for February, AF 2, is the same as the exponentially smoothed forecast because the trend computing factor will be zero (i.e., F 1 and F 2 are the same and T 2 = 0).

51 Time Series – Exponential Smoothing Adjusted Exponential Smoothing Example Thus, we will compute the adjusted forecast for March, AF 3, as follows, starting with the determination of the trend factor, T 3 : –T 3 = β (F 3 - F 2 ) + (1 β )T 2 = (.30)(38.5 - 37.0) + (.70)(0) = 0.45, and –AF 3 = F 3 + T 3 = 38.5 + 0.45 = 38.95

52 Time Series – Exponential Smoothing Adjusted Exponential Smoothing Period 13 is computed as follows: –T 13 = β (F 13 - F 12 ) + (1 β )T 12 –= (.30)(53.61 - 53.21) + (.70)(1.77) = 1.36 and AF 13 = F 13 + T 13 = 53.61 + 1.36 = 54.96 units

53 Time Series – Exponential Smoothing PeriodMonthDemand Forecast (F t +1 ) Trend (T t +1 ) Adjusted Forecast (AF t +1 ) 1January3737.00 2February4037.000.0037.00 3March4138.500.4538.95 4April3739.750.6940.44 5May4538.370.0738.44 6June5041.681.0442.73 7July4345.841.9747.82 8August4744.420.9545.37 9September5645.711.0546.76 10October5250.852.2853.13 11November5551.421.7653.19 12December5453.211.7754.98 13January53.611.3654.96

54 Time Series – Exponential Smoothing Simple Exponential Smoothing Example

55 Time Series – Linear Trend Line Linear Trend Line Linear regression is most often thought of as a causal method of forecasting in which a mathematical relationship is developed between demand and some other factor that causes demand behavior.

56 Time Series – Linear Trend Line Linear Trend Line However, when demand displays an obvious trend over time, a least squares regression line, or linear trend line, can be used to forecast demand.linear trend line A linear trend line is a linear regression model that relates demand to time.

57 Time Series – Linear Trend Line Linear Trend Line The linear regression takes form of a linear equation as follows: where a = intercept b = slope of the line x = the time period y = forecast for demand for period x

58 Time Series – Linear Trend Line Linear Trend Line The parameters of the trend line may be calculated as follows: and where and

59 Time Series – Linear Trend Line Linear Trend Line Example x (period)y (demand)xyx2x2 137 1 240804 3411239 43714816 54522525 65030036 74330149 84737664 95650481 1052520100 1155605121 1254648144 785573,867650

60 Time Series – Linear Trend Line Linear Trend Line Example Using these values for ẋ and ӯ the values, the parameters for the linear trend line are computed as follows:

61 Time Series – Linear Trend Line Linear Trend Line Example Therefore, the linear trend line is y = 35.2 + 1.72 x To calculate a forecast for period 13, x = 13 would be substituted in the linear trend line: y = 35.2 + 1.72(13) = 57.56 A linear trend line will not adjust to a change in trend as will exponential smoothing.

62 Time Series – Linear Trend Line Linear Trend Line Example

63 Time Series – Seasonal Adjustments Seasonal Adjustments Many demand items exhibit seasonal behavior or pattern, that is, a repetitive up-and-down movement in demand. It is possible to adjust the seasonality of a normal forecast by multiplying it by a seasonal factor.

64 Time Series – Seasonal Adjustments Seasonal Adjustments A seasonal factor, which is a numerical value is multiplied by the normal forecast to get a seasonally adjusted forecast.seasonal factor

65 Time Series – Seasonal Adjustments Seasonal Adjustments One method for developing a demand for seasonal factors is dividing the actual demand for each seasonal period by the total annual demand, according to the following formula:

66 Time Series – Seasonal Adjustments Seasonal Adjustments The resulting seasonal factors are between 0 and 1. These seasonal factors are thus multiplied by the annual forecasted demand to yield seasonally adjusted forecasts for each period.

67 Time Series – Seasonal Adjustments Seasonal Adjustments Example Demand (1,000s) YearQUARTER 1QUARTER 2QUARTER 3QUARTER 4TOTAL 200312.68.66.317.545.0 200414.110.37.518.250.1 200515.310.68.119.653.6 Total42.029.521.955.3148.7 Next, multiply the forecasted demand for the next year, 2006, by each of the seasonal factors to get the forecasted demand for each quarter.

68 Time Series – Seasonal Adjustments Seasonal Adjustments Example Demand (1,000s) YearQUARTER 1QUARTER 2QUARTER 3QUARTER 4TOTAL 200312.68.66.317.545.0 200414.110.37.518.250.1 200515.310.68.119.653.6 Total42.029.521.955.3148.7 However, to accomplish this, we need a demand forecast for 2006. In this case, because the demand data in the table seem to exhibit a generally increasing trend, we compute a linear trend line for the 3 years of data in the table to use as a rough forecast estimate: y = 40.97 + 4.30x = 40.97 + 4.30(4) = 58.17 or 58,170 turkeys.

69 Time Series – Seasonal Adjustments Seasonal Adjustments Example Demand (1,000s) YearQUARTER 1QUARTER 2QUARTER 3QUARTER 4TOTAL 200312.68.66.317.545.0 200414.110.37.518.250.1 200515.310.68.119.653.6 Total42.029.521.955.3148.7 Using this annual forecast of demand, the seasonally adjusted forecasts, SF i, for 2006 are as follows:

70 Forecast Accuracy Forecasting

71 Forecast Accuracy It is not probable that a forecast will be completely accurate. Forecasts will always deviate from the actual demand resulting in a Forecast error A Forecast Error is the difference between the forecast and actual demand.

72 Forecast Accuracy There are different measures of forecast error: –Mean Absolute Deviation (MAD), –Mean Absolute Percent Deviation (MAPD), –Cumulative Error (E), –Average Error or Bias ( Ē ), –Mean Squared Error (MSE).

73 Forecast Accuracy Mean Absolute Deviation (MAD) is the average, absolute difference between the forecast and the demand and is computed by the following formula:

74 Forecast Accuracy Mean Absolute Percent Deviation (MAPD) – is a absolute error as a percentage of demand.

75 Forecast Accuracy Cumulative error – sum of the forecast error. Average error – is the per-period average of cumulative error.

76 Forecast Accuracy Mean Squared Error (MSE) Each individual error value is squared, and then these values are summed and averaged. As with other measures of forecast accuracy, the smaller the MSE, the better

77 Forecast accuracy – Worked Example

78 Regression Methods Forecasting

79 Regression Methods In contrast to times series techniques, regression is a forecasting technique that measures the relationship of one variable to one or more other variables. The simplest form of regression is linear regression.

80 Regression Methods Simple Linear Regression relates one dependent variable to one independent variable in the form of a linear equation:

81 Regression Methods Simple Linear Regression To develop the linear equation, the slope, b, and the intercept, a, must first be computed by using the following least squares formulas:

82 Regression Methods Simple Linear Regression Where

83 Regression Methods Simple Linear Regression x (wins)y (attendance, 1,000s) xyx2x2 436.3145.216 640.1240.636 641.2247.236 853.0424.064 644.0264.036 745.6319.249 539.0195.025 747.5332.549 346.72,167.7311

84 Regression Methods Simple Linear Regression

85 Regression Methods Simple Linear Regression Substituting these values for a and b into the linear equation line, we have y = 18.46 + 4.06 x Thus, for x = 7 (wins), the forecast for attendance is y = 18.46 + 4.06(7) = 46.88 or 46,880

86 Regression Methods Correlation Correlation in a linear regression equation is a measure of the strength of the relationship between the independent and dependent variables. The formula for the correlation coefficient is:

87 Regression Methods Correlation The value of r varies between -1.00 and +1.00, with a value of ±1.00 indicating a strong linear relationship between the variables.

88 Regression Methods Correlation Example We can determine the correlation coefficient for the linear regression equation determined in our State University example by substituting most of the terms calculated for the least squares formula (except for Sy 2 ) into the formula for r:

89 Regression Methods Coefficient of Determination Another measure of the strength of the relationship between the variables in a linear regression equation is the coefficient of determination. coefficient of determination The coefficient of determination is the percentage of the variation in the dependent variable that results from the independent variable.

90 Regression Methods Coefficient of Determination It is computed by simply squaring the value of r. For our example, r =.948; thus, the coefficient of determination is:


Download ppt "MNG221 - Management Science Forecasting. Lecture Outline Forecasting basics Moving average Exponential smoothing Linear trend line Forecast accuracy."

Similar presentations


Ads by Google