Learn R Programming

hergm (version 4.1-10)

gof.hergm: Goodness-of-fit

Description

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.

Usage

# S3 method for hergm
gof(object, sample_size = 1000, ...)

Value

The function gof.hergm returns a list with components:

component.number

number of components.

max.component.size

size of largest component.

distance

geodesic distance of pairs of nodes.

degree

degree of nodes.

edges

number of edges.

stars

number of 2-stars.

triangle

number of triangles.

Arguments

object

object of class hergm; objects of class hergm can be generated by function hergm.

sample_size

number of samples to generate.

...

additional arguments, to be passed to lower-level functions in the future.

References

Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1--39.

See Also

hergm, simulate.hergm