Hunter, David R., et al. “Ergm: A Package to Fit, Simulate and Diagnose Exponential-Family Models for Networks”. Journal of Statistical Software, vol. 24, no. 3, May 2008, pp. 1-29, doi:10.18637/jss.v024.i03.