Skip to content

Rense Corten

Computational sociology, social networks, and cooperation

Menu
  • About me
  • Blog
  • Research
    • Social Network Analysis with Stata
  • Teaching
Menu

More SNA in Stata: centpow and networks

Posted on 14/12/2010

Doing network analysis in Stata seems to become more and more popular. In October, we saw the release of centpow by Zachary Neal, which computes various centrality measures. Last week I learned of a new Stata package called networks, developed by Hirotaka Miura at the Federal Reserve Bank of San Francisco. Networks computes betweenness centrality, distances, and clustering, and lets you create adjacency matrices and node lists from edgelists that are stored as Stata variables. I played around with it and it seems to work really well and reasonably fast, even on the 1000-node network that I threw at it. Actually using the results takes some work, because all results are returned as Stata and Mata matrices, and/or csv-files. Check out the Stata Graph Library website for downloads and details.

On a more general note, even though I am exited to see SNA in Stata gaining momentum, a remaining problem is that there is not yet a clear standard  for the treatment of network data. networks, stata2pajek, and neplot assume edge- or arc lists stored as dta files, but centpow uses a comma-delimited text file, while pajek2stata returns as a list of nodes in a Stata variable and the network in a square Mata matrix. Who comes up with the one format to rule them all?

Recent Comments

  • michal on Duncan Watts on common sense
  • Rense on On unsolved sociological questions
  • Gabriel rossman on On unsolved sociological questions

Categories

  • Everything (8)
  • In het Nederlands (1)
  • Other (2)
  • Politics (2)
  • Science (4)
  • SNA with stata (9)
  • Social Networks (27)
  • Social Science (16)
  • Sociology (32)
  • Stata (7)
  • The Netherlands (8)
  • The Universe (2)

Blogroll

  • Brokering the Closure
  • Chris Snijders
  • Code and Culture
  • Orgtheory.net
  • Permutations
  • Social Science Statistics Blog

Links

  • GECS
  • ICS
  • INSNA
  • International Network of Analytical Sociologists
  • Mathematical Sociology Section (ASA)
  • My Google Scholar profile
  • My official UU webpage

Contact

r.corten [at] uu.nl
@RenseC

Subscribe

RSS Feed RSS
©2025 Rense Corten | Design: Newspaperly WordPress Theme