Some ERGM terms such as gwesp
and gwdegree
have two forms: a curved form, for which their decay or similar
parameters are to be estimated, and whose canonical statistics is a
vector of the term's components (esp(1)
,
esp(2)
, … and degree(1)
,
degree(2)
, …, respectively) and a "fixed" form where
the decay or similar parameters are fixed, and whose canonical
statistic is just the term itself. It is often desirable to fit a
model estimating the curved parameters but simulate the "fixed"
statistic.
This function thus takes in a fit or a formula and performs this
mapping, returning a ``fixed'' model and parameter specification. It
only works for curved ERGM terms included with the ergm
package. It does not work with curved terms not included in ergm.