-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DEMO] Set the seed #194
base: core
Are you sure you want to change the base?
[DEMO] Set the seed #194
Conversation
Thanks Anastasis, this will be REALLY useful. I tried copying the changes into my branch but it's not working at the moment - is that because we haven't merged PR #193 ("Replace random functions") yet? Thanks. |
Hi Jenny Yes I was thinking the same - I intend to try it with the new PR merged. Please let me know if you find it works |
Yes, I should have made that clear. This is on top of the changes in #193 (switching to It would be good to eventually also merge these changes (setting the seed), but they shouldn't be enabled all the time (or all the runs would be identical). Perhaps we can find a way that they can be toggled on and off. |
Thanks, yes that makes sense. It would be handy to have them all turned off as default but with a quick way to turn them all on when needed. |
Yes agree - thanks. |
There is an additional data step for r&da2, where the seed was not set before. The place where it was set did not involve any randomness. Also use the more appropriate macro variable, as e was not strictly increasing.
An example of how to set the seed. This should result in the same values being generated every time. This also means that all the runs will have the same id and be identical, so it only makes sense for single runs.