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

Document default seeding #15

Open
NeuroShepherd opened this issue Jun 11, 2023 · 2 comments
Open

Document default seeding #15

NeuroShepherd opened this issue Jun 11, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@NeuroShepherd
Copy link
Owner

The current default random seeding approach is to set the seed for each run as equal to the run number, e.g. run number 5 includes set.seed(5). This should be clearly documented in at least two places IMO:

  1. In a vignette
  2. Directly in the app, possibly as a modal or hover textbox
@NeuroShepherd NeuroShepherd added the documentation Improvements or additions to documentation label Jun 24, 2023
@NeuroShepherd
Copy link
Owner Author

See section 4 of this article for discussion on seeding https://onlinelibrary.wiley.com/doi/10.1002/sim.8086

R uses Mersenne-Twister as default which some people consider to be good enough, and some call for a replacement method https://arxiv.org/pdf/1910.06437.pdf

@NeuroShepherd
Copy link
Owner Author

See also https://cran.r-project.org/web/packages/dqrng/vignettes/dqrng.html for xoroshiro RNG implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant