A Dynamic Pricing Model Based on Clustering Algorithms and Game Theory in the E-commerce Industry
Downloads
In the highly competitive e-commerce landscape, static pricing strategies fail to maximize profitability due to rapid shifts in consumer behavior and competitor actions. This paper proposes a novel, data-driven dynamic pricing framework that integrates unsupervised machine learning with non-cooperative game theory. Using transaction data from the widely recognized UCI Online Retail dataset, we first apply the K-Means clustering algorithm to segment customers based on Recency, Frequency, Monetary (RFM) metrics and price sensitivity. Next, we model the pricing competition between duopoly e-commerce firms as a Bertrand game within each segment. By deriving segment-specific demand functions and price elasticities, we compute the analytical Nash Equilibrium prices. The empirical results demonstrate that our proposed hybrid model significantly outperforms static pricing strategies, yielding an average revenue increase of 14.6% while maintaining market competitiveness. The complete implementation in Python is provided to validate the model's reproducibility.
den Boer, A. V. (2015). Dynamic pricing and learning: historical origins, current research, and new directions. Surveys in Operations Research and Management Science, 20(1), 1-18.
Fisher, M., Gallino, S., & Li, J. (2018). Competition-driven dynamic pricing in online retailing. Management Science, 64(6), 2585-2596.
Kalyanaram, G., & Little, J. D. (1994). An empirical analysis of latitude of price acceptance in consumer package goods. Journal of Consumer Research, 21(3), 408-418.
Kannan, P. K., & Kopalle, P. K. (2001). Dynamic pricing on the internet: importance and implications for consumer behavior. International Journal of Electronic Commerce, 5(3), 63-83.
MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1(14), 281-297.
Nash, J. (1950). Equilibrium points in n-person games. Proceedings of the National Academy of Sciences, 36(1), 48-49.
Tirole, J. (1988). The Theory of Industrial Organization. MIT Press.
Copyright (c) 2026 Dao Hoang Dung

This work is licensed under a Creative Commons Attribution 4.0 International License.
All Content should be original and unpublished.

