ergm.userterms: A Template Package for Extending statnet

J Stat Softw. 2013 Feb 1;52(2):i02.

Abstract

Exponential-family random graph models (ERGMs) represent a powerful and flexible class of models for the statistical analysis of networks. statnet is a suite of software packages that implement these models. This paper details how the capabilities for ERGM modeling can be expanded and customized by programming additional network statistics that may be included in ERGMs. We describe a template R package called ergm.userterms that can be modified for this purpose. It is designed to make this process as straightforward as possible. We also explain some of the internal workings of statnet that will help users develop their own network analysis capabilities.

Keywords: Markov chain Monte Carlo; exponential-family random graph model; maximum likelihood estimation; p-star model.