Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass user-defined bias argument to bootstrap estimations #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pveber
Copy link

@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
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.

None yet

1 participant