Journal of Finance and Investment Analysis, vol. 2, no.1, 2013, 41-59 ISSN: 2241-0998 (print version), 2241-0996(online) Scienpress Ltd, 2013 Forecasting Movement of the Nigerian Stock Exchange All Share Index using Artificial Neural and Bayesian Networks Adetunji Abigail Bola 1 , Aderounmu Ganiyu Adesola 2 , Omidiora Elijah Olusayo 3 and Adigun Abimbola Adebisi 4 Abstract This paper presents a study of Artificial Neural Network (ANN) and Bayesian Network (BN) for use in stock index prediction. The data from Nigerian Stock Exchange (NSE) market are applied as a case study. Based on the rescaled range analysis, the neural network was used to capture the relationship in terms of weights between the technical indicators derived from the NSE data and levels of the index. The BayesNet Classifier was based on discretizing the numeric attributes into distinct ranges from where the conditional probability was calculated, stored in the Conditional Probability Table (CPT) and the new instance were classified. The performance evaluation carried out showed results of 59.38% for ANN and 78.13% for BN in terms of predictive power of the networks. The result also showed that Bayesian Network has better performance than ANN when it comes to predicting short period of time; and that useful prediction can be made for All Share index of NSE stock market without the use of extensive market data. 1 Department of Computer Science & Engineering, Ladoke Akintola University of Technology, Ogbomoso, Nigeria. e-mail: abadetunji@yahoo.com 2 Department of Computer Science & Engineering, Ladoke Akintola University of Technology, Ogbomoso, Nigeria. e-mail: gaderoun@oauife.edu.ng 3 Department of Computer Science & Engineering, Obafemi Awolowo University, Ile-Ife, Nigeria. e-mail: omidiorasayo@yahoo.co.uk 4 Department of Computer Science & Engineering, Ladoke Akintola University of Technology, Ogbomoso, Nigeria. e-mail: adigunademidun@yahoo.co.uk Article Info: Received : July 12, 2012. Revised : September 2, 2012. Published online : February 10, 2013