Setting the seed for replication purposes #184
Replies: 1 comment
-
Hi @AdamBaumann, thanks for that issue. We don't have a internal implementation on that as we generally use R's Please note that there is also a second layer of randomness involved which is related to the employed learners. For example, we realized that due to randomness of some learning algorithms (like random forests, which are based on resampling and random variable choice) it is basically impossible (at least it doesn't work through Another alternative would be to specify the sample split indices externally and use them accordingly, see https://docs.doubleml.org/stable/guide/resampling.html#externally-provide-a-sample-splitting-partition |
Beta Was this translation helpful? Give feedback.
-
When constructing a DoubleMLPLR, I want to make sure that the sample splitting is such that exact replication of the estimates will be possible. Can a seed be set within the package such that the results are the same for each run, taking into account the operating system and such? If not, do you have any other recommendations for achieving this when using the package?
Beta Was this translation helpful? Give feedback.
All reactions