Learn R Programming

ergm (version 4.3.2)

gwesp-ergmTerm: Geometrically weighted edgewise shared partner distribution

Description

This term is just like gwdsp except it adds a statistic equal to the geometrically weighted edgewise (not dyadwise) shared partner distribution with decay parameter decay parameter, which should be non-negative. This term can be used with directed and undirected networks.

Usage

# binary: gwesp(decay, fixed=FALSE, cutoff=30)

Arguments

decay

nonnegative decay parameter for the shared partner or directed 2-path count; required if fixed=TRUE and ignored with a warning otherwise.

fixed

optional argument indicating whether the decay parameter is fixed at the given value, or is to be fit as a curved exponential-family model (see Hunter and Handcock, 2006). The default is FALSE , which means the scale parameter is not fixed and thus the model is a curved exponential family.

cutoff

This optional argument sets the number of underlying ESP terms to use in computing the statistics when fixed=FALSE, in order to reduce the computational burden. Its default value can also be controlled by the gw.cutoff term option control parameter. (See ?control.ergm.)

See Also

ergmTerm for index of model terms currently visible to the package.

ergm:::.formatTermKeywords("ergmTerm", "gwesp", "subsection")