gwesp-ergmTerm {ergm} | R Documentation |
Geometrically weighted edgewise shared partner distribution
Description
This term adds a statistic equal to the geometrically weighted edgewise (not dyadwise) shared partner distribution with decay parameter decay
parameter.
Usage
# binary: dgwesp(decay, fixed=FALSE, cutoff=30, type="OTP")
# binary: gwesp(decay, fixed=FALSE, cutoff=30, type="OTP")
Arguments
decay |
nonnegative decay parameter for the shared partner or selected directed analogue count; required if |
fixed |
optional argument indicating
whether the |
cutoff |
This optional argument sets the number of underlying ESP terms
to use in computing the statistics when |
type |
A string indicating the type of shared partner or path to be considered for directed networks: |
Shared partner types
While there is only one shared partner configuration in the undirected
case, nine distinct configurations are possible for directed graphs, selected
using the type
argument. Currently, terms may be defined with respect to
five of these configurations; they are defined here as follows (using
terminology from Butts (2008) and the relevent
package):
Outgoing Two-path (
"OTP"
): vertexk
is an OTP shared partner of ordered pair(i,j)
iffi \to k \to j
. Also known as "transitive shared partner".Incoming Two-path (
"ITP"
): vertexk
is an ITP shared partner of ordered pair(i,j)
iffj \to k \to i
. Also known as "cyclical shared partner"Reciprocated Two-path (
"RTP"
): vertexk
is an RTP shared partner of ordered pair(i,j)
iffi \leftrightarrow k \leftrightarrow j
.Outgoing Shared Partner (
"OSP"
): vertexk
is an OSP shared partner of ordered pair(i,j)
iffi \to k, j \to k
.Incoming Shared Partner (
"ISP"
): vertexk
is an ISP shared partner of ordered pair(i,j)
iffk \to i, k \to j
. By default, outgoing two-paths ("OTP"
) are calculated. Note that Robins et al. (2009) define closely related statistics to several of the above, using slightly different terminology.
Note
This term takes an additional term option (see
options?ergm
), cache.sp
, controlling whether
the implementation will cache the number of shared partners for
each dyad in the network; this is usually enabled by default.
The decay
parameter was called alpha
prior to ergm
3.7.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
directed, binary