Bayesian Inference of Arrival Rate and Substitution Behavior from Sales Transaction Data with Stockouts
Benjamin Letham, Lydia M. Letham, Cynthia Rudin

TL;DR
This paper introduces a Bayesian hierarchical model that infers customer arrival rates and substitution behaviors from sales data, accounting for stockouts and variable demand, with scalable inference methods demonstrated on bakery data.
Contribution
It develops a novel Bayesian model combining nonhomogeneous Poisson processes and choice models, with scalable stochastic gradient MCMC inference for large datasets.
Findings
Accurately predicts sales and stockout effects.
Provides insights into lost sales due to stockouts.
Scalable inference method demonstrated on real data.
Abstract
When an item goes out of stock, sales transaction data no longer reflect the original customer demand, since some customers leave with no purchase while others substitute alternative products for the one that was out of stock. Here we develop a Bayesian hierarchical model for inferring the underlying customer arrival rate and choice model from sales transaction data and the corresponding stock levels. The model uses a nonhomogeneous Poisson process to allow the arrival rate to vary throughout the day, and allows for a variety of choice models. Model parameters are inferred using a stochastic gradient MCMC algorithm that can scale to large transaction databases. We fit the model to data from a local bakery and show that it is able to make accurate out-of-sample predictions, and to provide actionable insight into lost cookie sales.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Methods and Mixture Models · Statistical Methods and Bayesian Inference · Consumer Market Behavior and Pricing
