This function defines and initialize the absdiffnodemix ERGM term that allows for targeting age homophily by race.
InitErgmTerm.absdiffnodemix(nw, arglist, ...)
An object of class network
.
A list of arguments as specified in the ergm.userterms
package framework.
Additional data passed into the function as specified in the
ergm.userterms
package framework.
Steven M. Goodreau
This ERGM user term was written to allow for age-based homophily in
partnership formation that is heterogeneous by race. The absdiff
component allows targets the distribution of age mixing on that continuous
variable, and the nodemix
component differentiates this for
black-black, black-white, and white-white couples.