hergm.gof: Goodness-of-fit

gof.hergmR Documentation

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 class 'hergm'
gof(object, sample_size = 1000, ...)

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.

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.

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


hergm documentation built on Nov. 10, 2022, 5:09 p.m.

Related to hergm.gof in hergm...