This term is introduced in Bomiriya et al (2014).
With the default
beta values, this term will
simply be a homophily based two-star statistic. This term adds one statistic to the model
diff is set to
TRUE , in which case the term adds multiple network
statistics to the model, one for each of (a subset of) the unique values of the
# binary: b2nodematch(attr, diff=FALSE, keep=NULL, alpha=1, beta=1, byb1attr=NULL, # levels=NULL)
by default, one statistic will be added to the model. If
optional discount parameters both of which take values from
second mode categorical attribute. Setting this argument
will separate the orginal statistics based on the values of the set second mode attribute—
i.e. for example, if
select a subset of
quantitative attribute (see Specifying Vertex attributes and Levels (
discount parameter is used, each of these statistics gives the sum of
the number of common first-mode nodes raised to the power
alpha for each pair of
second-mode nodes with that attribute. If a
beta discount parameter is used, each
of these statistics gives half the sum of the number of two-paths with two second-mode nodes
with that attribute as the two ends of the two path raised to the power
beta for each
edge in the network.
This term can only be used with undirected bipartite networks.
keep is retained for backwards compatibility and may be
removed in a future version. When both
levels are passed,
ergmTerm for index of model terms currently visible to the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.