The Bergm package for R (available on CRAN: https://CRAN.R-project.org/package=Bergm and GitHub: https://github.com/acaimo/Bergm) provides a comprehensive framework for Bayesian parameter estimation and model selection for exponential random graph models using the approximate exchange algorithm. It can also supply graphical Bayesian goodness-of-fit procedures that address the issue of model adequacy.

Citing Bergm

If you are using the Bergm package for research that will be published or otherwise publicly distributed, we request that you acknowledge this with the following citation:

Alberto Caimo, Nial Friel (2014). Bergm: Bayesian Exponential Random Graphs in R. Journal of Statistical Software, 61(2), 1-25. doi: http://dx.doi.org/10.18637/jss.v061.i02.

A BibTeX entry for LaTeX users is:

  @Article{,
    title = {{Bergm}: {B}ayesian Exponential Random Graphs in {R}},
    author = {Alberto Caimo and Nial Friel},
    journal = {Journal of Statistical Software},
    year = {2014},
    volume = {61},
    number = {2},
    pages = {1--25},
    url = {http://www.jstatsoft.org/v61/i02/},
  }