Data Science

The predictive demand model: Bridging historical data and markdown optimization

How predictive demand models serve as the critical bridge between historical sales data and prescriptive markdown optimization, providing both demand estimates and uncertainty quantification

Cyril Noirot
By Cyril NoirotMarch 25, 20256 min read
Share on

Executive summary

In markdown pricing and inventory optimization, the Predictive Demand Model serves as the critical bridge between historical sales data and prescriptive decision-making.

It provides not just an estimate of how demand responds to price changes, but also the distribution of uncertainty around those estimates — enabling robust stochastic optimization.


1. The dual purpose of the predictive demand model

The Predictive Demand Model fulfills two primary objectives in modern retail analytics:

1.1. Providing Comprehensive Demand Estimation for Optimization

The model provides the demand function inputs and parameter estimates required to solve the stochastic programming problem that underlies joint markdown pricing and inventory allocation.

A robust predictive model must therefore:

• Capture All Relevant Demand Drivers

Demand is influenced by both exogenous effects (seasonality, holidays, macroeconomic shifts) and endogenous effects (competition between similar SKUs, pricing, and promotional interactions).
Failing to account for these leads to biased elasticity estimates and suboptimal pricing recommendations.

• Leverage Retail Hierarchies

Retail data is inherently hierarchical — items belong to categories, categories to departments, and stores to regions.
A hierarchical modeling framework allows us to pool information across similar items and locations, mitigating the noise and data sparsity that plague low-volume products.

By borrowing statistical strength across related items, we can estimate demand parameters where individual SKU-level signals are too weak to estimate reliably.

• Bridge Data and Optimization

Ultimately, the predictive model’s purpose is to bridge the gap between observed sales patterns and the prescriptive optimization engine.
Without a structurally sound and interpretable demand model, even the most advanced pricing algorithm would be solving the wrong problem.


1.2. Estimating the Distribution of Demand Parameters

Unlike traditional forecasting, prescriptive optimization requires parameter distributions, not just point estimates.
In markdown optimization, uncertainty around price elasticity (β) can meaningfully alter the optimal pricing trajectory.

The Predictive Demand Model must therefore estimate:

• Parameter Uncertainty

Price sensitivity is notoriously difficult to estimate precisely:

  • Price changes are infrequent.
  • Promotions and seasonality can confound elasticity.
  • Endogeneity (lower prices coinciding with declining demand) introduces bias.

Hence, the model must deliver probabilistic outputs — i.e., distributions over parameters, not single values.

How this is done

Two standard approaches exist:

  1. Bayesian Estimation (MCMC):
    Sample from the posterior distribution of elasticity parameters, often with hierarchical priors defined at the category or class level.
  2. Frequentist Approximation:
    Use the Hessian matrix at the MLE to estimate parameter variance and confidence intervals.

This uncertainty feeds directly into the stochastic optimization layer, ensuring that pricing and allocation decisions are risk-aware and statistically grounded.


2. Model choice criteria derived from purpose

The predictive model’s purpose — to generate interpretable, monotonic, uncertainty-aware demand functions — directly dictates the Model Choice Criteria.

CriterionRequirementImplication for Model Choice
MonotonicityPredicted demand must be a decreasing function of price.Excludes non-parametric ML models that can violate economic assumptions.
Consistent ElasticityMust provide a stable, interpretable price elasticity coefficient (β).Favors parametric models with closed-form elasticity expressions.
Uncertainty EstimationMust yield parameter distributions for stochastic optimization.Requires Bayesian or analytical variance estimation frameworks.

3. Suitable model families

Given these requirements, the choice naturally converges toward parametric models that satisfy both economic structure and analytical tractability.

3.1. Discrete Choice Models (MNL-Based)

These models derive from utility theory and express product utility as:

Ui=αi−βipi+ϵiU_i = \alpha_i - \beta_i p_i + \epsilon_i

ensuring a monotonic price-response relationship.

They capture cross-item substitution (e.g., if item A is discounted, some demand shifts from item B) but can be computationally heavy when estimating “no-purchase” probabilities.


3.2. Generalized Linear Models (GLM Family)

GLMs (such as log-linear, Poisson, or Negative Binomial regressions) offer analytical simplicity and interpretability.

A common specification is the log-linear demand model:

ln⁡d(p,t)=α+γt−βp+ε\ln d(p, t) = \alpha + \gamma_t - \beta p + \varepsilon

which can be rewritten as:

d(p,t)=s(t) α e−βpd(p, t) = s(t) \, \alpha \, e^{-\beta p}

Here:

  • β>0\beta > 0 guarantees monotonicity,
  • s(t)s(t) captures temporal effects (e.g., seasonality),
  • and ε\varepsilon represents random variation.

These models natively provide elasticity:

εp=−βp\varepsilon_p = -\beta p

and can be embedded in a Bayesian framework to quantify uncertainty.


4. Why this matters

In real-world retail systems, decisions are rarely made under perfect certainty.
Markdown optimization involves balancing revenue recovery and inventory depletion — a task that’s only as good as the underlying demand model.

By:

  • enforcing monotonicity,
  • incorporating hierarchical structure, and
  • quantifying parameter uncertainty,

the Predictive Demand Model becomes the central analytical engine that connects raw sales data to actionable, revenue-maximizing decisions.


Conclusion

The Predictive Demand Model is not just another forecasting component; it’s the quantitative backbone of prescriptive pricing.

It bridges the gap between what happened (historical sales) and what should happen (optimal markdowns), under both economic and statistical rigor.

In the next article, we’ll explore how these models integrate into stochastic programming formulations — and how uncertainty in elasticity propagates through to optimal pricing and expected profit.


Solutions

About the author

Cyril Noirot

Cyril Noirot

Lead Data Scientist

Freelance data scientist. I design and ship decision systems — forecasting, pricing, marketing measurement, optimization.

Newsletter

Technical writing on forecasting, pricing, and decision systems. No fixed schedule, no spam.

Enter your email
Subscribe