I am working on figure out how the set.seed() function work in R. I am curious that is set.seed(3) and set.seed(4) more likely to generate duplicate sample than set.seed(3) and set.seed(100)? If yes, how many unique sample set.seed(3) can generate before match the sample generated by set.seed(4)? If not, can I conclude that the different n in set.seed(n) does not mean anything as long as they are different? I heard something related to independent random stream? Is this n related to that? If yes, how can I define a independent random stream?
Aucun commentaire:
Enregistrer un commentaire