Presentation is loading. Please wait.

Presentation is loading. Please wait.

Assignment 2: Problem 1 Given the following data Forecast for Sep Using linear regression Using 5 period moving average Using exponential smoothing. Alpha.

Similar presentations


Presentation on theme: "Assignment 2: Problem 1 Given the following data Forecast for Sep Using linear regression Using 5 period moving average Using exponential smoothing. Alpha."— Presentation transcript:

1 Assignment 2: Problem 1 Given the following data Forecast for Sep Using linear regression Using 5 period moving average Using exponential smoothing. Alpha is.2 and forecast for march was 19 Using Naïve method Compute MAD for naïve method and exponential smoothing. Which one is preferred? NM or ES.

2 (a) Plot the Data

3 (b-2)Forecast for Sep Using 5 Period Moving Average F 8 =MA 7 = (A 7 +A 6 +A 5 +A 4 +A 3 )/5 = (20+22+18+20+15)/5 F 8 =MA 7 = 19

4 (b-2)Forecast Using 5 Period Moving Average for All Periods

5 (b-3)Forecast for Sep Using Exponential Smoothing α =.2 and F(Mar) = 19 March is period 2 F 3 = (1-α)F 2 + α A 2 F 3 = (.8)19+.2(18) F 3 = 18.8

6 (b-3)Forecast for Sep Using α =.2 and F(Mar) = 19 Using the same formula, we compute F 4, F 5, F 6, F 7, and finally F 8 which is the demand for Sep.

7 (b-4)Forecast for Sep Using Naïve Method F (t +1) =A t F 8 =A 7 F 8 = 20 Forecast for all periods using Naïve Method

8 (c) Which Technique ? When comparing several methods using MAD, we need to use the same time horizon for all methods. We need to have actual as well as forecasts for all methods for all periods of MAD computations Here we have Actual for periods 1 to 7; that is 7 periods. Regression can provide us with forecast for periods 1 to ∞ On the other hand, five period moving average can only provide us with forecast for periods 6 and 7; that is 2 periods Therefore, to compare all these methods, we can compute MAD only over 2 periods. But two period is not enough

9 (c) Naïve Method or Exponential Smoothing ? Naïve method forecasts for periods 2 to 7; That is 6 periods Exponential Smoothing for periods 2 to 7; That is 6 periods We can compare NM and ES over 6 periods. We may also ignore period 2 because in exponential smoothing forecast for period 2 is just the same as actual demand for period 1 and that is the same for naïve method. Here we compare NM and ES over a 5 period time horizon. From period 3 to period 7

10 (c) Naïve Method or Exponential Smoothing ?

11

12 (c) Which Technique ? Better However, we need to keep all methods, because we need more actual data. A MAD computed just 5 periods is not a reliable measure. It is better to have all methods for say 10-20 more periods, and then identify the best method

13 Regression

14 F (t+1) = F t +  ( A t -F t ) Assignment 2: Problem 2(a) Exponential smoothing is being used to forecast demand. The previous forecast of 66 turned out to be 5 units larger than actual demand. The next forecast is 65. Compute  ? 65 = 66 +  (-5) 5  = 1  = 0.2 66+565- 5

15 The 5-period moving average in month 6 was 150 units. Actual demand in month 7 is 180 units. What is 6 period moving average in month 7? Assignment 2: Problem 2(b) MA 5 6 = (A6+A5+A4+A3+A2)/5 MA 6 7 = (A7+A6+A5+A4+A3+A2)/6 MA 5 6 = (A6+A5+A4+A3+A2)/5 = 150 A6+A5+A4+A3+A2 = 750 A7 = 180 MA 6 7 = (A7+A6+A5+A4+A3+A2)/6 MA 6 8 = (180+750)/6 = 155

16 Tickets numbered from 100 to 200 have been sold. Using the random number rand() = 0.35 identify the winner. Assignment 2: Problem 2(c) If the random number is 0 it must become 100. The only way to transform 0 into a positive number is by addition. It is not possible by multiplication X = 100 +R But R is greater than or equal to 0 and less than or equal to 1. Therefore X here is between 100 1nd 101. That is not what we want X= 100+100R and round it.


Download ppt "Assignment 2: Problem 1 Given the following data Forecast for Sep Using linear regression Using 5 period moving average Using exponential smoothing. Alpha."

Similar presentations


Ads by Google