Handle infinite values in effectiveSizeEquivalentError() - #2
Conversation
|
Well, that's not supposed to happen. Thanks for bringing this to my attention. It seems most likely to me that something is going wrong in But it would be better to check things out and fix the issue at its source. Would you be willing and able to share a *In practice it's a really bad estimator of the ESS. Probably because it's actually an estimator of something more like the lag at which the sampling distribution of autocorrelation coefficients becomes statistically indistinguishable from 0. |
|
I've added you to my fork of the project on GitHub, and added the |
In one of the simulated datasets (DS3, 1000 iterations), I've encountered infinite values in the jumpDistanceBootstrapESS estimate computed by
effectiveSizeEquivalentError()incompute_errors.R.I imagine that this is not a desirable situation... my workaround, implemented here, has been to replace the infinite values with
NA, throw a warning, and proceed with the calculation – but this may not be appropriate.