New Minimum Degree Term for the 'ergm' Package
This is a new term for the
that counts the number of nodes in the network with at least
a given degree.
ergm is used to fit linear
random graph models, in which
the probability of a given network, y, on a set of nodes
g(y) is a vector of network statistics for y,
θ is a parameter vector of the same
length and c(θ) is the
normalizing constant for the distribution.
The network statistics g(y) are entered as terms in the
function call to
ergm package contains a wide range of terms.
For the details on the possible
<model terms>, see
ergm.userterms package provides a template for
adding new terms.
The terms can be used throughout the
and behave identically to the supplied terms.
The Minimum Degree Term
Minimum Degree: The
mindegargument is an integer. This term adds one network statistic to the model being the number of nodes in the network of at least degree
mindeg. That is, the statistic equals the number of nodes in the network with
mindegor more edges. The optional argument
byis a character string giving the name of an attribute in the network's vertex attribute list. If this is specified, then degrees are calculated using the subnetwork consisting of only edges whose endpoints have the same value of the
byattribute. This term can only be used with undirected networks.
Hunter DR, Goodreau SM, Handcock MS (2013). ergm.userterms: A Template Package for Extending statnet, Journal of Statistical Software 52(2), 1-25, URL http://www.jstatsoft.org/v52/i02/.
statnet, network, ergm, ergm-terms
1 2 3 4 5