I am working on a validation exercise, where one programmer is using Python and the other R. Our hope is to obtain agreement to within roundoff error for a variety of analyses. Unfortunately one of the analyses involves bootstrapping, which has sampling with replacement in the background. We have become stuck on this one, because of different randomization algorithms. We can of course set the seeds in each package, but the algorithms for the random number generation are different. The use of set seeds is also potentially different. Even if we could sync the random number generation, the sampling algorithms are potentially different.
Perhaps there is a bootstrap package that gives the same results on the two platforms. But if we can just sync the sampling we can easily write the rest of the bootstrapping by hand.
Any suggestions for syncing these algorithms would be most appreciated.