statnet / ergm

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

b*starmix() terms should autodetect when focus node does not have nonmissing values. #466

Open krivit opened 2 years ago

krivit commented 2 years ago

I.e., if we want homophily among the alter nodes only, and only nodes of the alter's mode have non-NA values for that attribute.

krivit commented 2 years ago

Currently, the (untested) workaround is to impute some single value (e.g., an empty string "") to the focus mode's nodes.