Question: For part b Write a function in python named forecastingES() that takes in a list containing the known demand data, the first forecasted value, and

For part b Write a function in python namedFor part b Write a function in python named

For part b Write a function in python named forecastingES() that takes in a list containing the known demand data, the first forecasted value, and a numeric value for alpha (these are the parameters for the function) Generate the ES forecast using the input demand data and alpha value. Round your values to 2 decimal places. 24. Observed weekly sales of ball peen hammers at the town hardware store over an eight-week period have been 14, 9, 30, 22, 34, 12, 19, 23. a. Suppose that three-week moving averages are used to forecast sales. Determine the one-step-ahead forecasts for weeks 4 through 8. b. Suppose that exponential smoothing is used with a smoothing constant of a = .15. Find the exponential smoothing forecasts for weeks 4 through 8. [To get the method started, use the same forecast for week 4 as you used in part (a).] c. Based on the MAD, which method did better? d. What is the exponential smoothing forecast made at the end of week 6 for the sales in week 12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!