R: Geometrically weighted nonedgewise shared partner...

gwnsp-ergmTerm {ergm} | R Documentation

## Geometrically weighted nonedgewise shared partner distribution

### Description

This term is just like `gwesp` and `gwdsp` except it adds a statistic equal to the geometrically weighted nonedgewise (that is, over dyads that do not have an edge) shared partner distribution with weight parameter `decay` parameter, which should be non-negative. This term can be used with directed and undirected networks.

### Usage

    # binary: gwnsp(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 NSP 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`.)

### Note

For directed networks, only outgoing two-path ("OTP") shared partners are counted. In other words, for a (directed) non-edge `(i,j)` in a directed graph, the number of shared partners counted by `gwnsp` is the number of nodes `k` that have edges `i -> k -> j`. (These may also be called homogeneous shared partners.) To count other types of shared partners instead, see `dgwnsp`.

The `decay` parameter was called `alpha` prior to `ergm` 3.7.

### See Also

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

[Package ergm version 4.2.2 Index]