hergm.terms: Model terms

hergm-termsR Documentation

Model terms

Description

Hierarchical exponential-family random graph models with local dependence can be specified by calling the function hergm(formula), where formula is a formula of the form network ~ terms. By specifying suitable terms, it is possible to specify a wide range of models: see hergm. hergm.terms can be found here. In addition, ergm.terms can be used to include covariates.

Arguments

edges_i

adding the term edges_i to the model adds node-dependent edge terms to the model; please note: the term edges_i can be used with method = "bayes" but cannot be used with the default method = "ml".

arcs_i

adding the term arcs_i to the model adds node-dependent outdegree terms to the model; please note: the term arcs_i can be used with method = "bayes" but cannot be used with the default method = "ml".

arcs_j

adding the term arcs_j to the model adds node-dependent indegree terms to the model; please note: the term arcs_j can be used with method = "bayes" but cannot be used with the default method = "ml".

edges_ij

adding the term edges_ij to the model adds block-dependent edge terms to the model.

mutual_i

adding the term mutual_i to the model adds additive, block-dependent mutual edge terms to the model.

mutual_ij

adding the term mutual_ij to the model adds block-dependent mutual edge terms to the model.

twostar_ijk

adding the term twostar_ijk to the model adds block-dependent two-star terms to the model;

transitiveties_ijk

adding the term transitiveties_ijk to the model adds block-dependent transitive ties terms to the model.

triangle_ijk

adding the term triangle_ijk to the model adds block-dependent triangle terms to the model.

ttriple_ijk

adding the term ttriple_ijk to the model adds block-dependent transitive triple terms to the model; please note: the term ttriple_ijk can be used with method = "bayes" but cannot be used with the default method = "ml".

ctriple_ijk

adding the term ctriple_ijk to the model adds block-dependent cyclic triple terms to the model; please note: the term ctriple_ijk can be used with method = "bayes" but cannot be used with the default method = "ml".

References

Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1–39.

See Also

hergm, ergm.terms


hergm documentation built on Nov. 10, 2022, 5:09 p.m.

Related to hergm.terms in hergm...