ergmx.predict#

ergmx.predict(network, formula, coef, *, conditional=True, type='response', nsim=100, constraints=None, bipartite=None, seed=None, **options)[source]#

Tie probabilities of every dyad of a network under a model, as R’s predict(net ~ formula, eta). See ErgmFit.predict().

coef are the formula’s parameters (in order, or a dict by name), as in simulate(); constraints only apply to unconditional probabilities.