Back to search

Kansas State University

A statistical approach to analyzing and forecasting retail demand

Abstract

dc:description.abstract

Retail analytics enables businesses to analyze purchasing patterns, forecast demand, and improve inventory management. This study explores and compares statistical and machine learning methods for modeling retail demand using a synthesized dataset from Kaggle, the Product Sales Dataset (2023–2024) by Yennewar (2023). The dataset included transaction records across multiple states, product categories, and time periods in the United States. Exploratory analysis was conducted to examine geographic and temporal patterns in product demand, revealing significant regional variations that were confirmed through analysis of variance (ANOVA). Transaction-level data were aggregated to monthly and quarterly product-level demand by state and city, and missing combinations were reconstructed to account for no purchases. Thus, producing a complete dataset suitable for analysis. To model demand, a combination of time series, statistical, and machine learning approaches were implemented. ARIMA models were used to capture temporal trends, while count based regression models (Poisson and Negative Binomial) were applied to model demand. Additionally, classification methods including ordinal logistic regression, decision trees, and XGBoost were applied to predict categorized demand levels. Model performance was evaluated using metrics such as mean absolute error and accuracy. Results indicated that demand varies significantly across both regions and time. Product-level time series models captured underlying trends less effectively at aggregated levels. In the regression approach, the Negative Binomial model outperformed the Poisson model due to overdispersion in the data. Classification models showed moderate performance with stronger predictive results for extreme demand categories (very low demand and high demand). Notably, XGBoost underperformed compared to the other models but had a uniform moderately weak performance across all classes. Overall, the findings highlight the importance of aligning model selection with data structure and distribution as well as problem structure, demonstrating that increased model complexity does not necessarily lead to improved predictive performance in forecasting retail demand.

Degree

thesis:*
Level thesis:degree_level
Masters
Department dc:contributor.department
Department of Statistics
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sekabanja, Tinashe
Advisor dc:description.advisor
  • Perla E. Reyes Cuellar

Subjects

dc:subject × 3

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2097/47235

Chain of custody

source
Harvested from
Kansas State University
Base URL
krex.k-state.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Sekabanja, Tinashe. A statistical approach to analyzing and forecasting retail demand. Masters thesis, 2026. https://hdl.handle.net/2097/47235