3-1Forecasting Weighted Moving Average Formula w t = weight given to time period “t” occurrence (weights must add to one) The formula for the moving average is:
3-2Forecasting Weighted Moving Average Problem (1) Data Weights: t-1.5 t-2.3 t-3.2 Question: Given the weekly demand and weights, what is the forecast for the 4 th period or Week 4?
3-3Forecasting Weighted Moving Average Problem (1) Solution F 4 = 0.5(720)+0.3(678)+0.2(650)=693.4
3-4Forecasting Weighted Moving Average Problem (2) Data Weights: t-10.7 t-20.2 t-30.1 Question: Given the weekly demand information and weights, what is the weighted moving average forecast of the 5 th period or week?
3-5Forecasting Weighted Moving Average Problem (2) Solution F 5 = (0.1)(755)+(0.2)(680)+(0.7)(655)= 672
3-6Forecasting Exponential Smoothing Model F t = F t-1 + (A t-1 - F t-1 )
3-7Forecasting Exponential Smoothing Problem (1) Data Question: Given the weekly demand data, what are the exponential smoothing forecasts for periods 2-10 using =0.10 and =0.60? Assume F 1 =D 1 Question: Given the weekly demand data, what are the exponential smoothing forecasts for periods 2-10 using =0.10 and =0.60? Assume F 1 =D 1
3-8Forecasting
3-9Forecasting Exponential Smoothing Problem (1) Plotting
3-10Forecasting Exponential Smoothing Problem (2) Data Question: What are the exponential smoothing forecasts for periods 2-5 using Alpha =0.5? Assume F 1 =D 1 Question: What are the exponential smoothing forecasts for periods 2-5 using Alpha =0.5? Assume F 1 =D 1
3-11Forecasting Exponential Smoothing Problem (2) Solution F 1 =820+(0.5)( )=820F 3 =820+(0.5)( )=797.75
3-12Forecasting Example 3 - Exponential Smoothing
3-13Forecasting Common Nonlinear Trends Parabolic Exponential Growth Figure 3.5
3-14Forecasting Common Nonlinear Trends Figure 3.5 Parabolic Trends Concaved Upwards and Concaved Downwards The left and right arms are widening as the value increases or the parabola is opening upwards. It represents the quadratic function
3-15Forecasting Linear Trend Equation F t = Forecast for period t t = Specified number of time periods a = Value of F t at t = 0 b = Slope of the line F t = a + bt t FtFt
3-16Forecasting Calculating a and b b = n(ty) - ty nt 2 - ( t) 2 a = y - bt n
3-17Forecasting Linear Trend Equation Example
3-18Forecasting Linear Trend Calculation y = t a= (15) 5 = b= 5 (2499)- 15(812) 5(55)- 225 = =
3-19Forecasting Associative Forecasting 1. Predictor variables - used to predict values of variable interest 2. Regression - technique for fitting a line to a set of points 3. Least squares line - minimizes sum of squared deviations around the line
3-20Forecasting Linear Model Seems Reasonable A straight line is fitted to a set of sample points. Computed relationship
3-21Forecasting Forecast Accuracy Error - difference between actual value and predicted value Mean Absolute Deviation (MAD) Average absolute error Mean Squared Error (MSE) Average of squared error Mean Absolute Percent Error (MAPE) Average absolute percent error
3-22Forecasting Simple Linear Regression Formulas for Calculating “a” and “b”
3-23Forecasting Simple Linear Regression Problem Data Question: Given the data below, what is the simple linear regression model that can be used to predict sales in future weeks?
3-24Forecasting Answer: First, using the linear regression formulas, we can compute “a” and “b” 24
3-25Forecasting Y t = x 180 Perio d Sales Forecast The resulting regression model is: 25