International Journal of Statistics and Systems
  • Year: 2010
  • Volume: 5
  • Issue: 1

Simulation of the Nigerian Stock Exchange Using Hidden Markov Model

  • Author:
  • Ahani E.1, Abass O.2, Okunoye O.B.2
  • Total Page Count: 13
  • Page Number: 29 to 41

1Department of Mathematics, University of Lagos, Nigeria.

2Department of Computer Science, University of Lagos, Nigeria.

Abstract

The recent global economic melt down has necessitated the development of models that can be used to study the long term behaviour of financial systems. Against this background, the Hidden Markov Model is presented to develop a simulation model of the Nigerian Stock Exchange. Real life data were collected from the daily stock market prices of the Nigerian Stock Exchange between the years 2005 and 2008. It is assumed that the hidden states are bull, bear and Even. These hidden states, along with the observable sequences of large rise, small rise, no change, large drop and small drop, were used to develop the Hidden Markov Model. A visualization of the model was carried out using graphical capabilities of excel. The visualization reveals that the stock exchange will only be steady periodically irrespective of initial conditions.

Keywords

Hidden Markov Model (HMM), Nigerian Stock Market, Simulation