ERGM approximation formulas
This page documents the formulas used by the initial relationalstats.ergm implementation.
The current implementation is a dyadic-logistic approximation. It is not a full MCMC-MLE ERGM engine and should not be described as equivalent to R ergm.
Dyadic logistic approximation
For a candidate dyad (i, j), the model uses:
Equivalently:
The implementation uses add_intercept=False internally because the edges term acts as the baseline edge-propensity term.
Edges term
Common-neighbor term
Transitivity proxy
This is a dyad-level approximation, not a full ERGM change statistic.
Degree-one term
GWESP approximation
where:
and the default decay parameter is:
This approximates the intuition of geometrically weighted shared partners, but it is not the full curved ERGM GWESP term used by R ergm.
Nodematch term
A nodematch term has the form:
nodematch:<attribute>The dyadic feature is:
GOF-style statistics
The approximate GOF workflow compares observed and simulated networks using:
- edges;
- density;
- average degree;
- triangle count;
- degree distribution;
- edge-wise shared partners;
- geodesic distance distribution with
NRfor unreachable pairs.