Learn R Programming

ergMargins (version 1.6)

Process Analysis for Exponential Random Graph Models

Description

Calculates marginal effects and conducts process analysis in exponential family random graph models (ERGM). Includes functions to conduct mediation and moderation analyses and to diagnose multicollinearity. URL: . BugReports: . Duxbury, Scott W (2021) . Long, J. Scott, and Sarah Mustillo (2018) . Mize, Trenton D. (2019) . Karlson, Kristian Bernt, Anders Holm, and Richard Breen (2012) . Duxbury, Scott W (2018) . Duxbury, Scott W, Jenna Wertsching (2023) . Huang, Peng, Carter Butts (2023) .

Copy Link

Version

Install

install.packages('ergMargins')

Monthly Downloads

613

Version

1.6

License

GPL (>= 2)

Maintainer

Scott Duxbury

Last Published

June 13th, 2025

Functions in ergMargins (1.6)

ergm.mod.mma

Function to assess mediated moderation using marginal effects in ERGM.
ergm.mma

Function to conduct marginal effects mediation analysis in ERGM.
ergm.msma

Function to compare marginal substructrual effects between nested ERGMs.
GW_helper

Function to compute weighted change statistics for geometrically weighted terms.
ergm.AME

Function to compute average marginal effects in ERGM.
edge.prob2

Function to compute tie probabilities for each dyad.
vif.ergm

Function to diagnose multicollinearity in ERGM.
ergm.MEM

Function to compute marginal effects at means in ERGM.
ergm.MSE

Function to compute marginal substructural effects in ERGM.