Hierarchical Bayesian Regression for Multi-Location Sales Transaction Forecasting (2306.17795v1)
Abstract: The features in many prediction models naturally take the form of a hierarchy. The lower levels represent individuals or events. These units group naturally into locations and intervals or other aggregates, often at multiple levels. Levels of groupings may intersect and join, much as relational database tables do. Besides representing the structure of the data, predictive features in hierarchical models can be assigned to their proper levels. Such models lend themselves to hierarchical Bayes solution methods that ``share'' results of inference between groups by generalizing over the case of individual models for each group versus one model that aggregates all groups into one. In this paper we show our work-in-progress applying a hierarchical Bayesian model to forecast purchases throughout the day at store franchises, with groupings over locations and days of the week. We demonstrate using the \textsf{stan} package on individual sales transaction data collected over the course of a year. We show how this solves the dilemma of having limited data and hence modest accuracy for each day and location, while being able to scale to a large number of locations with improved accuracy.
- Deep end-to-end causal inference, 2022. URL https://arxiv.org/abs/2202.02195.
- Data Analysis Using Regression and Multilevel / Hierarchical Models. Cambridge University Press, 2007.
- Bayesian Data Analysis, Third Edition. CRC Press, 2013.
- Introduction to Statistical Learning Theory. MIT Press, 2007.
- Probabilistic Graphical Models. MIT Press, 2009.
- Foundations of sequence-to-sequence modeling for time series, 2018. URL https://arxiv.org/abs/1805.03714.
- Judea Pearl. Causality: Models, Reasoning and Inference. Cambridge University Press, USA, 2nd edition, 2009. ISBN 052189560X.
- E. L. Porteus. Foundations of Stochastic Inventory Theory. Stanford University Press, 2002.
- Using infer.net for statistical analyses. The American Statistician, 65(2):115–126, 2011. 10.1198/tast.2011.10169. URL https://doi.org/10.1198/tast.2011.10169.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.