AI GLOSSARY · AI CONCEPTS
Time series forecasting
Definition
Time series forecasting is the use of a model fitted to values recorded over time, such as daily sales, to estimate future values. The model looks for patterns in the history, such as trend and seasonality, and projects them forward.
Also called: forecasting model, time series model, time series forecasting machine learning, time series prediction, demand forecasting model.
In plain language
Time series forecasting means using a record of numbers taken at regular times, such as daily sales or monthly rainfall, to estimate what comes next. A shop owner who looks at the last two Decembers to plan this December's stock is doing it by hand; a forecasting model does the same with more data and more care. The limit is that a forecast assumes the future resembles the past. A forecast can be wrong when something new happens, such as a price change or a new competitor. A wrong forecast has a cost: too much stock tied up, or too little to sell.
Technical definition
A time series model is fitted to ordered observations and used to extend them forward. Classical families include ARIMA (autoregressive integrated moving average) and exponential smoothing, both available in the statsmodels library, which also provides prediction intervals for many of its forecasting methods. The textbook Forecasting: Principles and Practice lists what predictability depends on, including how much data is available, how similar the future is to the past, and whether the forecasts can affect the thing being forecast.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
reorder-point-calculator 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Reorder points, quantities and stockout flags as strict JSON, computed from a sales CSV, lead times and stock levels you supply.
- Why it exercises the concept
- It turns a sales CSV, lead times and stock levels into reorder points; the catalogue has no forecasting skill.
Skill by Skill Almanac · Illustrative, not executed
data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.
- Why it exercises the concept
- Looking at a series before fitting any model is a normal first step. This skill is a general profiler, not a forecaster, and the catalogue has no skill that trains a forecasting model.
Skill by Skill Almanac · Illustrative, not executed
sample-size-calculator 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The minimum number of subjects per group for a planned comparison of two proportions, two means, or one mean, using the normal approximation.
- Why it exercises the concept
- It is a contrast case: it plans a comparison before data exists, while forecasting extends data that already exists. It shows how a planning question differs from a prediction question.
How it shows up when you use agents
A coding agent asked to forecast usually writes a short script: it loads a CSV, fits a model from a library such as statsmodels and plots the result. Nothing about this is special to AI models or language models. Time series forecasting is a branch of machine learning and statistics, and the agent is only writing the code for you.
What breaks when it is misunderstood: people accept the first number the script prints. The textbook cited below says predictability depends on how well the factors are understood, how much data there is, how similar the future is to the past, and whether forecasts can affect the thing forecast. If your series is short or the business has changed, a polished chart can mislead. Ask the agent to show the history it used, to give a range and not a single number, and to hold out the most recent period to see how far off the model would have been.
A next action: run the data analysis EDA skill on your CSV first, then ask the agent for a forecast with a prediction interval. Compare it with the plain approach of repeating last year's values. See also predictive analytics for the wider topic.
Common confusions
- Forecasting versus predictive analytics. Predictive analytics is the wider field of predicting outcomes from data. Forecasting is the part where the data is ordered in time and the aim is future values.
- Forecasting versus a language model's answer. A large language model can describe a trend in words. A fitted forecasting model produces numbers from the data, and the two should not be mistaken for each other.
- A forecast versus a certainty. A forecast is an estimate. Prediction intervals, where a method provides them, show a range of plausible values.
- Myth. More history improves a forecast. If the past no longer resembles the present, more of it can mislead.
Related terms
Terms that mention Time series forecasting
2 terms mention this one
More in AI concepts
Sources
- Forecasting: Principles and Practice: What can be forecast?, OTexts (accessed 2026-11-24)
- Time Series analysis (tsa), statsmodels documentation, statsmodels (accessed 2026-11-24)
- What is predictive analytics?, IBM (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (4)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : Verifier pass: applied verifier corrections to claims and sources.
- : First version.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.