Learn R Programming

ergmito (version 0.3-1)

Exponential Random Graph Models for Small Networks

Description

Simulation and estimation of Exponential Random Graph Models (ERGMs) for small networks using exact statistics as shown in Vega Yon et al. (2020) . As a difference from the 'ergm' package, 'ergmito' circumvents using Markov-Chain Maximum Likelihood Estimator (MC-MLE) and instead uses Maximum Likelihood Estimator (MLE) to fit ERGMs for small networks. As exhaustive enumeration is computationally feasible for small networks, this R package takes advantage of this and provides tools for calculating likelihood functions, and other relevant functions, directly, meaning that in many cases both estimation and simulation of ERGMs for small networks can be faster and more accurate than simulation-based algorithms.

Copy Link

Version

Install

install.packages('ergmito')

Monthly Downloads

249

Version

0.3-1

License

MIT + file LICENSE

Maintainer

George Vega Yon

Last Published

June 14th, 2023

Functions in ergmito (0.3-1)

benchmarkito

Utility to benchmark expression in R
count_stats

Count Network Statistics
blockdiagonalize

Block-diagonal models using ergm
vcov.ergmito

Estimation of ERGMs using Maximum Likelihood Estimation (MLE)
ergmito_gof

Goodness of Fit diagnostics for ERGMito models
check_support

Check the convergence of ergmito estimates
as_adjmat

An alternative to as.matrix to retrieve adjacency matrix fast
exact_loglik

Vectorized calculation of ERGM exact log-likelihood
ergmito_formulae

Processing formulas in ergmito
ergmito_boot

Bootstrap of ergmito
geodesic

Geodesic distance matrix (all pairs)
nvertex

Utility functions to query network dimensions
plot.ergmito

Function to visualize the optimization surface
matrix_to_network

Manipulation of network objects
new_ergmito_ptr

Creates a new ergmito_ptr
fivenets

Example of a group of small networks
extract.ergmito

Extract function to be used with the texreg package.
new_rergmito

ERGMito sampler
powerset

Power set of Graphs of size n
same_dist

Compare pairs of networks to see if those came from the same distribution
induced_submat

Extract a submatrix from a network
rbernoulli

Random Bernoulli graph
predict.ergmito

Prediction method for ergmito objects
simulate.ergmito

Draw samples from a fitted ergmito model