Skip to content

STERGM approximation formulas ​

This page documents the formulas used by the initial relationalstats.stergm implementation.

The current implementation is a separable dyadic-logistic temporal approximation. It is not a full MCMC-MLE implementation equivalent to R tergm or stergm.

Two-snapshot setup ​

Given two graph snapshots:

Gt

and:

Gt+1

each dyad has two observed states:

Yij,t

and:

Yij,t+1

Formation risk set ​

The formation model is fit only on dyads absent at time t:

Yij,t=0

The formation outcome is:

Fij,t+1=Yij,t+1

The fitted dyadic-logistic approximation is:

Pr(Fij,t+1=1∣Yij,t=0)=logit−1(∑k=1pβkFxijk,tF)

Dissolution risk set ​

The dissolution model is fit only on dyads present at time t:

Yij,t=1

The dissolution outcome is:

Dij,t+1=1−Yij,t+1

The fitted dyadic-logistic approximation is:

Pr(Dij,t+1=1∣Yij,t=1)=logit−1(∑k=1pβkDxijk,tD)

Next-period simulation ​

A simulated next-period graph starts from G_t.

For existing ties, dissolution is sampled from:

Dij,t+1∼Bernoulli(pijD)

For absent ties, formation is sampled from:

Fij,t+1∼Bernoulli(pijF)

where:

pijD=logit−1(∑k=1pβkDxijk,tD)

and:

pijF=logit−1(∑k=1pβkFxijk,tF)

Scope note ​

The current model captures the separable formation/dissolution framing, but it does not implement full temporal ERGM MCMC-MLE estimation or full equivalence with R tergm / stergm.