statnet / ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks
Other
94 stars 36 forks source link

b1starmix(k, attr, base=NULL, diff=TRUE) and b2starmix(k, attr, base=NULL, diff=TRUE) terms are misnamed? #464

Open krivit opened 2 years ago

krivit commented 2 years ago

They count the number of k-stars with focus node in the specified mode (b1 or b2) for which the alter nodes are homophilous according to attr.

This suggests that they should really be named b*starmatch after nodematch.

Any thoughts?

krivit commented 2 years ago

On further reading, it does incorporate the focus node's attribute, in which case the name is still confusing but makes more sense.

krivit commented 2 years ago

In that case, perhaps it should be more like the full nodemix and mm, with b1attr, b2attr, b1levels, b2levels, b2levels2, and levels3 arguments to specify which combinations of levels should be included.