Time Series Forecasting

Predicting future values from time-ordered data such as demand, occupancy, emissions, or sensor readings.

Could the forecast have been made on Friday?

A gallery predicts Saturday attendance before it closes on Friday. Last Saturday had 120 visitors. This Friday’s model forecasts 135 for tomorrow.

At forecast time

Last Saturday’s 120 is a simple weekly seasonal baseline. The model may use bookings already recorded, but Saturday’s walk-in count is still unknown.

After the doors close

The actual count is 130. The model’s absolute error is 5 and the baseline’s is 10 for this one Saturday.

How do you tell whether the improvement persists?

Repeat the exercise across many forecast dates, moving the cutoff forward each time. Compare like horizons and use only information that would have been available then. One winning Saturday is insufficient evidence of a better forecasting system.

What Strong Systems Need

Forecasts improve when models are evaluated honestly, retrained as conditions change, and paired with clear uncertainty estimates. In practice, teams often combine forecasting with anomaly detection and model evaluation so unusual events and degrading performance are caught early.

Follow the idea

Predictive analytics gives the broader framework for estimating future outcomes.

Structural Break · A structural break can make a once-reliable baseline less useful.

Related concepts (12)

Examples in the AI guides

More chapter examples (11)
Related Yenra articles (33)

Source · Hyndman and Athanasopoulos on time-series cross-validation

Return to Time Series Forecasting in the A–Z glossary