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

Seed not working for ranking bootstrapping #36

Open
mzenk opened this issue Oct 11, 2022 · 1 comment
Open

Seed not working for ranking bootstrapping #36

mzenk opened this issue Oct 11, 2022 · 1 comment

Comments

@mzenk
Copy link

mzenk commented Oct 11, 2022

For my R-installation, the random seed does not have an effect on the bootstrap samples being drawn from a ranking list.

To reproduce:
I ran one of the official vignettes. Then, I executed the lines for seed + bootstrap again (link):

set.seed(1)
ranking_bootstrapped=ranking%>%bootstrap(nboot=1000, parallel=TRUE, progress = "none")

Comparing the ranking_bootstrapped from before with the values from the repeated run, I found that they are not identical, which is what I would have expected.

Is this a challengeR bug?
Thanks for your help!

@wiesenfa
Copy link
Owner

Dear @mzenk,
Thanks for pointing at this! It seems that using

set.seed(1, kind = "L'Ecuyer-CMRG“)

solves this. We are still properly testing and will take care of it as soon as possible.

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

No branches or pull requests

2 participants