APPLICATION OF VECTOR AUTOREGRESSIVE MODELS AND MACHINE LEARNING TECHNIQUES TO ESTIMATE THE EFFECT OF MACROECONOMIC INDICATORS ON PORTFOLIO INVESTMENT IN NIGERIA: A DATA ANALYTICS APPROACH
Abstract
Portfolio investments in emerging markets such as Nigeria have been very volatile although the policy has been used to stabilise capital markets. The intricate interaction between the macroeconomic indicators and the portfolio investment is of key importance in the sustainable economic development and policy making, which require the understanding of the data. This paper uses sophisticated econometric and machine learning models to examine how portfolio investment and shares in Nigeria are affected by the macroeconomic variables (interest rate, exchange rate, and inflation rate) between 1981 and 2019 and compare the results of using traditional VAR/VECM model and modern machine learning techniques. The sources used to obtain data were the Central Bank of Nigeria (CBN) and World Development Indicators (WDI). Our hybrid analytical model adopted a combination of: (1) Inferential analysis, (2) Vector Autoregressive (VAR) and Vector Error Correction (VECM) models, (3) Stationarity check, (4) long-run relationship, (5) Johansen cointegration test, and (6) comparative predictive performance by choosing: (a) Random Forest, (b) XGBoost, and (c) Long Short-Memory (LSTM) networks. Akaike Information Criterion (AIC), Log-likelihood, RMSE and MAE were used as the measures of model performance. The cointegration analysis showed that there is significant long-run relation between all variables (Trace test statistic = 155.6993, p < 0.0001). The results of the VECM indicated that the interest rate has a negative significance impact on portfolio investment (p = 0.0225, β = -172.571), whereas the inflation rate has a positive significant impact (p = 0.0429, β = 250,988). The Log-likelihood was equal to -4706.210 and AIC = 61.78053. The predictive accuracy of machine learning models was better and LSTM had the lowest RMSE (0.1243) than traditional VAR (0.2876). Indicators of the macroeconomic show that they have a great long-run connection with the portfolio investment in Nigeria. The hybrid econometric machine learning model offers greater predictive power in the portfolio investment forecasting. We suggest the Central Bank of Nigeria to adopt dynamic interest rate levels and come up with data-driven monetary policy levels to enhance sustainable portfolio investments.
Keywords
Full Text:
PDFReferences
Abramov, A., & Radygin, A. (2015). Interest rate and long term portfolio investment: Evidence from Russian markets. Russian Journal of Economics, 1(2), 135-156.
Akingunnola, R. O., Adekunle, O. A., & Adegbite, T. A. (2012). Impact of interest rate on capital market growth in Nigeria. Research Journal of Finance and Accounting, 3(8), 98-106.
Chen, J., Chen, W., & Li, L. (2019). Deep learning for stock market prediction: A comprehensive review. IEEE Transactions on Neural Networks and Learning Systems, 30(12), 3567-3585.
Egwakhide, C. I. (2012). The nature of causal relationship between interest rate and portfolio investment in Nigeria, 1986-2015. International Journal of Business and Social Science, 6(3), 7-12.
Fama, E. F. (1970). Efficient capital markets: A review of theory and empirical work. Journal of Finance, 25(2), 383-417.
Gazi-Salah, U., & Mahmudul, A. (2009). Relationship between interest rate and stock price: Empirical evidence from developed and developing countries. International Journal of Business and Management, 4(3), 43-51.
Gu, S., Kelly, B., & Xiu, D. (2020). Empirical asset pricing via machine learning. Review of Financial Studies, 33(5), 2223-2273.
Hamrita, M. E., & Abdelkader, T. (2011). The relationship between interest rate, exchange rate and stock price: A wavelet analysis. International Journal of Economics and Financial Issues, 1(4), 220-228.
Johansen, S. (1991). Estimation and hypothesis testing of cointegration vectors in Gaussian vector autoregressive models. Econometrica, 59(6), 1551-1580.
Lo, A. W. (2004). The adaptive markets hypothesis: Market efficiency from an evolutionary perspective. Journal of Portfolio Management, 30(5), 15-29.
Mahmudul, A., & Gazi-Salah, U. (2010). The relationship between interest rate and stock price: Empirical evidence from developed and developing countries. International Journal of Business and Management, 4(3), 43-51.
Markowitz, H. M. (1952). Portfolio selection. Journal of Finance, 7(1), 77-91.
Meristem Research. (2008). Nigerian stock market analysis: Secular trends and investment implications. Meristem Securities Limited Research Report.
Ologunde, A. O., Elumilade, D. O., & Asaolu, T. O. (2006). Stock market capitalization and interest rate in Nigeria: A time series analysis. International Research Journal of Finance and Economics, 4(4), 154-166.
Ross, S. A. (1976). The arbitrage theory of capital asset pricing. Journal of Economic Theory, 13(3), 341-360.
Udegbunam, R. I., & Eriki, P. O. (2001). Inflation and stock price behavior in Nigeria: An empirical investigation. Nigerian Journal of Economic and Social Studies, 43(2), 195-210.
Yinghan, L. (2015). The relationship between interest rate and stock prices in China: A VAR and VECM approach. International Journal of Economics and Finance, 7(4), 112-125.
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Jibrin Abdullahi Yafu, Hillary Uche Okemmiri, S. M. Oguche
ISSN (PRINT): 2734 - 2522
ISSN (ONLINE): 2734 - 2514

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.