SESSION 6 · SPREADSHEET LAB Forecasting I Patterns in demand · naive, moving average, weighted moving average, exponential smoothing Laptop required — open the LMS data set now 221-332 Operations Management and Innovation Core reading: Heizer, Render & Munson, 12th ed., Ch. 4 (pp. 105–130). Additional sources on slide 17. Where we are Session 6 of 15 — the course turns quantitative Sessions 1–5 asked Today • What is the operation for? 00:00 Why forecasts matter — and why they are always wrong • What must it be good at? 00:25 Seven steps, three horizons, two approaches • How is it structured? • What is it making? 00:50 Decomposing a time series: trend, season, cycle, noise Sessions 6–8 ask 01:15 LAB: naive, moving average, weighted moving average How much, and when? 01:55 LAB: exponential smoothing and choosing alpha Everything from here rests on a number somebody had to predict. 02:35 Assignment 2 released Two numbers on the CEO's desk Chapter 4 opens at Walt Disney Parks & Resorts. The daily report to the CEO contains the forecast of yesterday's attendance and the actual attendance. An error close to zero is expected. 1m 3,000 0–3% 15 min people surveyed each year by 35 analysts and 70 field staff school districts monitored for holiday and vacation schedules error on Disney's annual attendance forecasts the interval in which staff are scheduled, driven by the forecast The forecast is not an academic exercise. It sets opening hours, how many rides run, how many food carts are wheeled out, and how many people are rostered. Source: Heizer, Render & Munson (2017), Ch. 4 Global Company Profile: Walt Disney Parks & Resorts, pp. 105–107. Three horizons, three types Ch. 4, pp. 108–109 Time horizon Short range Medium range Long range Up to one year, usually under three months Three months to three years Three years and beyond Purchasing, job scheduling, workforce levels, production levels Sales and production planning, budgeting, cash planning New products, facility location, capital expenditure, R&D Three things separate the short from the long • Long-range forecasts support broader decisions about products, plants and processes • Short-range work uses different methods — moving averages, smoothing, trend extrapolation • Short-range forecasts are simply more accurate; as the horizon lengthens, accuracy falls Three types of forecast Economic — inflation, money supply, housing starts Technological — rates of technical progress, and the new plant they demand Demand — projections for the firm's own products. This is ours. Seven steps in a forecasting system Ch. 4, pp. 110–111 1 Determine the use What decision will this forecast drive? That fixes everything else. 2 Select the items Which products, or which family of products? 3 Determine the horizon Short, medium or long — and therefore which methods are eligible 4 Select the model Naive, moving average, smoothing, trend, regression 5 Gather the data Routinely, and on a consistent basis, or the model is worthless 6 Make the forecast The easy part, and the only part software does for you 7 Validate and implement Apply error measures. At Disney this happens daily, at the highest level. Step 1 is the one students skip. A forecast built without knowing what decision it serves will be the wrong horizon, the wrong granularity, or both. Three things every forecaster lives with Ch. 4, p. 111 1 2 3 Outside factors intrude Models assume stability Aggregate beats individual Events you cannot predict or control will hit the forecast. A weather system, a competitor's launch, a policy change. Every technique here assumes some underlying stability in the system. When that breaks, the model breaks silently. Family and aggregated forecasts are more accurate than individual product forecasts. Disney aggregates by park so over- and underpredictions offset. So build the review cycle in So monitor the erratic items closely So forecast at the level you can defend Every forecast is wrong. The question is never 'is it right?' — it is 'how wrong, in which direction, and can we live with that?' When there is no data: qualitative methods Ch. 4, pp. 111–112 Jury of executive opinion Delphi method Opinions of a group of senior experts or managers pooled into a group estimate, often alongside statistical models. Experts respond in iterative anonymous rounds, seeing the group's previous answers each time, until responses converge. Fast; risks the loudest voice winning Reduces dominance; slow Sales force composite Consumer market survey Each salesperson estimates their territory; estimates are aggregated and reviewed. Asking customers directly about future purchase plans. Close to the customer; often over-optimistic Useful for new products; people misreport intent Heizer notes that the sales force composite and consumer survey methods both suffer from over-optimism arising from customer input. Delphi method originally: Dalkey, N. & Helmer, O. (1963) 'An experimental application of the Delphi method', Management Science, 9(3), pp. 458–467. Four things hiding in a demand series Decomposition — Ch. 4, pp. 112–113 Trend Seasonality Cycles Random variation Gradual upward or downward movement over time. Driven by income, population, age distribution, cultural shifts. Predictable A pattern that repeats after a fixed period — days, weeks, months or quarters. Predictable Patterns occurring over several years, usually tied to the business cycle. Hard — political and international events Blips caused by chance and unusual situations. No discernible pattern. Not predictable, by definition Your job is to model the first three and stop trying to model the fourth. Chasing random variation is the most common forecasting error there is. Three ways to smooth a series Ch. 4, pp. 113–117 Naive Moving average Exponential smoothing Next period equals this period. Average of the n most recent periods. Old forecast, nudged by its own error. F(t+1) = A(t) Σ demand in prev. n ÷ n Fₜ = Fₜ₋₁ + α(Aₜ₋₁ − Fₜ₋₁) For some product lines this is the most costeffective model there is. Always use it as your benchmark. Useful when demand is fairly steady. Smooths short-term irregularities — and lags any real trend. Needs only two numbers plus α. Weights decline exponentially into the past. Weighted moving average — when recent periods should count for more Assign weights to each of the n periods and divide by the sum of the weights. A 3-month weighted average with weights 3, 2, 1 puts half the weight on last month. Choosing the weights is judgement — and that judgement is exactly what you must defend. All three have the same weakness: they follow the data. None of them will ever call a turning point before it happens. What alpha actually does Ch. 4, pp. 116–117 Same data, two smoothing constants Reading the lines 180 160 140 120 • Low α weights past data heavily — about 19 periods of history influence the forecast at α = 0.1 • High α weights recent data — at α = 0.5 the forecast rests almost entirely on the last three or four periods • Low α is stable but slow to catch a real change • High α reacts fast but chases random noise 100 80 60 40 20 0 1 2 3 4 5 6 7 8 9 10 11 12 Period Actual demand α = 0.1 (sluggish) α = 0.5 (responsive) There is no correct α. There is only the α that minimises error on data you held back — which is the next slide, and the whole of Assignment 2. Three ways to measure how wrong you are Ch. 4, pp. 117–120 Forecast error = actual demand − forecast value MAD MSE MAPE Mean absolute deviation Mean squared error Mean absolute percent error Σ |actual − forecast| ÷ n Σ (error)² ÷ n Σ 100|error| ÷ actual, ÷ n Same units as the data. Easy to explain to a manager. Treats a big miss and several small ones alike. Squaring punishes large deviations. Prefers several small errors to one big one. Units are squared, so it means little on its own. A percentage, so it is comparable across products of different sizes. Breaks down when actual demand is near zero. Report all three. They can disagree, and when they do, the disagreement tells you something about the shape of your errors. LAB · PART 1 · 40 MINUTES Build the three simple models Open OM_DemandData_2026.xlsx from the LMS. Column A is the month, column B is demand. Work individually — this becomes your Assignment 2 workbook. 1 Set up 2 Naive 3 Moving average 4 Weighted Create a tab called Forecasting. Copy the data. Add columns for each model and for error. Freeze the header row. One formula: =B2. Drag it down. This is your benchmark — every later model must beat it. Build 3-month and 5-month versions. Use =AVERAGE(B2:B4). Note where the first valid forecast can begin. Weights 3, 2, 1 on the last three months, divided by 6. Then change the weights and watch the line move. 8 min 5 min 12 min 15 min Rule for the whole lab: no typed numbers where a formula belongs. If I change one demand cell, everything downstream must update. Then chart all four series against actual demand on one graph. Which lags most? LAB · PART 2 · 40 MINUTES Exponential smoothing, and finding alpha 5 Smooth it 6 Measure it 7 Hold back 8 Optimise actual. Then Fₜ = Fₜ₋₁ + α(Aₜ₋₁ − Fₜ₋₁). Add MAD, MSE and MAPE columns for every model. Compute each at the bottom. Reserve the final six periods as a test set. Compute error on those only. Fit error and test error are different numbers. Use Solver, or a data table across α from 0.05 to 0.50, to find the α with lowest test MAD. 10 min 10 min 8 min 12 min Put α in its own cell and reference it absolutely. First forecast = first Why hold back data: an α tuned on every period will always look excellent on those same periods. That is fitting, not forecasting. Save the workbook before you leave. Assignment 2 builds directly on it, and rebuilding it from scratch will cost you an evening. Assignment 2 is now open Operations Analytics Workbook · 15% · individual · due Session 11 Part 1 Part 2 Part 3 Part 4 Forecasting Three models, error metrics, hold-out test, and a justified model choice Inventory EOQ, reorder point, safety stock at two service levels, sensitivity analysis Quality Decision memo Control chart built from the data, out-of-control signals, Cp and Cpk Two pages to the Operations Director. Decisions, not methods. Using your own data set instead? Approval needed by Session 9. 35 pts Two rules • Formulas must be live and visible — hardcoded values lose the marks for that section • One tab per part, plus a README tab listing every assumption and data source 30 pts 25 pts Only Part 1 is teachable today. Parts 2 and 3 come in Sessions 10 and 12 — but start Part 1 now while the lab is fresh. 10 pts Key terms from Session 6 These recur in the midterm Forecasting Economic forecast The art and science of predicting future events Addresses the business cycle — inflation, money supply, housing starts Technological forecast Demand forecast Concerned with rates of technological progress Projection of demand for a company's own products or services Quantitative forecast Qualitative forecast Uses mathematical models on historical or associative data Incorporates intuition, experience and value systems Jury of executive opinion Delphi method Pooled estimate from a group of senior managers or experts Iterative anonymous expert rounds converging on a group estimate Sales force composite Time series Territory estimates from salespeople, aggregated and reviewed Evenly spaced data points; the future modelled as a function of the past Naive approach Moving average Assumes demand next period equals demand in the most recent period Average of the n most recent periods, used to forecast the next Exponential smoothing Smoothing constant (α) Weighted moving average where weights decline exponentially The weight on the most recent observation; typically 0.05 to 0.50 MAD MSE Mean absolute deviation — average absolute forecast error Mean squared error — average of squared forecast errors Definitions after Heizer, Render & Munson (2017), Ch. 4 Key Terms, p. 143. MAPE is also examinable — see p. 120. Before you leave Two deadlines and one reading Tonight For Session 7 • Assignment 1 due at 23:59 — PDF, on the LMS, named correctly • • Save your forecasting workbook somewhere you will find it again Read Ch. 4, pp. 120–138 — trend projection, seasonality and regression • Bring the same laptop and the same workbook Late penalty is 10% of the earned mark per day • We continue in the same file, so do not start a new one • Practice set posted on the LMS: three short problems, not graded, but we will go through them • If something has gone badly wrong, tell me before the deadline, not after. Sources used in this session Cite the original, not these slides CORE TEXT Heizer, J., Render, B. & Munson, C. (2017) Operations Management: Sustainability and Supply Chain Management. 12th ed. Harlow: Pearson. Chapter 4, pp. 105–130. Specific examples, figures and equations cited on the slide where they appear. ADDITIONAL SOURCES — not in the core text Slide 7 — Delphi method Dalkey, N. & Helmer, O. (1963) 'An experimental application of the Delphi method to the use of experts', Management Science, 9(3), pp. 458–467. Slide 13 — hold-out testing Hyndman, R.J. & Athanasopoulos, G. (2021) Forecasting: Principles and Practice. 3rd ed. Melbourne: OTexts. Freely available at otexts.com/fpp3. Slide 11 — limits of MAPE Hyndman, R.J. & Koehler, A.B. (2006) 'Another look at measures of forecast accuracy', International Journal of Forecasting, 22(4), pp. 679–688. Hyndman & Athanasopoulos is free online and is the best next step if you want to go further than this course goes. Referencing style here is APA 7th. Session 6 in one line Every forecast is wrong; the useful question is how wrong, measured on data the model has never seen. Next session — Forecasting II: trend, seasonality and regression 221-332 Operations Management and Innovation · Session 6 of 15
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )