Assess the performance of the ARIMA and ARIMAX models to forecast time series data.

Authors

  • Maryouma E. Enaami Department of statistics, Faculty of Science, University of Tripoli, Tripoli- Libya
  • Kamila O Al-Zamzam Documentation Center at Ministry of Social Affairs, Tripoli- Libya
  • Rida M Khaga Department of statistics, Faculty of Science, University of Tripoli, Tripoli- Libya

Keywords:

Time series, ARIMA model, ARIMAX model, simple linear regression model

Abstract

This study evaluates the forecasting performance of time series models for predicting the price of 18-carat broken gold in the parallel market of Tripoli, Libya. While the ARIMA model is widely used for univariate time series forecasting, it often fails to account for external factors. In contrast, the ARIMAX model incorporates exogenous variables, potentially improving accuracy. This research compares four models: ARIMA, ARIMAX, a simple linear regression model, and a mixed model (combining ARIMA with residuals from an external variable model). The dataset spans from February 8, 2019, to April 30, 2019, with the dollar price as the exogenous variable.   The results indicate that the ARIMAX(1,2,0)(1,1,0) model outperforms the others, demonstrating superior forecasting accuracy. The mixed model (ARIMA + residuals) ranks second, followed by the ARIMA(1,2,0) model, while the simple linear regression performs the worst. These findings are validated using RMSE and R² metrics. The study concludes that incorporating external variables, as in ARIMAX, significantly enhances gold price forecasting, making it a preferred approach over traditional univariate models.

References

Ababio, K. Agyarko. (2012) Comparative study of stock price forecasting using ARIMA and ARIMAX MODELS. Diss.

Al-Ajez, Raja’M.(2016).‏ Comparative Performance of ARIMA and ARCH/GARCH Models on Time Series of Traffic Accidents in Gaza Strip. Engineering, Economics

Amiri, Sayedeh Bita, Arefeh Amidian, and Zohre Fasihfar. (2025) Intelligent Stock Price Prediction Using LSTM, GRU, ARIMA, and ARIMAX Models: Analysis and Performance Comparison. Accounting and Auditing with Applications 2.2 109-121.‏

Box, G. E. P. Jenkins, G. M. Reinsel, G. C (2008) Time Series Analysis: Forecasting and Control. John Wiley & Sons Inc., New York.

Box, G. E. P. Tiao, G. C. (1975) Intervention analysis with applications to economic and environmental problems. Journal of the American Statistical Association., vol. 70, no. 349, p. 70-79.

Dickey, David A., and Wayne A. Fuller.(1981) Likelihood ratio statistics for autoregressive time series with a unit root. Econometrica: journal of the Econometric Society (1981): 1057-1072.‏

Enaami, M.E , Sara M Alozze , Rida M.Khaga. (2024) Comparative Performance of ARIMA and ARCH Models on Time Series of Monthly Libyan Brent Oil Price , International Journal for Multidisciplinary Research (IJFMR) ,vol. 6, Issue 5.

Josué, ANDRIANADY and M. Randriamifidy, Fitiavana and H. P. Ranaivoson, Michel and Miora Steffanie, Thierry (2023) Econometric Analysis and Forecasting of Madagascar’s Economy: An ARIMAX Approach. MPRA. no 118763

Kongcharoen, Chaleampong, and Tapanee Kruangpradit. (2013)"Autoregressive integrated moving average with explanatory variable (ARIMAX) model for Thailand export." 33rd International Symposium on Forecasting, South Korea.

Kwiatkowski, Phillips, Schmidt, and Shine. (1992) The KPSS stationarity test as a unit root test. Economics Letters 38.4 387-392.‏

Montgomery, Douglas C., Elizabeth A. Peck, and G. Geoffrey Vining (2012). Introduction to linear regression analysis, 5th. John Wiley & Sons. ‏

Ospina, Raydonal; Gondim, João A M; Leiva, Víctor; Castro, Cecilia (2023) An overview of forecast analysis with ARIMA models during the COVID-19 pandemic: Methodology and case study in Brazil. Mathematics 11.14: 3069.‏

Peter, Ďurka, and Silvia, Pastoreková.(2012) ARIMA vs. ARIMAX–which approach is better to analyze and forecast macroeconomic time series. Proceedings of 30th international conference mathematical methods in economics. Vol. 2.‏

Phillips, Peter CB, and Pierre Perron. (1988) Testing for a unit root in time series regression. biometrika 75.2 335-346.‏

Sharma, RK, (2016) Forecasting Gold price with Box Jenkins Autoregressive Integrated Moving Average Method, Journal of International Economics, vol .7, no. 1, Jan-Jun, pp. 32-61, The World Gold Counci.

Wei, W. S. (1990) Time series analysis: Univariate and multivariate methods. Addison Wesley publishingcomp

Downloads

Published

2026-04-02

How to Cite

Maryouma E. Enaami, Kamila O Al-Zamzam, & Rida M Khaga. (2026). Assess the performance of the ARIMA and ARIMAX models to forecast time series data. Journal of Libyan Academy Bani Walid, 2(2), 227–246. Retrieved from https://journals.labjournal.ly/index.php/Jlabw/article/view/536

Issue

Section

Applied Sciences