Random Forest Based Feature Selection of Macroeconomic Variables for Stock Market Prediction
Authors:
- Isaac Kofi NtiIsaac Kofi Nti
- Adebayo Felix AdekoyaAdebayo Felix Adekoya
- Benjamin Asubam WeyoriBWBenjamin Asubam Weyori
Open Access
- 1 July 2019
- journal article
- Published by Science Publications in American Journal of Applied Sciences
- Vol. 16 (7) , 200-212
Abstract
A firm’s equity price on the stock-market is reported to be closely related to the Macroeconomic Variable (MVs) of the country in which the firm trades. For this reason, researchers, market traders, financial analysts and forecasters to examine the association between MVs and stock-price have carried out numerous studies, using time-series statistical analysis methods like Autoregressive Integrated Moving Average (ARIMA), Autoregressive Moving Average (ARMA) and Generalised Autoregressive Conditional Heteroscedasticity (GARCH). However, these techniques are reported to suffer from limited predictive power and restrictive assumptions. Besides, in pursuit of ways to remedy these paucities and limitations within these techniques, some researchers have examined uncountable machine learning techniques for measuring the stock-markets trends and making trading decisions using macroeconomic variables. On the other hand, a higher percentage of these studies paid attention to the stock index prediction and neglected the diversity of MVs that influence different sector indices. In addressing the issues above, this study seeks to examine the degree of significance between different sectors stock-price and MVs and predict a 30-day head stock-price using Random Forest (RF) with an improve leave-one-out cross-validation tactic and Long Short-Term Memory Recurrent Neural Network (LSTMRNN). An empirical analysis of the proposed model over the Ghana Stock Exchange (GSE) exhibits high prediction accuracy and better mean absolute error compared with other time-series techniques. It can, therefore, be inferred from the fallouts that the proposed stock-market prediction with MVs, provides an efficient approach to automatic identification and extraction of MVs that affect diverse sector stock and offer an accurate prediction of a stock's future price.Keywords
This publication has 20 references indexed in Scilit:
- Long Short-Term Memory Networks Based Automatic Feature Extraction for Photovoltaic Array Fault DiagnosisIEEE Access, 2019
- Machine learning methods for crop yield prediction and climate change impact assessment in agricultureEnvironmental Research Letters, 2018
- Prediction of students performance using Educational Data Mining2016
- Oil prices and global factor macroeconomic variablesEnergy Economics, 2016
- Agent based-stock flow consistent macroeconomics: Towards a benchmark modelJournal of Economic Dynamics and Control, 2016
- Stock prices and macroeconomic factors: Some European evidenceInternational Review of Economics & Finance, 2016
- Machine learning predictive models for mineral prospectivity: An evaluation of neural networks, random forest, regression trees and support vector machinesOre Geology Reviews, 2015
- Evaluating multiple classifiers for stock price direction predictionExpert Systems with Applications, 2015
- OPEC and non-OPEC oil production and the global economyEnergy Economics, 2015
- A hybrid evolutionary dynamic neural network for stock market trend analysis and prediction using unscented Kalman filterApplied Soft Computing, 2014