Applying Machine Learning to Model South Africa’s Equity Market Index Price Performance

Date
2023-07
Journal Title
Journal ISSN
Volume Title
Publisher
University of the Witwatersrand, Johannesburg
Abstract
Policymakers typically use statistical multivariate forecasting models to forecast the reaction of stock market returns to changing economic activities. However, these models frequently result in subpar performance due to inflexibility and incompetence in modeling non-linear relationships. Emerging research suggests that machine learning models can better handle data from non-linear dynamic systems and yield outstanding model performance. This research compared the performance of machine learning models to the performance of the benchmark model (the vector autoregressive model) when forecasting the reaction of stock market returns to changing economic activities in South Africa. The vector autoregressive model was used to forecast the reaction of stock market returns. It achieved a mean absolute percentage error (MAPE) value of 0.0084. Machine learning models were used to forecast the reaction of stock market returns. The lowest MAPE value was 0.0051. The machine learning model trained on low economic data dimensions performed 65% better than the benchmark model. Machine learning models also identified key economic activities when forecasting the reaction of stock market returns. Most research focused on whole features, few models for comparison, and barely focused on how different feature subsets and reduced dimensionality change model performance, a limitation this research addresses when considering the number of experiments. This research considered various experiments, i.e., different feature subsets and data dimensions, to determine whether machine learning models perform better than the benchmark model when forecasting the reaction of stock market returns to changing economic activities in South Africa.
Description
A thesis submitted in fulfillment of the requirements for the degree of Master of Science (M.Sc. Computer Science) by Dissertation, to the Faculty of Science, in the School of Computer Science and Applied Mathematics, University of the Witwatersrand, Johannesburg, 2023.
Keywords
Statistical Models, Machine Learning Models, Stock Market Index Returns Forecasting, UCTD
Citation
Nokeri, Tshepo Chris. (2023). Applying Machine Learning to Model South Africa’s Equity Market Index Price Performance. [Master's dissertation, University of the Witwatersrand, Johannesburg]. https://hdl.handle.net/10539/41753