IDEAS home Printed from https://ideas.repec.org/a/eee/chsofr/v202y2026ip2s0960077925016066.html

Mapping inter-city trade networks to maximum entropy models using electronic invoice data

Author

Listed:
  • Sampaio Filho, Cesar I.N.
  • Pires, Rilder S.
  • Carmona, Humberto A.
  • Andrade Jr., José S.

Abstract

We analyze the network of transactions among cities in Ceará state, Brazil, using a database from municipal electronic invoices containing 3.7 billion records from 2016 to 2019. These transactions form an asymmetrical adjacency matrix, representing a directed graph with connections weighted by transaction volumes. Considering Ceará’s vast area, its unequal distribution of wealth, and spatially heterogeneous population density, we identify city communities based on trade intensity, assessing their economic “cohesiveness”. Utilizing the Infomap algorithm, we first determine the network’s optimal community structure in terms of its associated flow dynamics, revealing five distinct modules, whose two-dimensional geographical projections are all simply-connected domains, i.e., consisting of single pieces without holes. We then proceed with the analysis from the perspective of traded products by mapping out bipartite structures between municipalities and products for both buying and selling contexts. Employing the revealed comparative advantage (RCA) approach, we propose a non-monetary, binary activity index to distinguish the trade strength of a city for a class of goods or services as evidenced by trade flows. Finally, through the pairwise Maximum Entropy Model, we can associate to the largest communities their corresponding binary Ising-like Hamiltonian models. For a given community, the local fields and couplings computed are those that best reproduce the average product activities of all cities as well as the statistical correlations between the product activities of all pairs of cities. Remarkably, our findings show that, despite not being explicitly used in the inference method, the observed correlations among triplets of cities are consistently replicated by the derived Ising-like models. Moreover, in an analogy with critical phenomena, our results reveal that each community operates at a “temperature” that is close to the corresponding “critical point”, suggesting a high degree of “economic cohesiveness” in its trade network of cities.

Suggested Citation

  • Sampaio Filho, Cesar I.N. & Pires, Rilder S. & Carmona, Humberto A. & Andrade Jr., José S., 2026. "Mapping inter-city trade networks to maximum entropy models using electronic invoice data," Chaos, Solitons & Fractals, Elsevier, vol. 202(P2).
  • Handle: RePEc:eee:chsofr:v:202:y:2026:i:p2:s0960077925016066
    DOI: 10.1016/j.chaos.2025.117593
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0960077925016066
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.chaos.2025.117593?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. 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).
    2. Cesar A. Hidalgo & Ricardo Hausmann, 2009. "The Building Blocks of Economic Complexity," Papers 0909.3890, arXiv.org.
    3. C. A. Hidalgo & B. Klinger & A. -L. Barabasi & R. Hausmann, 2007. "The Product Space Conditions the Development of Nations," Papers 0708.2090, arXiv.org.
    4. Kate Burleson-Lesser & Flaviano Morone & Paul DeGuzman & Lucas C Parra & Hernán A Makse, 2017. "Collective Behaviour in Video Viewing: A Thermodynamic Analysis of Gaze Position," PLOS ONE, Public Library of Science, vol. 12(1), pages 1-19, January.
    5. Andrew B. Bernard & Stephen J. Redding & Peter K. Schott, 2007. "Comparative Advantage and Heterogeneous Firms," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 74(1), pages 31-66.
    6. 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).
    7. Elad Schneidman & Michael J. Berry & Ronen Segev & William Bialek, 2006. "Weak pairwise correlations imply strongly correlated network states in a neural population," Nature, Nature, vol. 440(7087), pages 1007-1012, April.
    8. Matthieu Cristelli & Andrea Gabrielli & Andrea Tacchella & Guido Caldarelli & Luciano Pietronero, 2013. "Measuring the Intangibles: A Metrics for the Economic Complexity of Countries and Products," PLOS ONE, Public Library of Science, vol. 8(8), pages 1-20, August.
    9. Felipe G Operti & Emanuele Pugliese & José S Andrade Jr. & Luciano Pietronero & Andrea Gabrielli, 2018. "Dynamics in the Fitness-Income plane: Brazilian states vs World countries," PLOS ONE, Public Library of Science, vol. 13(6), pages 1-20, June.
    10. Richard R Stein & Debora S Marks & Chris Sander, 2015. "Inferring Pairwise Interactions from Biological Data Using Maximum-Entropy Probability Models," PLOS Computational Biology, Public Library of Science, vol. 11(7), pages 1-22, July.
    11. Gašper Tkačik & Olivier Marre & Dario Amodei & Elad Schneidman & William Bialek & Michael J Berry II, 2014. "Searching for Collective Behavior in a Large Network of Sensory Neurons," PLOS Computational Biology, Public Library of Science, vol. 10(1), pages 1-23, January.
    12. Martin Rosvall & Carl T Bergstrom, 2011. "Multilevel Compression of Random Walks on Networks Reveals Hierarchical Organization in Large Integrated Systems," PLOS ONE, Public Library of Science, vol. 6(4), pages 1-10, April.
    13. Tacchella, A. & Cristelli, M. & Caldarelli, G. & Gabrielli, A. & Pietronero, L., 2013. "Economic complexity: Conceptual grounding of a new metrics for global competitiveness," Journal of Economic Dynamics and Control, Elsevier, vol. 37(8), pages 1683-1691.
    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. Bernardo Caldarola & Dario Mazzilli & Lorenzo Napolitano & Aurelio Patelli & Angelica Sbardella, 2023. "Economic complexity and the sustainability transition: A review of data, methods, and literature," Papers 2308.07172, arXiv.org, revised Mar 2024.
    2. Yamada, Eri & Balland, Pierre-Alexandre & Kawakami, Tetsu & Nemoto, Jiro, 2025. "The structure and dynamics of the auto parts industry: Product space and complexity perspectives," Structural Change and Economic Dynamics, Elsevier, vol. 73(C), pages 472-485.
    3. Castañeda, Gonzalo & Pietronero, Luciano & Romero-Padilla, Juan & Zaccaria, Andrea, 2022. "The complex dynamic of growth: Fitness and the different patterns of economic activity in the medium and long terms," Structural Change and Economic Dynamics, Elsevier, vol. 62(C), pages 231-246.
    4. 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).
    5. Sudeshna Ghosh & Buhari Doğan & Muhlis Can & Muhammad Ibrahim Shah & Nicholas Apergis, 2023. "Correction to: does economic structure matter for income inequality?," Quality & Quantity: International Journal of Methodology, Springer, vol. 57(6), pages 5739-5739, December.
    6. Nordlund, Carl, 2023. "Transformations, trajectories and similarities of national production structures: a comparative fingerprinting approach," SocArXiv 6byxh, Center for Open Science.
    7. Antonis Adam & Antonios Garas & Marina-Selini Katsaiti & Athanasios Lapatinas, 2023. "Economic complexity and jobs: an empirical analysis," Economics of Innovation and New Technology, Taylor & Francis Journals, vol. 32(1), pages 25-52, January.
    8. Sèna Kimm Gnangnon, 2023. "Do unilateral trade preferences help reduce poverty in beneficiary countries?," International Journal of Economic Policy Studies, Springer, vol. 17(1), pages 249-288, February.
    9. Patelli, Aurelio & Napolitano, Lorenzo & Cimini, Giulio & Gabrielli, Andrea, 2023. "Geography of science: Competitiveness and inequality," Journal of Informetrics, Elsevier, vol. 17(1).
    10. Stefan Apostol & Eduardo Hernández-Rodríguez, 2023. "Digitalisation in European regions: Unravelling the impact of relatedness and complexity on digital technology adoption and productivity growth," Papers in Evolutionary Economic Geography (PEEG) 2317, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised Aug 2023.
    11. Duygu Buyukyazici & Leonardo Mazzoni & Massimo Riccaboni & Francesco Serti, 2024. "Workplace skills as regional capabilities: relatedness, complexity and industrial diversification of regions," Regional Studies, Taylor & Francis Journals, vol. 58(3), pages 469-489, March.
    12. Charles D. Brummitt & Andres Gomez-Lievano & Ricardo Hausmann & Matthew H. Bonds, 2018. "Machine-learned patterns suggest that diversification drives economic development," Papers 1812.03534, arXiv.org.
    13. Francesco de Cunzo & Alberto Petri & Andrea Zaccaria & Angelica Sbardella, 2022. "The trickle down from environmental innovation to productive complexity," Papers 2206.07537, arXiv.org.
    14. Tacchella, Andrea & Zaccaria, Andrea & Miccheli, Marco & Pietronero, Luciano, 2023. "Relatedness in the era of machine learning," Chaos, Solitons & Fractals, Elsevier, vol. 176(C).
    15. Abbasiharofteh, Milad & Kogler, Dieter F. & Lengyel, Balázs, 2023. "Atypical combinations of technologies in regional co-inventor networks," Research Policy, Elsevier, vol. 52(10).
    16. Andrea Tacchella & Andrea Zaccaria & Marco Miccheli & Luciano Pietronero, 2021. "Relatedness in the Era of Machine Learning," Papers 2103.06017, arXiv.org.
    17. Fabio Saracco & Riccardo Di Clemente & Andrea Gabrielli & Luciano Pietronero, 2015. "From Innovation to Diversification: A Simple Competitive Model," PLOS ONE, Public Library of Science, vol. 10(11), pages 1-19, November.
    18. Hao Liao & Xiao-Min Huang & Xing-Tong Wu & Ming-Kai Liu & Alexandre Vidmer & Mingyang Zhou & Yi-Cheng Zhang, 2019. "Enhancing countries' fitness with recommender systems on the international trade network," Papers 1904.02412, arXiv.org.
    19. 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.
    20. Hidalgo, César & Stojkoski, Viktor, 2025. "The Theory of Economic Complexity," TSE Working Papers 1648, Toulouse School of Economics (TSE), revised Aug 2025.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    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:eee:chsofr:v:202:y:2026:i:p2:s0960077925016066. 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: Thayer, Thomas R. (email available below). General contact details of provider: https://www.journals.elsevier.com/chaos-solitons-and-fractals .

    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.