Learn R Programming

⚠️There's a newer version (4.9.0) of this package.Take me there.

ergm (version 3.5.1)

Fit, Simulate and Diagnose Exponential-Family Models for Networks

Description

An integrated set of tools to analyze and simulate networks based on exponential-family random graph models (ERGM). "ergm" is a part of the "statnet" suite of packages for network analysis.

Copy Link

Version

Install

install.packages('ergm')

Monthly Downloads

6,854

Version

3.5.1

License

GPL-3 + file LICENSE

Maintainer

Pavel N Krivitsky

Last Published

October 24th, 2015

Functions in ergm (3.5.1)

coef.ergm

Extract Model Coefficients
approx.hotelling.diff.test

Approximate Hotelling T^2-Test for One Sample Means
ergm_deprecated

Functions that will no longer be supported in future releases of the package
ergm.degeneracy

Checks an ergm Object for Degeneracy
faux.magnolia.high

Goodreau's Faux Magnolia High School as a network object
control.gof

Auxiliary for Controlling ERGM Goodness-of-Fit Evaluation
ergm.getglobalstats

internal function to return global statistics for a given network
ergm-package

Fit, Simulate and Diagnose Exponential-Family Models for Networks
flomarriage

Florentine Family Marriage Ties Data as a ``network" object
control.ergm

Auxiliary for Controlling ERGM Fitting
ergm.geodistdist

calculate geodesic distance distribution for a network or edgelist
Getting.Started

Getting Started with "ergm": Fit, simulate and diagnose exponential-family models for networks
ergm.allstats

Calculate all possible vectors of statistics on a network for an ERGM
as.edgelist

Convert a network object into a numeric edgelist matrix
as.network.numeric

Create a Simple Random network of a Given Size
ergm.bounddeg

initializes the parameters to bound degree during sampling
get.free.dyads

Create a network containing only edges meeting a specific criteria
fix.curved

Convert a curved ERGM into a corresponding ``fixed'' ERGM.
ergm.bridge.dindstart.llk

Bridge sampling to estiamte log-likelihood of an ERGM, using a dyad-independent ERGM as a staring point.
ergm.bridge.llr

A simple implementation of bridge sampling to evaluate log-likelihood-ratio between two ERGM configurations
summary.network.list

Summarizing network.list objects
ergm.ConstraintImplications

Set up the implied constraints from the current constraint
plot.ergm

Plotting Method for class ergm
g4

Goodreau's four node network as a ``network" object
network.update

Replaces the sociomatrix in a network object
is.curved

Testing for curved exponential family
faux.desert.high

Faux desert High School as a network object
faux.mesa.high

Goodreau's Faux Mesa High School as a network object
ergm

Exponential-Family Random Graph Models
gof

Conduct Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
ecoli

Two versions of an E. Coli network dataset
ergm.formula.utils

Internal Functions for Querying, Validating and Extracting from ERGM Formulas
summary.gofobject

Summaries the Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
nvattr.copy.network

Copy network- and vertex-level attributes between two network objects
is.dyad.independent

Testing for dyad-independence
get.node.attr

Retrieve and check assumptions about vertex attributes (nodal covariates) in a network
mcmc.diagnostics

Conduct MCMC diagnostics on an ergm fit
wtd.median

Weighted Median
colMeans.mcmc.list

utility operations for mcmc.list objects
newnw.extract

Internal function to create a new network from the ergm MCMC sample output
florentine

Florentine Family Marriage and Business Ties Data as a ``network" object
ergm.init.methods

Set up the initial fitting methods for reference measure and query available methods for that reference measure
vcov.ergm

Extract Model Covariance Matrix
ergm.eta

Operations with 'eta' vector of canonical parameter values from ergm model
simulate.ergm

Draw from the distribution of an Exponential Family Random Graph Model
summary.ergm

Summarizing ERGM Model Fits
logLik.ergm

A logLik method for ergm.
ergm-references

Reference Measures for Exponential-Family Random Graph Models
summary.statistics

Calculation of network or graph statistics
degreedist

Computes and Returns the Degree Distribution Information for a Given Network
eut-upgrade

plot.network.ergm

Two-Dimensional Visualization of Networks
molecule

Synthetic network with 20 nodes and 28 edges
enformulate.curved

Convert a curved ERGM into a form suitable as initial values for the same ergm.
anova.ergm

ANOVA for ERGM Fits
ergm-parallel

control.ergm.bridge

Auxiliary for Controlling ergm.bridge
search.ergmTerms

Search the ergm-terms documentation for appropriate terms
ergm.Cprepare

Internal Function to Prepare Data for ergm's C Interface
coef.length.model

Extract Number of parameters in ergm Model
control.simulate

Auxiliary for Controlling ERGM Simulation
control.san

Auxiliary for Controlling SAN
ergm.MHP.table

Table mapping reference,constraints, etc. to Metropolis Hastings Proposals (MHP)
ergm-terms

Terms used in Exponential Family Random Graph Models
plot.gofobject

Plot Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
is.inCH

Determine whether a vector is in the closure of the convex hull of some sample of vectors
ergm.getMCMCsample

Internal Function to Sample Networks Using C Wrapper
ergmMPLE

ERGM Predictors and response for logistic regression calculation of MPLE
check.ErgmTerm

Ensures an Ergm Term and its Arguments Meet Appropriate Conditions
ergm_MH_proposals

Metropolis-Hastings Proposal Methods for ERGM MCMC
ergm-constraints

Sample Space Constraints for Exponential-Family Random Graph Models
is.durational

Testing for durational dependent models
san

Use Simulated Annealing to attempt to match a network to a vector of mean statistics
sampson

Cumulative network of positive affection within a monastery as a ``network'' object
flobusiness

Florentine Family Business Ties Data as a ``network" object
ergm.exact

Calculate the exact loglikelihood for an ERGM
faux.dixon.high

Faux dixon High School as a network object
robust.inverse

Find the inverse of a matrix
kapferer

Kapferer's tailor shop data
standardize.network

Copy a network object enforcing ergm-appropriate guarantees about its internal representation
ergm.mple

Find a maximizer to the psuedolikelihood function
control.logLik.ergm

Auxiliary for Controlling logLik.ergm
samplk

Longitudinal networks of positive affection within a monastery as a ``network" object
print.ergm

Exponential Random Graph Models
MHproposal

Functions to initialize the MHproposal object
ergm-internal

Internal ergm Objects
lasttoggle

Storing last toggle information in a network