Forecast without seeing the future
How do smoothing and trend assumptions change a forecast?
Entering midway? Revisit Use a slope to improve a choice for the preceding worked example, or start here and use the explanation below.
Start with a concrete question
Original synthetic demand history begins 10,12,14,16. A held-out pair 18,20 is used only to evaluate the displayed predictions; it becomes exposed practice after inspection.
Try the initial inputs, then write a prediction before changing one setting. All calculations run locally on your CPU.
What do you expect?
Predict whether a longer average always improves a growing-series forecast.
Change one thing. Inspect what happens.
- Use the observed history to choose window and trend before reading errors.
- Compare a long and short average on this upward-trending sequence.
- Explain why repeatedly selecting the best settings on the visible pair is not independent evaluation.
Your settingsMechanism
Calculation belowEvidence
Compare outcomes
Compare the current results
Every bar starts at zero and uses the same numeric scale in this chart. The upper bound automatically adjusts to the largest current value (at least 1), so compare the numbers when changing inputs. Units and quantities come from each label; different kinds of quantity are not interchangeable. Displayed values are rounded to at most six significant digits.Follow the calculation
- Observed history only: [10, 12, 14, 16].
- Recent 2-period mean = (14 + 16)/2 = 15.
- Forecasts = mean + horizon × trend: 17, 19.
- Held-out authored outcomes [18,20]; absolute errors [1, 1].
Choose a forecast before revealing evaluation outcomes. Repeated tuning on this visible pair turns it into practice, not an untouched forecast test.
Captures keep your inputs, prediction and observation. Results are recalculated from those inputs. Resetting inputs keeps your captures and challenge history.
Explain the mechanism
Forecast without seeing the future
Original synthetic demand history begins 10,12,14,16. A held-out pair 18,20 is used only to evaluate the displayed predictions; it becomes exposed practice after inspection.
Predict before changing inputs
Predict whether a longer average always improves a growing-series forecast.
Understand the mechanism
A trailing average smooths variation but lags growth. With window 2 the mean of 14 and 16 is 15.
Adding assumed trend 2 per horizon predicts 17 and 19; errors against 18 and 20 are both 1. Mean absolute error is 1.
A backtest applies a forecasting rule to later observations that were not inputs to the forecast. Once used for tuning they are development evidence.
Calculate it yourself
Forecast at horizon h = mean of last k observed values + h × assumed trend; MAE = mean absolute forecast error.
Guided investigation
Use the observed history to choose window and trend before reading errors.
Compare a long and short average on this upward-trending sequence.
Explain why repeatedly selecting the best settings on the visible pair is not independent evaluation.
Assumptions and limitations
Six invented values and a visible evaluation pair cannot establish general forecasting reliability.
Seasonality, shocks and prediction intervals are omitted; future trend is assumed, not estimated.
Further investigations
High school: Forecast a fictional sequence and explain one assumption.
College: Implement rolling-origin evaluation with a naive last-value baseline.
Working professionals: Write a demand forecast report that separates tuning data and future monitoring.
Try a fresh case
Predictions are 8,12,16 and actuals are 10,11,19. What is mean absolute error?
This is a public practice check. Retries support learning; matching a number does not certify independent proficiency.
Take the investigation further
Choose any extension. These are project prompts for you to carry out; they are not automatically assessed.
School investigation
Forecast a fictional sequence and explain one assumption.
College investigation
Implement rolling-origin evaluation with a naive last-value baseline.
Workplace investigation
Write a demand forecast report that separates tuning data and future monitoring.
Keep the evidence, choose your next step
Completion records your own decision that you have worked through this investigation. Practice checks and independent project evidence are separate.