statnet / ergm

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

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

Closed krivit closed 5 months ago

krivit commented 5 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.