statnet / ergm

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

ergm() misinterprets a dyad-dependent hint as a dyad-dependent sample-space constraint. #550

Closed krivit closed 9 months ago

krivit commented 10 months ago

This is because they share an API, with the difference being that a constraint has priority set to +Inf and a hint has a finite priority.

I see two solutions:

  1. Overwrite the dependence flag on the hints (constraints with priority < Inf) for the purposes of this.
  2. Specify that a hint must always have dependence set to FALSE.