ergm: A package to fit, simulate and diagnose exponential-family models for networks

David R. Hunter, Mark S. Handcock, Carter T. Butts, Steven M. Goodreau, Martina Morris

Research output: Contribution to journalArticle

331 Scopus citations


We describe some of the capabilities of the ergm package and the statistical theory underlying it. This package contains tools for accomplishing three important, and interrelated, tasks involving exponential-family random graph models (ERGMs): estimation, simulation, and goodness of fit. More precisely, ergm has the capability of approximating a maximum likelihood estimator for an ERGM given a network data set; simulating new network data sets from a fitted ERGM using Markov chain Monte Carlo; and assessing how well a fitted ERGM does at capturing characteristics of a particular network data set.

Original languageEnglish (US)
JournalJournal of Statistical Software
Issue number3
StatePublished - Feb 2008


All Science Journal Classification (ASJC) codes

  • Software
  • Statistics and Probability
  • Statistics, Probability and Uncertainty

Cite this