twopath-ergmTerm-930ae8af: 2-Paths

twopath-ergmTermR Documentation

2-Paths

Description

This term adds one statistic to the model, equal to the number of 2-paths in the network. For a directed network this is defined as a pair of edges (i{\rightarrow}j), (j{\rightarrow}k) , where i and j must be distinct. That is, it is a directed path of length 2 from i to k via j . For directed networks a 2-path is also a mixed 2-star but the interpretation is usually different; see m2star . For undirected networks a twopath is defined as a pair of edges \{i,j\}, \{j,k\} . That is, it is an undirected path of length 2 from i to k via j , also known as a 2-star.

Usage

# binary: twopath

See Also

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

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "twopath", "subsection")}

statnet/ergm documentation built on April 17, 2024, 12:21 p.m.