ergm.multi-package | R Documentation |
A set of extensions for the 'ergm' package to fit multilayer/multiplex/multirelational networks and samples of multiple networks. 'ergm.multi' is a part of the Statnet suite of packages for network analysis. See Krivitsky, Koehly, and Marcum (2020) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s11336-020-09720-7")} and Krivitsky, Coletti, and Hens (2023) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/01621459.2023.2242627")}.
Also known as multiplex, multirelational, or multivariate networks, in a multilayer network a pair of actors can have multiple simultaneous relations of different types. For example, in the Lazega lawyer data set included with this package, each pair of lawyers in the firm can have an advice relationship, a coworking relationship, a friendship relationship, or any combination thereof. Application of ERGMs to multilayer networks has a long history \insertCitePaWa99l,LaPa99mergm.multi, and a number of R packages exist for analysing and estimating them.
ergm.multi implements the general approach of \insertCiteKrKo20e;textualergm.multi for specifying multilayer ERGMs, including Layer Logic and the various cross-layer specifications. Its features include:
ergm()
:Multilayer
specification is contained entirely in an ergm()
-style formula and can be
nested with any other ergm()
terms, including dynamic and multi-network.
The number of layers in the modeled network is limited only by computing power.
Any valid binary ERGM can be specified for any layer or a logical combination of layers using simple term operators.
A network can have directed and undirected layers, which can be modeled jointly.
With some care, it is possible to specify models for unipartite and bipartie layers over different subsets of actors, which can be used to specify multimode models.
See Layer()
and ergmTerm?L
for examples.
Joint modeling of independent samples of networks on disjoint sets of actors have a long history as well \insertCite@@ZiVa06m, @SlKo16m, @StSc19m, and @VeSl21e, for exampleergm.multi. ergm.multi facilitates fixed-effect models for samples of networks (possibly heterogeneous in size and composition), using a multivariate linear model for each network's ERGM parameters, with network-level attributes serving as predictors, as formulated by \insertCiteSlKo16m;textualergm.multi and \insertCiteKrCo22t;textualergm.multi.
Its features include:
ergm()
:Multi-network model
specification is contained entirely in an ergm()
-style formula and can be
nested with any other ergm()
terms, including dynamic and multilayer.
Any valid binary or valued
ERGM can be specified for the networks, using simple term
operators and the network-level specification with an
lm()
-style formula.
See Networks()
, ergmTerm?N
for specification,
gofN()
for diagnostic facilities, and
vignette("Goeyvaerts_reproduction")
for a demonstration.
Maintainer: Pavel N. Krivitsky pavel@statnet.org (ORCID)
Other contributors:
Mark S. Handcock handcock@stat.ucla.edu [contributor]
David R. Hunter dhunter@stat.psu.edu [contributor]
Chad Klumb cklumb@gmail.com [contributor]
Pietro Coletti pietro.coletti@uhasselt.be [contributor]
Joyce Cheng joyce.cheng@student.unsw.edu.au [contributor]
Useful links:
Report bugs at https://github.com/statnet/ergm.multi/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.