IDEAS home Printed from https://ideas.repec.org/p/gre/wpaper/2025-50.html

COMPLEXITY: A Generalized Approach in Stata for Specialization Complexity Indices

Author

Listed:
  • Charlie Joyez

    (Université Côte d'Azur, CNRS, GREDEG, France)

Abstract

We introduce complexity, a Stata command available on SSC that computes generalized complexity indices for specialization matrices. Originally developed for assessing economic complexity with global trade data (Hidalgo and Hausmann, 2009), these metrics have since been extended to various domains including regional development, innovation, and labor economics. The complexity command implements three core methodologies: the eigenvector method (Hausmann et al., 2011a), the Method of Reflection (Hidalgo and Hausmann, 2009), and the fitness-complexity approach (Tacchella et al., 2012). It also computes relatedness metrics such as coherence, adjacency matrices of the activity space network, and the complexity outlook as a measure of complexity potential. We describe the syntax and options, review the underlying algorithms, and provide applied examples

Suggested Citation

  • Charlie Joyez, 2025. "COMPLEXITY: A Generalized Approach in Stata for Specialization Complexity Indices," GREDEG Working Papers 2025-50, Groupe de REcherche en Droit, Economie, Gestion (GREDEG CNRS), Université Côte d'Azur, France.
  • Handle: RePEc:gre:wpaper:2025-50
    as

    Download full text from publisher

    File URL: http://195.220.190.85/GREDEG-WP-2025-50.pdf
    File Function: First version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Frank Neffke & Martin Henning & Ron Boschma, 2011. "How Do Regions Diversify over Time? Industry Relatedness and the Development of New Growth Paths in Regions," Economic Geography, Taylor & Francis Journals, vol. 87(3), pages 237-265, July.
    2. repec:osf:socarx:2gw9c_v1 is not listed on IDEAS
    3. Anne Otto & Sebastian Losacker & Hendrik Hansmeier, 2025. "Relatedness, complexity, and regional development paths in Germany: a sequencing approach," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 74(2), pages 1-26, June.
    4. Ron Boschma & Pierre-Alexandre Balland & Dieter Franz Kogler, 2015. "Relatedness and technological change in cities: the rise and fall of technological knowledge in US metropolitan areas from 1981 to 2010," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 24(1), pages 223-250.
    5. Diodato, Dario & Neffke, Frank & O’Clery, Neave, 2018. "Why do industries coagglomerate? How Marshallian externalities differ by industry and have evolved over time," Journal of Urban Economics, Elsevier, vol. 106(C), pages 1-26.
    6. Neave O’Clery & Muhammed Ali Yıldırım & Ricardo Hausmann, 2021. "Productive Ecosystems and the arrow of development," Nature Communications, Nature, vol. 12(1), pages 1-14, December.
    7. Hausmann, Ricardo & Hidalgo, Cesar, 2014. "The Atlas of Economic Complexity: Mapping Paths to Prosperity," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262525429, December.
    8. Fritz, Benedikt & Manduca, Robert, 2021. "The Economic Complexity of US Metropolitan Areas," SocArXiv 2gw9c, Center for Open Science.
    9. Benedikt S. L. Fritz & Robert A. Manduca, 2021. "The economic complexity of US metropolitan areas," Regional Studies, Taylor & Francis Journals, vol. 55(7), pages 1299-1310, July.
    10. Pierre-Alexandre Balland & David Rigby, 2017. "The Geography of Complex Knowledge," Economic Geography, Taylor & Francis Journals, vol. 93(1), pages 1-23, January.
    11. Pierre-Alexandre Balland & Ron Boschma, 2021. "Complementary interregional linkages and Smart Specialisation: an empirical study on European regions," Regional Studies, Taylor & Francis Journals, vol. 55(6), pages 1059-1070, June.
    12. Emanuele Pugliese & Lorenzo Napolitano & Andrea Zaccaria & Luciano Pietronero, 2019. "Coherent diversification in corporate technological portfolios," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-22, October.
    13. Martin Henning & Rikard Eriksson & Petrus Garefelt & Hanna Martin & Zoltán Elekes, 2025. "Job relatedness, local skill coherence and economic performance: a job postings approach," Regional Studies, Regional Science, Taylor & Francis Journals, vol. 12(1), pages 95-122, December.
    14. C. A. Hidalgo & B. Klinger & A. -L. Barabasi & R. Hausmann, 2007. "The Product Space Conditions the Development of Nations," Papers 0708.2090, arXiv.org.
    15. Pierre-Alexandre Balland & Cristian Jara-Figueroa & Sergio G. Petralia & Mathieu P. A. Steijn & David L. Rigby & César A. Hidalgo, 2020. "Complex economic activities concentrate in large cities," Nature Human Behaviour, Nature, vol. 4(3), pages 248-254, March.
    16. David J. Teece & Richard Rumelt & Giovanni Dosi & Sidney Winter, 2000. "Understanding Corporate Coherence: Theory and Evidence," Chapters, in: Innovation, Organization and Economic Dynamics, chapter 9, pages 264-293, Edward Elgar Publishing.
    17. Flavio L. Pinheiro & Pierre-Alexandre Balland & Ron Boschma & Dominik Hartmann, 2025. "The dark side of the geography of innovation: relatedness, complexity and regional inequality in Europe," Regional Studies, Taylor & Francis Journals, vol. 59(1), pages 2106362-210, December.
    18. Pierre-Alexandre Balland & Ron Boschma & Joan Crespo & David L. Rigby, 2019. "Smart specialization policy in the European Union: relatedness, knowledge complexity and regional diversification," Regional Studies, Taylor & Francis Journals, vol. 53(9), pages 1252-1268, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Hidalgo, César A., 2023. "The policy implications of economic complexity," Research Policy, Elsevier, vol. 52(9).
    2. Balland, Pierre-Alexandre & Broekel, Tom & Diodato, Dario & Giuliani, Elisa & Hausmann, Ricardo & O'Clery, Neave & Rigby, David, 2022. "Reprint of The new paradigm of economic complexity," Research Policy, Elsevier, vol. 51(8).
    3. Balland, Pierre-Alexandre & Broekel, Tom & Diodato, Dario & Giuliani, Elisa & Hausmann, Ricardo & O'Clery, Neave & Rigby, David, 2022. "The new paradigm of economic complexity," Research Policy, Elsevier, vol. 51(3).
    4. DIODATO Dario, 2024. "Handbook of Economic Complexity for Policy," JRC Research Reports JRC138666, Joint Research Centre.
    5. World Bank, 2023. "Manufacturing Firm Diversification into Industry 4.0 Technologies," World Bank Publications - Reports 40246, The World Bank Group.
    6. Anne Otto & Sebastian Losacker & Hendrik Hansmeier, 2025. "Relatedness, complexity, and regional development paths in Germany: a sequencing approach," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 74(2), pages 1-26, June.
    7. Mariane Santos Françoso & Ron Boschma & Nicholas Vonortas, 2024. "Regional diversification in Brazil: The role of relatedness and complexity," Growth and Change, Wiley Blackwell, vol. 55(1), March.
    8. Jin, Wenwan & Zhu, Shengjun & Li, Deyu & He, Canfei, 2025. "Transcending the geographical stickiness of complex economic activities via strategic unrelated diversification," Structural Change and Economic Dynamics, Elsevier, vol. 73(C), pages 65-76.
    9. Sabrina Aufiero & Giordano De Marzo & Angelica Sbardella & Andrea Zaccaria, 2023. "Mapping job complexity and skills into wages," Papers 2304.05251, arXiv.org.
    10. Pinheiro, Flávio L. & Hartmann, Dominik & Boschma, Ron & Hidalgo, César A., 2022. "The time and frequency of unrelated diversification," Research Policy, Elsevier, vol. 51(8).
    11. Seung Hwan Kim & Jeong hwan Jeon & Anwar Aridi & Bogang Jun, 2022. "Factors that affect the technological transition of firms toward the industry 4.0 technologies," Papers 2209.02239, arXiv.org.
    12. C'esar A. Hidalgo, 2022. "The Policy Implications of Economic Complexity," Papers 2205.02164, arXiv.org, revised Aug 2023.
    13. R. Boschma & Eduardo Hernández-Rodríguez & A. Morrison & C. Pietrobelli, 2021. "Do global value chains and local capabilities matter for economic complexity in EU regions?," Papers in Evolutionary Economic Geography (PEEG) 2139, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised Dec 2021.
    14. Sándor Juhász & Tom Broekel & Ron Boschma, 2021. "Explaining the dynamics of relatedness: The role of co‐location and complexity," Papers in Regional Science, Wiley Blackwell, vol. 100(1), pages 3-21, February.
    15. Yang Li & Frank Neffke, 2022. "Relatedness in regional development: in search of the right specification," Papers in Evolutionary Economic Geography (PEEG) 2208, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised Apr 2022.
    16. Mert Abay & Sedef Akgüngör, 2024. "Technological paths and smart specialization: analysis of regional entry and exit in Turkey," Asia-Pacific Journal of Regional Science, Springer, vol. 8(1), pages 45-84, March.
    17. Bustos, Sebastián & Yıldırım, Muhammed A., 2022. "Production Ability and economic growth," Research Policy, Elsevier, vol. 51(8).
    18. Colozza, Federico & Boschma, Ron & Morrison, Andrea & Pietrobelli, Carlo, 2021. "The importance of global value chains and regional capabilities for the economic complexity of EU-regions," MERIT Working Papers 2021-051, United Nations University - Maastricht Economic and Social Research Institute on Innovation and Technology (MERIT).
    19. N. Cortinovis & D. Zhang & R. Boschma, 2024. "Regional diversification and intra-regional wage inequality in the Netherlands," Regional Studies, Taylor & Francis Journals, vol. 58(12), pages 2292-2306, December.
    20. Wonsub Eum & Jeong‐Dong Lee, 2022. "Alternative paths of diversification for developing countries," Review of Development Economics, Wiley Blackwell, vol. 26(4), pages 2336-2355, November.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gre:wpaper:2025-50. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Patrice Bougette (email available below). General contact details of provider: https://edirc.repec.org/data/credcfr.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.