resample icon indicating copy to clipboard operation
resample copied to clipboard

Precision targets for bootstrap functions

Open HDembinski opened this issue 3 years ago • 0 comments

I worked out how to iterate the permutation tests until a precision target is reached.

It would be great to implement such a functionality also for the functions

  • bootstrap.bias
  • bootstrap.bias_corrected
  • bootstrap.variance
  • bootstrap.confidence_interval

This means adding keywords precision and max_size to the functions and to deprecate size (which would act like max_size=size, precision=0). We cannot do this for bootstrap.bootstrap, because we don't know what the user is computing.

With the keyword return_error (default False) we can optionally return the calculated uncertainty in a backward compatible way.

HDembinski avatar Jan 30 '22 22:01 HDembinski