Learn R Programming

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

ergm (version 3.7.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 (ERGMs). 'ergm' is a part of the Statnet suite of packages for network analysis.

Copy Link

Version

Install

install.packages('ergm')

Monthly Downloads

8,181

Version

3.7.1

License

GPL-3 + file LICENSE

Maintainer

Pavel N Krivitsky

Last Published

March 21st, 2017

Functions in ergm (3.7.1)

Getting.Started

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

Functions to initialize the MHproposal object
coef.length.model

Extract Number of parameters in ergm Model
control.ergm

Auxiliary for Controlling ERGM Fitting
as.edgelist

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

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

ANOVA for ERGM Fits
approx.hotelling.diff.test

Approximate Hotelling T^2-Test for One Sample Means
check.ErgmTerm

Ensures an Ergm Term and its Arguments Meet Appropriate Conditions
coef.ergm

Extract Model Coefficients
control.logLik.ergm

Auxiliary for Controlling logLik.ergm
control.san

Auxiliary for Controlling SAN
control.ergm.bridge

Auxiliary for Controlling ergm.bridge
control.gof

Auxiliary for Controlling ERGM Goodness-of-Fit Evaluation
control.simulate

Auxiliary for Controlling ERGM Simulation
degreedist

Computes and Returns the Degree Distribution Information for a Given Network
ergm_MH_proposals

Metropolis-Hastings Proposal Methods for ERGM MCMC
ergm-constraints

Sample Space Constraints for Exponential-Family Random Graph Models
ecoli

Two versions of an E. Coli network dataset
enformulate.curved

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

Internal Function to Prepare Data for ergm's C Interface
ergm.MHP.table

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

ergm-internal

Internal ergm Objects
ergm

Exponential-Family Random Graph Models
ergm.allstats

Calculate all possible vectors of statistics on a network for an ERGM
ergm.bounddeg

initializes the parameters to bound degree during sampling
ergm.bridge.dindstart.llk

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

Fit, Simulate and Diagnose Exponential-Family Models for Networks
ergm.bridge.llr

A simple implementation of bridge sampling to evaluate log-likelihood-ratio between two ERGM configurations
ergm.degeneracy

Checks an ergm Object for Degeneracy
faux.mesa.high

Goodreau's Faux Mesa High School as a network object
fix.curved

Convert a curved ERGM into a corresponding ``fixed'' ERGM.
florentine

Florentine Family Marriage and Business Ties Data as a ``network" object
g4

Goodreau's four node network as a ``network" object
molecule

Synthetic network with 20 nodes and 28 edges
ergm-terms

Terms used in Exponential Family Random Graph Models
ergm.ConstraintImplications

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

internal function to return global statistics for a given network
ergm.init.methods

Set up the initial fitting methods for reference measure and query available methods for that reference measure
eut-upgrade

faux.desert.high

Faux desert High School as a network object
is.durational

Testing for durational dependent models
ergm.eta

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

Calculate the exact loglikelihood for an ERGM
ergm.mple

Find a maximizer to the psuedolikelihood function
ergmMPLE

ERGM Predictors and response for logistic regression calculation of MPLE
faux.dixon.high

Faux dixon High School as a network object
faux.magnolia.high

Goodreau's Faux Magnolia High School as a network object
get.free.dyads

Create a network containing only edges meeting a specific criteria
ergm-references

Reference Measures for Exponential-Family Random Graph Models
ergm.geodistdist

calculate geodesic distance distribution for a network or edgelist
ergm.getMCMCsample

Internal Function to Sample Networks Using C Wrapper
ergm_deprecated

Functions that will no longer be supported in future releases of the package
network.update

Replaces the sociomatrix in a network object
plot.network.ergm

Two-Dimensional Visualization of Networks
print.ergm

Exponential Random Graph Models
is.dyad.independent

Testing for dyad-independence
lasttoggle

Storing last toggle information in a network
logLik.ergm

A logLik method for ergm.
plot.ergm

Plotting Method for class ergm
ergm.formula.utils

Internal Functions for Querying, Validating and Extracting from ERGM Formulas
gof

Conduct Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
is.curved

Testing for curved exponential family
mcmc.diagnostics

Conduct MCMC diagnostics on an ergm fit
get.node.attr

Retrieve and check assumptions about vertex attributes (nodal covariates) in a network
newnw.extract

Internal function to create a new network from the ergm MCMC sample output
nvattr.copy.network

Copy network- and vertex-level attributes between two network objects
flobusiness

Florentine Family Business Ties Data as a ``network" object
flomarriage

Florentine Family Marriage Ties Data as a ``network" object
is.inCH

Determine whether a vector is in the closure of the convex hull of some sample of vectors
kapferer

Kapferer's tailor shop data
colMeans.mcmc.list

utility operations for mcmc.list objects
san

Use Simulated Annealing to attempt to match a network to a vector of mean statistics
search.ergmTerms

Search the ergm-terms documentation for appropriate terms
samplk

Longitudinal networks of positive affection within a monastery as a ``network'' object
sampson

Cumulative network of positive affection within a monastery as a ``network'' object
plot.gofobject

Plot Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
summary.network.list

Summarizing network.list objects
summary.statistics

Calculation of network or graph statistics
summary.ergm

Summarizing ERGM Model Fits
summary.gofobject

Summaries the Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model
simulate.ergm

Draw from the distribution of an Exponential Family Random Graph Model
standardize.network

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

Extract Model Covariance Matrix
wtd.median

Weighted Median