Last chance! 50% off unlimited learning
Sale ends in
When diff=FALSE
, this term adds one network statistic
to the model, which counts the number of edges attr(i)==attr(j)
. This is also called “uniform homophily”, because each group is assumed to have the same propensity for within-group ties. When multiple attribute names are given, the
statistic counts only ties for which all of the attributes
match. When diff=TRUE
, attr
attribute. The attr(i) == attr(j) == value(k)
, where value(k)
is the attr
attribute. This is also called “differential homophily”, because each group is allowed to have a unique propensity for within-group ties. Note that a statistical test of uniform vs. differential homophily should be conducted using the ANOVA function.
By default, matches on all levels diff=TRUE
and diff=FALSE
.
# binary: nodematch(attr, diff=FALSE, keep=NULL, levels=NULL)# valued: nodematch(attr, diff=FALSE, keep=NULL, levels=NULL, form="sum")
# valued: match(attr, diff=FALSE, keep=NULL, levels=NULL, form="sum")
a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.)
specify if the term has uniform or differential homophily
deprecated
this optional argument controls which levels of the attribute
attributes and Levels (?nodal_attributes
) for details.)
character how to aggregate tie values in a valued ERGM
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "nodematch", "subsection")