The function gof.hergm accepts an object of class hergm as argument and assesses the goodness-of-fit of the model estimated by function hergm.
# S3 method for hergm
gof(object, sample_size = 1000, ...)
The function gof.hergm returns a list with components:
number of components.
size of largest component.
geodesic distance of pairs of nodes.
degree of nodes.
number of edges.
number of 2-stars.
number of triangles.
object of class hergm; objects of class hergm can be generated by function hergm.
number of samples to generate.
additional arguments, to be passed to lower-level functions in the future.
Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1--39.
hergm, simulate.hergm