Empirical Economics

, Volume 55, Issue 2, pp 713–729 | Cite as

Exploring the influence of industries and randomness in stock prices

  • Ivan ContrerasEmail author
  • J. Ignacio Hidalgo
  • Laura Nuñez


This study explores the behavior of time series of historical prices and makes two additional contributions to the literature. In summarized form, we present an overview of each of the financial theories that discuss the movements of stock prices and their connection with industry trends. Within this theoretical framework, we first propose that prices be distinguished by following stock prices and a random-walk approach, and second, that the analysis of historical prices be broken down by industries. Similarities among price series are extracted through a clustering methodology based on an approach to non-computable Kolmogorov complexity. We model price series by following geometric Brownian motion and compare them to historical series of stock prices. Our first contribution confirms the existence of hidden common patterns in time series of historical prices that are clearly distinguishable from simulated series. The second contribution claims strong connections among firms carrying out similar industrial activities. The results confirm that stock prices belonging to the same industry behave similarly, whereas they behave differently from those of firms in other industries. Our research sheds new light on the stylized feature of the non-randomness of stock prices by pointing at fundamental aspects related to the industry as partial explanatory factors behind price movements.


Time series Stock prices Information theory Random walk Industry analysis Macroeconomic analysis Clustering 

JEL Classification

C63 C81 



This work was partially supported by the Spanish Government Minister of Science and Innovation under Grant TIN2014-54806-R and the People Programme (Marie Curie Actions) of the Seventh Framework Programme of the European Union (FP7/2007-2013) under REA Grant No. 600388 (TECNIOspring programme), and from the Agency for Business Competitiveness of the Government of Catalonia, ACCIÓ. J.I.Hidalgo also acknowledges the support of the Spanish Ministry of Education mobility Grant PRX16/00216.


  1. Bailey M, Oberheide J, Andersen J, Mao ZM, Jahanian F, Nazario J (2007) Automated classification and analysis of internet malware, Recent advances intrusion detection. Springer, pp 178–197Google Scholar
  2. Campbell JY, Shiller RJ (1998) Valuation ratios and the long-run stock market outlook. J Portf Manag 24:11–26CrossRefGoogle Scholar
  3. Chang P-C, Liu C-H, Fan C-Y (2009) Data clustering and fuzzy neural network for sales forecasting: a case study in printed circuit board industry. Knowl Base Syst 22:344–355CrossRefGoogle Scholar
  4. Charest G (1978) Split information, stock returns and market efficiency-I. J Financ Econ 6:265–296CrossRefGoogle Scholar
  5. Chen X, Francia B, Li M, Mckinnon B, Seker A (2004) Shared information and program plagiarism detection. IEEE Trans Inf Theory 50:1545–1551CrossRefGoogle Scholar
  6. Cilibrasi R, Vitányi P, De Wolf R (2004) Algorithmic clustering of music based on string compression. Comput Music J 28:49–67CrossRefGoogle Scholar
  7. Contreras I, Arnaldo I, Krasnogor N, Hidalgo JI (2014) Blind optimisation problem instance classification via enhanced universal similarity metric. Memet Comput 6:263–276Google Scholar
  8. Contreras I, Hidalgo JI, Núñez L (2015) Time Series of Stock Prices and Randomness: Undercover Patterns, in: Proceedings The 2015 Northeast Decision Sciences Institute (NEDSI) conference, March 20–22, 2015, Boston, MA, USAGoogle Scholar
  9. Contreras I, Quirós C, Giménez M, Conget I, Vehi J (2016) Profiling intra-patient type I diabetes behaviors. Comput Methods Programs Biomed 136:131–141CrossRefGoogle Scholar
  10. Cootner PH (1964) The random character of stock market prices. M.I.T. Press, CambridgeGoogle Scholar
  11. Dawyndt P, De Meyer H, De Baets B (2005) The complete linkage clustering algorithm revisited. Soft Comput 9:385–392CrossRefGoogle Scholar
  12. Duchon J, Robert R, Vargas V (2012) Forecasting volatility with the multifractal random walk model. Math Financ 22:83–108CrossRefGoogle Scholar
  13. Fama EF (1965) The behavior of stock-market prices. J Bus 38:34–105CrossRefGoogle Scholar
  14. Fama EF (1998) Market efficiency, long-term returns, and behavioral finance1. J Financ Econ 49:283–306CrossRefGoogle Scholar
  15. Fruchterman TM, Reingold EM (1991) Graph drawing by force-directed placement. Softw Pract Exp 21:1129–1164CrossRefGoogle Scholar
  16. Gheorghescu M (2005) An automated virus classification system, Virus bulletin Conference. Citeseer, pp. 294–300Google Scholar
  17. Hong H, Torous W, Valkanov R (2007) Do industries lead stock markets? J Financ Econ 83:367–396CrossRefGoogle Scholar
  18. Kolmogorov AN (1968) Three approaches to the quantitative definition of information*. Int J Comput Math 2:157–168CrossRefGoogle Scholar
  19. Krasnogor N, Pelta DA (2004) Measuring the similarity of protein structures by means of the universal similarity metric. Bioinformatics 20:1015–1021CrossRefGoogle Scholar
  20. Lo AW, MacKinlay AC (2002) A non-random walk down Wall Street. Princeton University Press, PrincetonGoogle Scholar
  21. Malkiel BG (1973) A random walk down Wall Street. Norton and Company, New YorkGoogle Scholar
  22. Mark Davis AE (2006) Louis Bachelier’s theory of speculation: the origins of modern finance. Princeton University Press, PrincetonGoogle Scholar
  23. Menzly L, Ozbas O (2010) Market segmentation and cross-predictability of returns. J Financ 65:1555–1580CrossRefGoogle Scholar
  24. Mittermayer M-A (2004) Forecasting intraday stock price trends with text mining techniques. In: System Sciences, 2004. Proceedings 37th Annual Hawaii International Conference. IEEE, p 10Google Scholar
  25. Moskowitz TJ, Grinblatt M (1999) Do industries explain momentum? J Financ 54:1249–1290CrossRefGoogle Scholar
  26. O’Neil WJ, Ryan C (1988) How to make money in stocks. McGraw-Hill New York, New YorkGoogle Scholar
  27. Rao DT, Mandia J, Anand A (2012) Risk-return analysis of sectorial portfolios of stocks. Econ Manag Financ Mark 7:108Google Scholar
  28. Rapach DE, Wohar ME (2005) Valuation ratios and long-horizon stock price predictability. J Appl Econ 20:327–344CrossRefGoogle Scholar
  29. Roberts HV (1959) Stock-market patterns and financial analysis: methodological suggestions. J Financ 14:1–10Google Scholar
  30. Roll R (1992) Industrial structure and the comparative behavior of international stock market indices. J Financ 47:3–41CrossRefGoogle Scholar
  31. Shiller RJ (2003) From efficient markets theory to behavioral finance. J Econ Perspect 17:83–104CrossRefGoogle Scholar
  32. Taylor SJ (1982) Tests of the random walk hypothesis against a price-trend hypothesis. J Financ Quant Anal 17:37–61CrossRefGoogle Scholar

Copyright information

© Springer-Verlag GmbH Germany 2017

Authors and Affiliations

  • Ivan Contreras
    • 1
    Email author
  • J. Ignacio Hidalgo
    • 2
  • Laura Nuñez
    • 3
  1. 1.Institut d’Informatica i AplicacionsUniversitat de GironaGironaSpain
  2. 2.Adaptive and Bioinspired Systems Research GroupUniversidad Complutense de MadridMadridSpain
  3. 3.IE Business SchoolMadridSpain

Personalised recommendations