Skip to content

pass user-defined bias argument to bootstrap estimations#260

Open
pveber wants to merge 1 commit intopachterlab:masterfrom
pveber:use-bias-in-bootstrap
Open

pass user-defined bias argument to bootstrap estimations#260
pveber wants to merge 1 commit intopachterlab:masterfrom
pveber:use-bias-in-bootstrap

Conversation

@pveber
Copy link
Copy Markdown

@pveber pveber commented Apr 26, 2020

in Bootstrap::run_em, EMAlgorithm::run is called with the fourth
argument set to false, that is without bias estimation even if the
user set the --bias option on command line. This causes in some cases
major discrepancies between the intial EM estimate and bootstrap
estimates, which renders the bootstrap estimates inadequate to
estimate the uncertainty of the abundance ML estimates (see #151 for
an example).

I should add that this fix is probably naive, as the bias estimate is done repeatedly for each bootstrap iteration. I've not benchmarked it properly, but the runs with this fix seemed to have a longer execution time. I'm happy to try and improve the patch if it can help.

in Bootstrap::run_em, EMAlgorithm::run is called with the fourth
argument set to false, that is without bias estimation even if the
user set the --bias option on command line. This causes in some cases
major discrepancies between the intial EM estimate and bootstrap
estimates, which renders the bootstrap estimates inadequate to
estimate the uncertainty of the abundance ML estimates (see pachterlab#151 for
an example).
@pveber
Copy link
Copy Markdown
Author

pveber commented Jun 22, 2020

ping @pmelsted
I can imagine everybody is busy, just wanted to stress the bug here is both serious for any downstream use of bootstrap distributions, and rather easy to fix (at least in a naive way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant