hergm.gof: Goodness-of-fit

Description Usage Arguments Value See Also Examples

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

1
2
## S3 method for class 'hergm'
gof(object, ...)

Arguments

object

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

...

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.

See Also

hergm, simulate.hergm

Examples

1
2
3
4
5
## Not run: data(example)
object <- hergm(d ~ edges_ij + triangle_ijk)
gof(object)

## End(Not run)

hergm documentation built on April 19, 2018, 9:03 a.m.

Related to hergm.gof in hergm...