ergmx.Term#
- class ergmx.Term[source]#
A model term: one or more network statistics.
- dyad_independent = True#
Whether the term’s change statistic only depends on the toggled dyad.
- triadic = False#
Whether the term counts triangles, so that triadic proposals help the MCMC mix.
- directed = None#
True if only defined for directed networks, False if only for undirected.
- degree_dependence = None#
The degrees the statistic is a function of (“in”, “out”; both for degrees of undirected networks), so that it is constant when they are preserved; None if it is not a function of degrees.
- is_offset = False#
Whether the coefficient is fixed by offset() rather than estimated.
- curved = False#
its statistics’ coefficients are a nonlinear function of fewer parameters (gwesp with an estimated decay).
- Type:
Whether the term is curved
- eta(params, network)[source]#
Coefficients of the statistics from the parameters (the same, unless curved).
- jacobian(params, network)[source]#
Derivatives of eta with respect to the parameters (statistics x parameters).