Journal of
Economics and International Finance

  • Abbreviation: J. Econ. Int. Finance
  • Language: English
  • ISSN: 2006-9812
  • DOI: 10.5897/JEIF
  • Start Year: 2009
  • Published Articles: 344

Full Length Research Paper

Regime Detection in Sub-Saharan Africa Equity Markets – A Hidden Markov Model Approach

Carl Hope Korkpoe
  • Carl Hope Korkpoe
  • Department of Finance, School of Business, University of Cape Coast, Ghana.
  • Google Scholar
Nathaniel Howard
  • Nathaniel Howard
  • Department of Statistics, School of Physical Sciences, University of Cape Coast, Ghana.
  • Google Scholar


  •  Received: 04 February 2021
  •  Accepted: 18 June 2021
  •  Published: 30 November 2021

 ABSTRACT

Complaints of heightened risks in the sub-Saharan African equities markets are rife in the practitioner literature. Investors need an understanding of the volatility dynamics in these frontier markets. This paper uses the Hidden Markov Models to detect the points of regime changes in the volatility in the markets of Ghana, Kenya, Nigeria and Botswana. The daily closing indices of the exchanges and modeled 2- and 3-regimes in the market were used. Information criteria selected the best fitting model of 2-regime changes corresponding to periods of low and high volatilities. This has been shown through smoothed volatility plots depicting times of regime changes over the sample periods. Investors will be guided in the strategies they choose by setting price filters according to the particular regimes. For regulators, the work will help in setting risk sensitive capital based on market regimes so that firms do not carry too much capital than is required.

 

Keywords: Stylized properties, regime changes, sub-Saharan equities, expectation maximization algorithm, price filters.


 INTRODUCTION

Global investment firms are turning to the frontier equity markets in the hope of making adequate returns for investors in the face of low interest rates and few opportunities to invest in developed markets. Berger et al. (2011) highlighted the low correlations between developed and frontier market returns as making the later good for portfolio diversification. Demirer (2013) identified the suitability of the equity markets of the Gulf States as being particularly ripe for inclusion in developed world portfolios. Sukumaran et al. (2015) in their discussion on the advantages provided by frontier markets for diversification, cited examples of low market correlations even at a time of the global financial crisis when there was significant uptick in correlations across most markets.

 

However, these investors are confronted with markets lacking adequate risk characterizations to properly direct capital. There are problems of dense markets with little information flow on assets (Harrison and Moore, 2012), inadequate corporate governance (Crittenden and Crittenden, 2014), poor reporting standards (Pineiro-Chousa et al., 2019) and absence of strong legal systems to enforce contracts (Salami, 2011; Buchanan et al., 2011). Investors are able to price these risks and adequately hedge them in the market.

 

The problem of information flow shows up in thin and asymmetric trading as a result of market inefficiencies (Müller et al., 1997). The effects are discontinuities in trading in the form of sudden switching of the heteroscedastic nature of asset returns from a regime of low to a regime of high volatility and vice versa. This is an important point particularly for active investment. Getting these regimes right enables the implementation of key strategies that positions a trade or investment to minimize the downside risk of investment, while the upside is held to bring good returns. Indeed, most investment management firms that are able to implement the right strategies in equity markets bring rewards to the investors.

 

Changes in market regimes have been identified extensively in the emerging markets by various authors (Demirel and Unal, 2020). The switches or changes in regimes observed in the markets are a function of a number of factors. Assoe (1998) assigned experimentation of government macroeconomic and fiscal policies as the reasons for the switching of asset returns in equity markets. Basically, at the onset of new policies, investors assess their effects on asset prices or even the attractiveness of various asset classes and take steps to either invest in or dump their stocks. By so doing, asset prices change, sometimes dramatically and this registers in stock markets as regime changes in the returns. Ang and Timmermann (2012) studied the interest rates of developed markets of US and UK and discovered the regime switching in the markets are driven by macro-economic changes, government pronouncement and regulations to do with the capital and financial market environments. Schaller and Norden (1997) added that conflicts also have the potential to trigger regime changes in asset returns in the financial markets.

 

Financial markets are characterised by multiple regimes resulting from feeds of the underlying economic, social and political developments. These activities are particularly in a flux in sub-Saharan African countries. What is important is for assets managers and investors to understand these dynamics and to be able to craft their trading strategies to fit the evolving market developments. Sub-Saharan African (SSA) markets have rather short histories to guide investors. Abrupt market changes are disruptive to even the smartest investment strategies. The resulting financial outcomes tend to be unexpected and typical of the dense equity markets of sub-Saharan Africa.

 

Indeed, market regimes change as a concept is now so pervasive in modeling financial asset returns and pricing in finance and economic disciplines. Regime switching can be seen as a universal stylized property of financial market returns apart from volatility clustering, heavy tails, asymmetry, amongst others recognized by Cont (2001). Wang and Theobald (2008) employed regime changes in some six emerging nations of Asia to study the volatility in those markets. Walid et al. (2011) used regime switching to study the nexus of stock market volatility and the performance of exchanges rates; Fiess and Shankar (2009) incorporated changes in regimes to look at the determinants of foreign exchanges rates; Aloui and Jammazi (2009) employed regime switching in the study of switching behaviour in crude oil markets, among others. Bahrini and Filfilan (2020) documented the impact of equity returns as a result of geopolitical disturbances in the Gulf Cooperation Council (GCC) region and the recent outbreak of the Covid-19 pandemic. As a concept, regime switching has also been used in developed markets (Marques et al., 2013; Kenourgios et al., 2011) and emerging markets (Assaf and Charif, 2017; Markoff, 1990) and frontier (Arjoon and Bhatnagar, 2017).

 

For the frontier equity markets of sub-Saharan Africa, there is a paucity of studies in the extant literature on the nature of market regimes. Bahloul and Abid (2014) mentioned regime changes within the broader Middle East and North Africa (MENA) regions but nothing specifically focused on SSA. King and Botha (2015) modeled the dynamics of volatility of selected African stocks. None of these papers, however, look at the specific points of regime switching in the data. This is the point of departure of this work. We track the specific points at which regimes change or switch in the returns data. Moreover, we have chosen some SSA frontier markets to reflect the geography of the west - Ghana, east – Kenya and southern regions - Botswana. Nigeria was selected in addition to Ghana in the western sub-Saharan region due to its size.

 

Frontier markets are coming of age and particularly for SSA equity assets, according to Asongu (2013) and Enisan and Olufisayo (2009), are increasingly becoming a feature of global investment portfolios. Given the problems of market information flow and thin trading on the continent with perhaps the exception of South African markets, this paper firstly alerts investors of the breakpoints in the data and secondly, guides in forming expectations about risks and returns in the various market regimes. We rely on both data-driven approach and the Hidden Markov Model (HMM) in achieving this insight into the risks posed by regime changes in the return series. It is important, in our view, that investors track the dates of volatility switches and use these signals to trade. In the words of Engle (2004): “The advantage of knowing about risks is that we can change our behavior to avoid them” (p. 1). This is a decisive contribution when we have demonstrated with smoothed probability plots of the returns of the indices of Ghana (GSE), Kenya (KSE hereafter to distinguish the abbreviation for that of Nigeria), Nigeria (NSE), and Botswana (BSE) exchanges. These plots show the points of low and high regimes across the sample.

 

The rest of the paper is outlined as follows. Section two reviews the mathematical basis of the Hidden Markov Model (HMM). We analysis the data in Section three followed by discussion of the model results in Section four. Section five concludes the paper.


 MATERIALS AND METHODS

Regime detection is a hidden Markov problem with the model transitioning from one random state to another. These transitions are guided by a stochastic state space matrix with well-defined jumps which depend on the current state rather than the previous states. It is such a model that constitutes the HMM. The HMM has underlying latent states which are not directly observable but are known to influence their observations (Ephraim and Merhav, 2002).


 RESULTS AND DISCUSSION

The data came from a sample of the daily closing indices from the equity markets of Botswana, Ghana, Kenya and Nigeria for the period January 04, 2011 to December 31, 2017. We calculated the log returns using 

Table 1 provides the statistical summary of the returns for the sample period. We ran the HMM assuming two and three regime changes and compared the AIC, BIC and HQIC for regime fit. Table 2 shows the number of regimes and the corresponding fit criteria. Basically, Table 2 shows the returns in the markets admit two regime changes - low and high volatile market regimes. The AIC, BIC and HQIC of the two regimes have lower values than their corresponding values in the three regimes except for KSE where the BIC conflicts with the rest of the criteria. This could be the result of the seeming oscillation of the volatility even within a given regime.

 

 

The tables of estimates and the transitional matrices are shown in the appendix. The figures in the tables confirm two-regime stock markets with a low and high volatility characterizing them. The smoothed probability plots together with the time series of the various bourses are shown in Figures 1 to 4. The patterns in the regimes are obvious from the diagrams in Figures 1 to 4. The approximate dates are shown with the changes from low to high regimes and vice versa. For example, in Figure 1, we see the pattern of the low volatility regime being interrupted with high volatility regimes of rather short but frequent periods for the GSE. The market for most part has been quiet with the sudden switches in regimes clearly shown by tracing the periods down. In Figure 2, the NSE index for most periods is in the low regime. The period from 2011 to the latter part of 2014, there have been two, albeit brief spikes in volatility in the market. Thereafter, the market swung between the extremes of low and high volatility with no clear dominance of either of these regimes. The market has been interrupted increasingly by high volatility regimes from late 2014.

 

 

 

The smoothed probability plot for KSE exhibits a flux in the volatility regimes. Even where it appears to be in either regime, the volatility oscillated somewhat. The rapid regime changes could be the result of interest rate on sensitive financial and banking services dominating the KSE. Elyasiani and Mansur (1998), Akella and Chen (1990) and Kurov (2010) identified the transmission of interest rate regimes to the bank and financial services firms which indeed triggers the heightened response of the stocks.

 

BSI shows the switch from low to high volatility regimes occurs with near regularity. In Figure 4, we see a market exhibiting an unstable regime, switching and each regime lasting for only short periods. BSI, even though, very small, has the most foreign firms with dual listing on the local and outside markets like London, Johannesburg, Toronto and Australia. The regularity of the market swings on the BSI could be a reflection of market volatility coming from outside Botswana. The volatility estimates and transition probabilities in each regime for the respective exchanges is summarized in the appendix Tables A1 to A4.

 

 

These regime changes and when they occur is relevant, first, to the pricing of financial assets and, secondly, to regulators in the setting of regulatory and risk capital.

 

Assets prices are based on their associated risks. In the low volatility regimes, risks of equities are stable. Asset prices therefore have to be priced with the particular regime in mind. Again, bearing in mind the changes in regimes, long-dated assets like equity derivatives should be staircased so that their prices vary according to market volatility regimes and subsequently change when prices recover or otherwise. For regulators, it is essential the economy uses capital properly. Risk allocation capital of firms should be tied to the regimes and therefore must be allowed to track the risks in the market and fall when volatility recedes. Lindquist (2004) proposed setting capital for especially banks to be sensitive to the risk in their assets. It will be prudent extending this proposal to cover all listed trading institutions to ensure they do not carry too much capital at any time than required.


 CONCLUSION

Volatility is one of the measures used to measure the risk associated with equity trading in financial markets and understanding the dynamics of how this evolved is essential. Equity markets are made up of changing regimes stemming from the underlying shocks in the economy. These changes, according to Ang and Timmermann (2012), influence the level of volatility of the returns. For investment, trading and risk management purposes, detecting the change points in these regimes is essential to investment strategy. Traders able to detect the market regimes are better positioned to manage their strategies to prevent exposure to excess volatility. For the sub-Saharan African frontier markets, switching behaviour as a result of change in macroeconomic policy, regulations to do with financial and capital markets or indeed development in the socio-political landscape present a huge challenge for investment managers. This work helps in the identification of the regimes to help optimize trading in line with the regimes.


 CONFLICT OF INTERESTS

The authors have not declared any conflict of interest.



 REFERENCES

Akella SR, Chen SJ (1990). Interest rate sensitivity of bank stock returns: Specification effects and structural changes. Journal of Financial Research 13(2):147-154.
Crossref

 

Aloui C, Jammazi R (2009). The effects of crude oil shocks on stock market shifts behaviour: A regime switching approach. Energy Economics 31(5):789-799.
Crossref

 

Ang A, Timmermann A (2012). Regime changes and financial markets. Annual Review of Financial Economics 4(1):313-337.
Crossref

 

Arjoon V, Bhatnagar CS (2017). Dynamic herding analysis in a frontier market. Research in International Business and Finance 42:496-508.
Crossref

 

Asongu SA (2013). African stock market performance dynamics: a multidimensional convergence assessment. Journal of African Business 14(3):186-201.
Crossref

 

Assaf AA, Charif H (2017). Market efficiency in the MENA equity markets: Evidence from newly developed tests and regime change. Journal of Reviews on Global Economics 6:15-32.
Crossref

 

Assoe K (1998). Regime-switching in emerging stock market returns. Multinational Journal 2(2):101-132.
Crossref

 

Bahloul S, Abid F (2014). Regime-switching behaviour in the conditional Volatility of MENA stock market returns. Journal of Emerging Market Finance 13(3):253-278.
Crossref

 

Bahrini R, Filfilan A (2020). Impact of the novel coronavirus on stock market returns: evidence from GCC countries. Quantitative Finance and Economics 4(4):640-652.
Crossref

 

Berger D, Pukthuanthong K, Yang JJ (2011). International diversification with frontier markets. Journal of Financial Economics 101(1):227-242.
Crossref

 

Buchanan BG, English II PC, Gordon R (2011). Emerging market benefits, investability and the rule of law. Emerging Markets Review 12(1):47-60.
Crossref

 

Cont R (2001). Empirical Properties of Asset Returns: Stylized Facts and Statistical Issues. Quantitative Finance 1:223-236.
Crossref

 

Crittenden CA, Crittenden WF (2014). The accounting profession's role in corporate governance in frontier markets: A research agenda. Organizations and Markets in Emerging Economies 5(5):7-22.
Crossref

 

Demirel M, Unal G (2020). Applying multivariate-fractionally integrated volatility analysis on emerging market bond portfolios. Financial Innovation 6(1):1-29
Crossref

 

Demirer R (2013). Can advanced markets help diversify risks in frontier stock markets? Evidence from Gulf Arab stock markets. Research in International Business and Finance 29:77-98.
Crossref

 

Elyasiani E, Mansur I (1998). Sensitivity of the bank stock returns distribution to changes in the level and volatility of interest rate: A GARCH-M model. Journal of Banking and Finance 22(5):535-563.
Crossref

 

Engle R (2004). Risk and volatility: Econometric models and financial practice. American Economic Review 94(3):405-420.
Crossref

 

Enisan A, Olufisayo A (2009). Stock market development and economic growth: Evidence from seven sub-Saharan African countries. Journal of Economics and Business 61(2):162-171.
Crossref

 

Ephraim Y, Merhav N (2002). Hidden markov processes. IEEE Transactions on information theory 48(6):1518-1569.
Crossref

 

Fiess N, Shankar R (2009). Determinants of exchange rate regime switching. Journal of International Money and Finance 28(1):68-98.
Crossref

 

Harrison B, Moore W (2012). Stock market efficiency, non-linearity, thin trading and asymmetric information in MENA stock markets. Economic Issues 17(1):77-93.

 

Kenourgios D, Samitas A, Paltalidis N (2011). Financial crises and stock market contagion in a multivariate time-varying asymmetric framework. Journal of International Financial Markets, Institutions and Money 21(1):92-106.
Crossref

 

King D, Botha F (2015). Modelling stock return volatility dynamics in selected African markets. Economic Modelling 45:50-73.
Crossref

 

Kurov A (2010). Investor sentiment and the stock market's reaction to monetary policy. Journal of Banking and Finance 34(1):139-149.
Crossref

 

Lindquist KG (2004). Banks' buffer capital: how important is risk. Journal of International Money and Finance 23(3):493-513.
Crossref

 

Markoff J (1990). Economic crisis and regime change in Brazil: The 1960s and the 1980s. Comparative Politics 22(4):421-444.
Crossref

 

Marques LM, Fuinhas JA, Marques AC (2013). Does the stock market cause economic growth? Portuguese evidence of economic regime change. Economic Modelling 32:316-324.
Crossref

 

Meng XL, van Dyk D (1997). The EM algorithm - an old folk song sung to a fast new tune (with Discussion). Journal of the Royal Statistical Society: Series B 59:511-567.
Crossref

 

Müller UM, Davé RD, Olsen RB, Pictet OV, Von Weizsäcker JE (1997). Volatilities of different time resolutions-analyzing the dynamics of market components. Journal of Empirical Finance 4(2-3):213-239.
Crossref

 

Murphy KP (2012). Machine Learning: A Probabilistic Perspective. MIT Press.

 

Pineiro-Chousa J, Vizcaíno-González M, Caby J (2019). Financial development and standardized reporting: A comparison among developed, emerging, and frontier markets. Journal of Business Research 101:797-802.
Crossref

 

Salami I (2011). Financial regulation in African frontier markets: can the EU approach work? Law and Financial Markets Review 5(5):380-387.
Crossref

 

Schaller H, Norden SV (1997). Regime switching in stock market returns. Applied Financial Economics 7(2):177-191.
Crossref

 

Sukumaran A, Gupta R, Jithendranathan T (2015). Looking at new markets for international diversification: frontier markets. International Journal of Managerial Finance 11(1):97-116.
Crossref

 

Walid C, Chaker A, Masood O, Fry J (2011). Stock market volatility and exchange rates in emerging countries: A Markov-state switching approach. Emerging Markets Review 12(3):272-292.
Crossref

 

Wang P, Theobald M (2008). Regime-switching volatility of six East Asian emerging markets. Research in International Business and Finance 22(3):267-283.
Crossref

 




          */?>