Analysis of Herd Behavior in Stock Prices Using Machine Learning

  • Gerard RiqueEmail author
  • Patrick Hosein
  • Vaalmikki Arjoon
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11938)


In this paper, we consider the problem of herding behaviour in a Stock Exchange. Herding occurs when amateur investors follow the advice of financial gurus since they do not have the time, expertise or finances to do the research that is typically performed by these gurus. Although herding is well understood, many of the previous analyses have been through the use of statistical techniques. In this paper we have a second look using Machine Learning and demonstrate its effectiveness. We use a dataset obtained from the Singapore Stock exchange. Stocks were grouped into different portfolios based on the number of shares traded per day. Results from the algorithm show that herding is evident in each portfolio. We also find that herding is more pronounced among stocks that have higher volumes of shares traded.


Herd behavior Machine learning Regression 


  1. 1.
    Ahmed, N.K., Atiya, A.F., Gayar, N.E., El-Shishiny, H.: An empirical comparison of machine learning models for time series forecasting. Econ. Rev. 29(5–6), 594–621 (2010)MathSciNetCrossRefGoogle Scholar
  2. 2.
    Bottou, L.: Large-scale machine learning with stochastic gradient descent. In: Lechevallier, Y., Saporta, G. (eds.) COMPSTAT 2010, pp. 177–186. Springer, Heidelberg (2010). Scholar
  3. 3.
    Chang, E.C., Cheng, J.W., Khorana, A.: An examination of herd behavior in equity markets: an international perspective. J. Bank. Financ. 24(10), 1651–1679 (2000)CrossRefGoogle Scholar
  4. 4.
    Chiang, T.C., Zheng, D.: An empirical analysis of herd behavior in global stock markets. J. Bank. Financ. 34(8), 1911–1921 (2010)CrossRefGoogle Scholar
  5. 5.
    Christie, W.G., Huang, R.D.: Following the pied piper: do individual returns herd around the market? Financ. Anal. J. 51(4), 31–37 (1995)CrossRefGoogle Scholar
  6. 6.
    Economou, F., Kostakis, A., Philippas, N.: Cross-country effects in herding behaviour: evidence from four South European markets. J. Int. Financ. Mark. Inst. Money 21(3), 443–460 (2011)CrossRefGoogle Scholar
  7. 7.
    Jung, J.K., Patnam, M., Ter-Martirosyan, A.: An Algorithmic Crystal Ball: Forecasts-based on Machine Learning. International Monetary Fund (2018)Google Scholar
  8. 8.
    Laih, Y.W., Liau, Y.S.: Herding behavior during the subprime mortgage crisis: evidence from six Asia-Pacific stock markets. Int. J. Econ. Financ. 5(7), 71–84 (2013)CrossRefGoogle Scholar
  9. 9.
    Lao, P., Singh, H.: Herding behaviour in the Chinese and Indian stock markets. J. Asian Econ. 22(6), 495–506 (2011)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.The University of the West IndiesSt. AugustineTrinidad and Tobago

Personalised recommendations