ergmx.atxax#
- ergmx.atxax(attr, decay=0.6931471805599453, levels=None, fixed=True, cutoff=30)[source]#
ATXAX: alternating TXAX triangles, the sum over A-ties of g(shared B partners), as gwesp with partners in B. For two-level (multilevel) networks, as MPNet (Wang et al. 2013): the levels are the values of the vertex attribute
attr, A and B (levels=(A, B), or the attribute’s two values, sorted); A-ties are within A, B-ties within B, X-ties between them. Undirected networks.decayweights the alternating statistic geometrically, as gwesp’s: g(d) = exp(decay) (1 - (1 - exp(-decay))^d), MPNet’s lambda being exp(decay) (its default, 2, isdecay=log(2)). It is fixed by default, as in MPNet; withfixed=FALSE, it is estimated, as ergm’s curved terms (seeCurved), for the terms with one alternating part.