Econometric traffic modeling: why we studied the effect of rain and season on store visits

Maxim Pavlov12 Oct 2023

Problem

A retail chain spends large marketing budgets and needs to know how advertising turns into store visits. The classical media-agency approach fits one big regression, and its coefficients are then taken at face value. Such coefficients can change a lot, even in sign, when the data sample changes, although every model passes the usual checks for significance and error. So it is unclear which factors matter and how much advertising to buy.

Example from the article: Pyaterochka, X5 Tech and the agency Havas Media rebuilt the store traffic forecast to account for future advertising, expected competitor advertising, weather, seasonality, holidays and new store openings.

Solution in brief

Instead of one model, the team trains many panel regressions on varied samples and feature transformations, then judges each factor by the distribution of its coefficients and p-values. A factor counts as useful only if its estimate stays stable across models. Traffic, not average check, is the target.

Questions this case answers
  • How to estimate the contribution of many correlated drivers to an outcome from observational panel data when a single regression gives coefficients that depend on the chosen sample and transformations
  • How to forecast a demand metric from planned spend and external factors with an interpretable model whose factor estimates can be checked for stability
  • How to forecast store traffic from planned advertising, competitor advertising, weather and seasonality?
  • How to tell which factors in a media-effect regression really matter and which are artifacts of one model specification?

Tools and methods

  • Panel regression on store-level data — baseline model of traffic per store per day or week.
  • Nonlinear transformations of factors — carry advertising effect over to later days, scale factors to make coefficients comparable.
  • Many models over varied samples — vary stores, regions and periods to get distributions of coefficients and p-values.
  • Regional switch-off and scale-up tests — advertising turned off or increased in selected cities to check forecasts.
Continue reading — it's free

Google or a one-time email code. No password.