Fit, Simulate and Diagnose Exponential-Family Models for Networks with Count Edges
ergm.count
is a set of extensions to package ergm
to fit and simulate from exponential-family random graph models for networks whose edge weights are counts if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="Kr12e",package="ergm.count",cached_env=.Rdpack.currefs) .
package
Mainly, it implements Poisson, binomial, geometric, and discrete uniform dyadwise reference measures for valued ERGMs (documented here in ergmReference
), and provides some count-specific change statistics (documented in ergmTerm
) if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="Kr12e,KrHu23e",package="ergm.count",cached_env=.Rdpack.currefs) , including CMP
for the Conway--Maxwell--Poisson Distribution if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="ShMi05u",package="ergm.count",cached_env=.Rdpack.currefs) .
For a complete list of the functions, use library(help="ergm")
and library(help="ergm.count")
or read the rest of the manual.
When publishing results obtained using this package, please cite the original authors as described in citation(package="ergm.count")
.
All programs derived from this package must cite it.
This package contains functions specific to using ergm
to model networks whose dyad values are counts. Examples include counts of conversations, messages, and other interactions.
For detailed information on how to download and install the software, go to the Statnet project website: https://statnet.org. A tutorial, support newsgroup, references and links to further resources are provided there.
Poisson- and geometric-reference ERGMs have an unbouded sample space. This means that the parameter space may be constrained in complex ways that depend on the terms used in the model. At this time ergm
has no way to detect when a parameter configuration had strayed outside of the parameter space, but it may be noticeable on a runtime trace plot (activated via MCMC.runtime.traceplot
control parameter), when the simulated values keep climbing upwards. (See if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="Kr12e;textual",package="ergm.count",cached_env=.Rdpack.currefs) for a further discussion.)
A possible remedy if this appears to occur is to try lowering the control.ergm()
parameter MCMLE.steplength
.
if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_all_ref(.Rdpack.currefs)
ergmTerm
, ergmReference
Maintainer : Pavel N. Krivitsky pavel@statnet.org (ORCID)
Other contributors: