Time Series: Definition and Use in Retail Pricing
On this page
Are your sales records ready to be used to generate a forecast?
Let's plan an exchangeDiscover our sales forecasting softwareA time series (or chronological series) is a sequence of dated values measured at regular intervals: a product’s daily sales, its weekly price, or its inventory each morning. In pricing, it serves as the raw data for all sales forecasts and price elasticity calculations.
The Essentials
- A time series is a dated, regular record of data—such as sales, prices, or inventory levels for a product over time.
- It consists of four components: trend, seasonality, events, and noise.
- Gross sales figures alone do not measure demand: stockouts and promotions must be accounted for before any calculations are made.
In 6 Questions
A sequence of values, each with a date and recorded at regular intervals.
Pricing managers, forecasters, data scientists, category managers.
Before making any forecasts or calculating elasticity.
In the cash register, inventory, and pricing data.
Distinguish between what is repetitive and what is random.
By aligning sales, pricing, promotions, and inventory on the same schedule.
What does a time series consist of?
A sales curve reflects a combination of factors. Identifying these factors is the first step in any analysis.
| Component | What it describes | Example in retail |
|---|---|---|
| Trend | The underlying trend over several months | A category that has been declining season after season |
| Seasonality | Which amounts to a fixed date | The Saturday rush, the start of the school year, the end-of-year holidays |
| Events | Something that is dated but irregular | A sale, a holiday, a heat wave |
| Noise | The element of chance, without explanation | Three sales on one Tuesday, seven on the following Tuesday |
A good model estimates the first three components and accepts that it cannot explain the fourth.
Trying to replicate the noise leads to a model that clings to the past and gets the future wrong.
Why Time Series Data Matters in Pricing
A price is set by anticipating the market's reaction. This reaction can only be gauged over time.
Price elasticity is measured by cross-referencing two data series: actual prices and quantities sold. If either series is incomplete or incorrectly dated, the resulting coefficient is meaningless.
The same logic applies to sales forecasting: it extends a trend by taking into account the factors that have influenced it in the past.
It also serves as the foundation for predictive pricing, which simulates expected sales at various price points before a decision is made.
The Pitfalls of a Retail Sales Series
A sales report records what was sold, not what customers wanted to buy. The discrepancy between the two skews the calculations.
- Stockouts: Zero sales do not mean zero demand. Without the corresponding stock data, the model estimates demand to be too low.
- Unmarked promotions: A spike in sales that isn't labeled as a "promotion" is mistaken for a sustained increase in demand.
- Changes in the product line—such as opening a new store, changing a product code, or altering packaging—disrupt the continuity of the series.
- The timing is off: for the day, the small item numbers show only zeros; for the month, the short-term promotions disappear.
Our article on the sales history required for a reliable forecast details these checks.
The specific case of stockouts is discussed in the section on the relationship between stockouts and poor forecasting.
From Traditional Methods to Machine Learning
There are two families of methods for analyzing time series. They do not address the same question.
Traditional statistical methods, such as exponential smoothing or ARIMA, extend the time series based solely on its past data. They provide a useful point of comparison— product by product.
Machine learning incorporates external information into the data set: prices, promotions, schedules, and weather. It also learns about multiple products at once.
It is this ability to incorporate exogenous events that makes it possible to simulate the effect of a price that has never been charged before.
Our belief: Before changing models, you need to look at the data series. Most of the forecasting errors we encounter stem from poorly qualified historical data, not from the algorithm. This is the starting point for our AI-powered sales forecasting.
Information added to the series—such as price, promotions, or the schedule—is called explanatory variables. A product with no historical data is considered a cold start.
See also in the glossary:lagged variables · unconstrained demand · global model
Frequently Asked Questions
Short answers to the most frequently asked questions about time series.
What is a time series?
A time series is a sequence of values measured at regular intervals and arranged in chronological order. A product’s daily sales, its weekly price, or its inventory each morning are all time series. The order of the values is just as important as the values themselves: it is what allows us to identify trends, seasonality, or the impact of an event. In retail, this data serves as the foundation for all sales forecasts and price elasticity calculations.
What is the difference between a time series and a chronological series?
None: Both terms refer to the same thing. “Série chronologique” is the traditional term used by French-speaking statisticians, while “série temporelle” is the direct translation of the English term “time series,” which has become common with the rise of data science. The term “sales history” is also used in business teams to refer to a specific time series: the series of quantities sold. In a set of specifications, it’s better to specify the metric (sales, price, inventory) and the time interval (day, week) rather than debate the terminology.
What are the components of a time series?
Traditionally, there are four distinct components. The trend describes the underlying direction—whether upward or downward. Seasonality encompasses variations that recur at fixed intervals: weekly, monthly, or yearly. Calendar effects and events include holidays, sales, or weather-related occurrences. Noise is what remains—the random component that no model can explain. Forecasting involves estimating the first three components without mistaking noise for a signal.
How far back do sales data need to go to forecast sales?
It generally takes at least two years for a model to distinguish between annual seasonality and a one-off event: a single Christmas isn’t enough to determine what patterns recur. Three years provide a more reliable basis when a fiscal year has been disrupted. For a new product, historical data is by definition lacking; in such cases, we rely on comparable products from the same category. Depth alone isn’t enough—quality matters just as much. Two years of sales data with identified promotions and stockouts are better than five years of raw figures.
Should we analyze sales on a daily or weekly basis?
It depends on the decision to be made and the volume sold. A week is often sufficient to determine a shelf price: it smooths out daily fluctuations and reduces the number of zeros. Daily data is useful for fresh products, short-term promotions, and calendar effects. For slow-moving items, breaking down data to the daily level mainly produces zeros and provides little useful information. A rule of thumb: choose the broadest time interval that remains compatible with the decision.
How should stockouts be handled in a series of sales?
First, you have to identify them, because a day with zero sales doesn’t tell you whether no one wanted the product or whether it was out of stock. Cross-referencing with the inventory data allows us to identify days when the product was out of stock. These days are then flagged in the model or excluded from the calculation, so that the model does not learn a demand level lower than the actual one. Without this adjustment, the forecast underestimates sales, orders decline, and stockouts recur.
Is a series of sales sufficient to calculate price elasticity?
No. Price elasticity measures how sales respond to a change in price: this requires at least two time-series data sets—one for sales and one for actual prices charged. The price must also have changed frequently enough for the effect to be measurable. Promotions, stockouts, and competitors’ prices must be known; otherwise, their effects are mistakenly attributed to the price. This is why the quality of the historical data determines the reliability of an elasticity estimate.
Key Takeaways
- A time series is a dated historical record—such as sales, prices, or inventory—collected at regular intervals.
- In pricing, elasticity and forecasting are derived from the intersection of price and sales time series.
- Discontinuations, promotions, and changes in scope must be identified before any calculations are made.
Do you want to make your historical data more reliable before forecasting your sales?
Booper analyzes your sales, pricing, and inventory data before feeding it into its forecasting models.
Let's talk about your sales data →Discover our sales forecasting softwareThese articles can interest you
How much historical data is needed for forecasting? It depends on the category, but reliability matters more than depth: historical data in which breaks, promotions, and price changes are dated is better than a long, unprocessed data set.
Two factors are often overlooked: the history of prices paid—without which elasticity cannot be measured—and the years of inflation, as reflected in volume figures. The adjustment begins with the items that account for the bulk of sales.
AI-based sales forecasting estimates demand for each product, store by store, by separating baseline demand from promotional demand. AI takes in more data points than a spreadsheet, but its value lies solely in the decisions it helps inform.
In retail, this decision is primarily about pricing or a promotion. A useful pricing forecast—one that estimates how much will be sold at each considered price—is evaluated based on its bias rather than its MAPE, and is validated against control stores.
An exogenous event (weather, calendar, trend, competitor’s action) affects demand without appearing in the historical data. Not all of these events warrant inclusion in the model: their weight varies depending on the category and season.
Our position: An exogenous factor is only meaningful if it influences a decision—often a price. We use weather forecasts for the short term, adjust for movable holidays before making comparisons, and monitor trends and competitors.