SGL: Stata Graph Library for network analysis
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.
References listed on IDEAS
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.:
- Leo Katz, 1953. "A new status index derived from sociometric analysis," Psychometrika, Springer;The Psychometric Society, vol. 18(1), pages 39-43, March.
- Rense Corten, 2011. "Visualization of social networks in Stata using multidimensional scaling," Stata Journal, StataCorp LP, vol. 11(1), pages 52-63, March.