That list returns a function that is a formula Y * eta - exp(eta) and at least one value in my eta exceeds .Machine$double.xmax when exponentiated. I'm not familiar enough with the method to know what eta is exactly, but on my machine the largest integer that can be exponentiated is exp(709) before it returns Inf. In my data the largest value for eta was 6842.
The call would complete if I rescaled the original data to be in a range about 100 times smaller than the original.
I am experiencing an error in a call to
ergmm
using anodecov
term.Where I tracked it down to
latentnet:::ergmm.lpY
and specifically this line https://github.com/statnet/latentnet/blob/09ba17538456ddf0a0a305f29a2ee9dc33d958a4/R/ergmm.probs.R#L89That list returns a function that is a formula
Y * eta - exp(eta)
and at least one value in my eta exceeds.Machine$double.xmax
when exponentiated. I'm not familiar enough with the method to know what eta is exactly, but on my machine the largest integer that can be exponentiated isexp(709)
before it returnsInf
. In my data the largest value for eta was 6842.The call would complete if I rescaled the original data to be in a range about 100 times smaller than the original.