SGL: Stata Graph Library for network analysis
AbstractNetwork 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.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Stata Users Group in its series CHI11 Stata Conference with number 7.
Date of creation: 20 Jul 2011
Date of revision:
This paper has been announced in the following NEP Reports:
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Rense Corten, 2011. "Visualization of social networks in Stata using multidimensional scaling," Stata Journal, StataCorp LP, vol. 11(1), pages 52-63, March.
- Leo Katz, 1953. "A new status index derived from sociometric analysis," Psychometrika, Springer, vol. 18(1), pages 39-43, March.
- Galina Hale, 2011.
"Bank Relationships, Business Cycles, and Financial Crises,"
NBER Working Papers
17356, National Bureau of Economic Research, Inc.
- Hale, Galina, 2012. "Bank relationships, business cycles, and financial crises," Journal of International Economics, Elsevier, vol. 88(2), pages 312-325.
- Galina Hale, 2011. "Bank Relationships, Business Cycles, and Financial Crises," NBER Chapters, in: Global Financial Crisis National Bureau of Economic Research, Inc.
- Galina Hale, 2011. "Bank relationships, business cycles, and financial crisis," Working Paper Series 2011-14, Federal Reserve Bank of San Francisco.
- 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.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.