IDEAS home Printed from https://ideas.repec.org/p/boc/chic11/7.html
   My bibliography  Save this paper

SGL: Stata Graph Library for network analysis

Author

Listed:
  • Hirotaka Miura

    (Federal Reserve Bank of San Francisco)

Abstract

Network analysis is becoming a popular field of research. Though sophisticated packages exist for analyzing networks, such as sna, igraph, and RBGL packages developed for R and MatlabBGL implemented in Matlab, similar programs have yet to be written for Stata. I attempt to fill this void by designing the Stata Graph Library (SGL) in Mata which consists of functions that construct network centrality measures, metrics, and matrices. SGL retrieves relational data from an edge list defined by existing Stata variables or from matrices stored in Mata. SGL is built to work within Stata version 11.1 and is intended for both directed and undirected networks, either of which can be weighted by positive values or unweighted. This paper provides a brief overview of concepts related to network analysis and introduces Stata Graph Library functions that generate matrix representations, centrality measures, and clustering coefficients for directed or undirected networks with or without positive weights.

Suggested Citation

  • Hirotaka Miura, 2011. "SGL: Stata Graph Library for network analysis," CHI11 Stata Conference 7, Stata Users Group.
  • Handle: RePEc:boc:chic11:7
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/chic2011/chi11_miura.pdf
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/chic2011/chi11_miura_SGL_version_1.1.2.zip
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Rense Corten, 2011. "Visualization of social networks in Stata using multidimensional scaling," Stata Journal, StataCorp LP, vol. 11(1), pages 52-63, March.
    2. Leo Katz, 1953. "A new status index derived from sociometric analysis," Psychometrika, Springer;The Psychometric Society, vol. 18(1), pages 39-43, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Caballero, Julian & Candelaria, Christopher & Hale, Galina, 2018. "Bank linkages and international trade," Journal of International Economics, Elsevier, vol. 115(C), pages 30-47.
    2. Hale, Galina, 2012. "Bank relationships, business cycles, and financial crises," Journal of International Economics, Elsevier, vol. 88(2), pages 312-325.
    3. Sufrauj, Shamnaaz & Schiavo, Stefano & Riccaboni, Massimo, 2014. "The Structure and Growth of World Trade, and the Role of Europe in the Global Economy," MPRA Paper 54122, University Library of Munich, Germany.

    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. Thomas J. Sargent & John Stachurski, 2022. "Economic Networks: Theory and Computation," Papers 2203.11972, arXiv.org, revised Jul 2022.
    2. Karimi, Fatemeh & Lotfi, Shahriar & Izadkhah, Habib, 2021. "Community-guided link prediction in multiplex networks," Journal of Informetrics, Elsevier, vol. 15(4).
    3. D’Errico, Marco & Battiston, Stefano & Peltonen, Tuomas & Scheicher, Martin, 2018. "How does risk flow in the credit default swap market?," Journal of Financial Stability, Elsevier, vol. 35(C), pages 53-74.
    4. Liu, Xiaodong & Patacchini, Eleonora & Zenou, Yves & Lee, Lung-Fei, 2011. "Criminal Networks: Who is the Key Player?," Research Papers in Economics 2011:7, Stockholm University, Department of Economics.
    5. Agnieszka Rusinowska & Rudolf Berghammer & Harrie de Swart & Michel Grabisch, 2011. "Social networks: Prestige, centrality, and influence (Invited paper)," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) hal-00633859, HAL.
    6. Gabrielle Demange, 2018. "Contagion in Financial Networks: A Threat Index," Management Science, INFORMS, vol. 64(2), pages 955-970, February.
    7. Lin, Dan & Wu, Jiajing & Xuan, Qi & Tse, Chi K., 2022. "Ethereum transaction tracking: Inferring evolution of transaction networks via link prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 600(C).
    8. Yao Hongxing & Lu Yunxia, 2017. "Analyzing the Potential Influence of Shanghai Stock Market Based on Link Prediction Method," Journal of Systems Science and Information, De Gruyter, vol. 5(5), pages 446-461, October.
    9. Zhepeng Li & Xiao Fang & Xue Bai & Olivia R. Liu Sheng, 2017. "Utility-Based Link Recommendation for Online Social Networks," Management Science, INFORMS, vol. 63(6), pages 1938-1952, June.
    10. Sheikhahmadi, Amir & Nematbakhsh, Mohammad Ali & Shokrollahi, Arman, 2015. "Improving detection of influential nodes in complex networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 436(C), pages 833-845.
    11. Dequiedt, Vianney & Zenou, Yves, 2017. "Local and consistent centrality measures in parameterized networks," Mathematical Social Sciences, Elsevier, vol. 88(C), pages 28-36.
    12. ,, 2014. "A ranking method based on handicaps," Theoretical Economics, Econometric Society, vol. 9(3), September.
    13. Ernest Liu & Aleh Tsyvinski, 2021. "Dynamical Structure and Spectral Properties of Input-Output Networks," Working Papers 2021-13, Princeton University. Economics Department..
    14. Richard W. Carney & Travers Barclay Child, 2015. "Business Networks and Crisis Performance: Professional, Political, and Family Ties," Tinbergen Institute Discussion Papers 15-135/V, Tinbergen Institute, revised 20 Feb 2015.
    15. Wu, Tao & Xian, Xingping & Zhong, Linfeng & Xiong, Xi & Stanley, H. Eugene, 2018. "Power iteration ranking via hybrid diffusion for vital nodes identification," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 506(C), pages 802-815.
    16. Shenshen Bai & Longjie Li & Jianjun Cheng & Shijin Xu & Xiaoyun Chen, 2018. "Predicting Missing Links Based on a New Triangle Structure," Complexity, Hindawi, vol. 2018, pages 1-11, December.
    17. Michel Grabisch & Agnieszka Rusinowska, 2015. "Lattices in Social Networks with Influence," International Game Theory Review (IGTR), World Scientific Publishing Co. Pte. Ltd., vol. 17(01), pages 1-18.
    18. Bouveret, Géraldine & Mandel, Antoine, 2021. "Social interactions and the prophylaxis of SI epidemics on networks," Journal of Mathematical Economics, Elsevier, vol. 93(C).
    19. Noah E. Friedkin & Karen S. Cook, 1990. "Peer Group Influence," Sociological Methods & Research, , vol. 19(1), pages 122-143, August.
    20. Wang, Feifei & Sun, Zejun & Gan, Quan & Fan, Aiwan & Shi, Hesheng & Hu, Haifeng, 2022. "Influential node identification by aggregating local structure information," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).

    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:boc:chic11:7. 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: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.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.