Methodology for Time Series Modeling of Demand in e-Commerce
Keywords:
e-commerce, ARMA, ARIMA, local linear trend model, radial basis functionsAbstract
This paper proposes a hybrid approach for time series modeling that simultaneously incorporates linear and nonlinear dynamics. Autoregressive (AR) and autoregressive moving average (ARMA) models are applied, with forecasting functions derived from difference equations.
Particular attention is devoted to the identification and treatment of stochastic trends in e-commerce processes. The research investigates the potential origins of such trends, emphasizes the significance of their explicit consideration in forecasting practice, and proposes the application of both the autoregressive integrated moving average (ARIMA) model and the local linear trend (LLT) model. For these specifications, forecasting functions are derived that provide multi-step predictions alongside with conditional expectations.
To address local market fluctuations and consumer sentiment, which typically exhibit nonlinear behavior, the study incorporates radial basis function (RBF) networks. These models enable to describe nonlinear dependencies not only on lagged values of the series but also on exogenous determinants of the process, including product attributes, calendar effects, and other relevant features.
The empirical evaluation is conducted using real sales data obtained from the Amazon platform. Statistical tests are applied to confirm that the data belong to the investigated class of time series. Comparative analysis of the constructed models, based on the forecast accuracy metrics, demonstrates the efficiency of the proposed hybrid methodology. The results indicate that the LLT model provides superior performance in short-term forecasting horizons, whereas ARIMA models are more appropriate for capturing long-term tendencies. The combined approach enhances the adequacy of time series representations and substantially improves the quality of practical forecasting outcomes.
References
G. E. P. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, Time series analysis: forecasting and control. John Wiley & Sons, 2015. https://doi.org/10.1111/jtsa.12194 .
R. J. Hyndman, and G. Athanasopoulos, Forecasting: principles and practice. OTexts, 2018.
P. I. Bidyuk, V. D. Romanenko, and O. L. Tymoshchuk, Time Series Analysis. Kyiv: Igor Sikorsky KPI, 2012.
A. C. Harvey, Forecasting, structural time series models and the Kalman filter, 1990. https://doi.org/10.1017/CBO9781107049994 .
J. Durbin, and S. J. Koopman, Time Series Analysis by State Space Methods. Oxford University Press, 2012. https://doi.org/10.1093/acprof:oso/9780199641178.001.0001 .
S. Makridakis, E. Spiliotis, and V. Assimakopoulos, “M5 accuracy competition: Results, findings, and conclusions,” International Journal of Forecasting, vol. 38, no. 4, pp. 1346-1364, 2022. https://doi.org/10.1016/j.ijforecast.2021.11.013 .
K. Bandara, P. Shi, C. Bergmeir, H. Hewamalage, Q. Tran, and B. Seaman, “Sales Demand Forecast in E-commerce using a Long Short-Term Memory Neural Network Methodology,” arXiv [cs.LG]. 2019. https://doi.org/10.48550/arXiv.1901.04028 .
D. Salinas, V. Flunkert, J. Gasthaus, and T. Januschowski, “DeepAR: Probabilistic forecasting with autoregressive recurrent networks,” International Journal of Forecasting, vol. 36, no. 3, pp. 1181-1191, 2020. https://doi.org/10.1016/j.ijforecast.2019.07.001 .
B. N. Oreshkin, D. Carpov, N. Chapados, and Y. Bengio, “N-BEATS: Neural basis expansion analysis for interpretable time series forecasting,” arXiv [cs.LG]. 2020. https://doi.org/10.48550/arXiv.1905.10437 .
G. P. Zhang, “Time series forecasting using a hybrid ARIMA and neural network model,” Neurocomputing, vol. 50, pp. 159-175, 2003. https://doi.org/10.1016/S0925-2312(01)00702-0 .
M. Khashei, and M. Bijari, “A novel hybridization of artificial neural networks and ARIMA models for time series forecasting,” Applied Soft Computing, vol. 11, no. 2, pp. 2664-2675, 2011. https://doi.org/10.1016/j.asoc.2010.10.015 .
J. Park, and I. W. Sandberg, “Universal Approximation Using Radial-Basis-Function Networks,” Neural Computation, vol. 3, no. 2, pp. 246-257, 06 1991. https://doi.org/10.1162/neco.1991.3.2.246 .
П. І. Бідюк, «Системний підхід до прогнозування на основі моделей часових рядів,» Системні дослідження та інформаційні технології, № 3, c. 88-110, 2003.
A. Berke, “Open e-commerce 1.0: Five years of crowdsourced U.S. Amazon purchase histories,” Scientific Data, vol. 11, no. 491. https://doi.org/10.7910/DVN/YGLYDY .
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).