[R] about set.seed

From: <nlei_at_sfu.ca>
Date: Wed 21 Sep 2005 - 16:46:13 EST


Hi there,

I have some question about set.seed these days which I may need your help.

I'm working on some sampling project which need to generate random numbers by some distributions(like bivariate normal). I noticed that in different computers to run my code,I got very significant different results. Then I started to try set.seed command which I wish to see by fixing the same random numbers what can happen. But it turned out when I run my codes in two computers I still can get different results. I tried different computers. Some of them I can get the same results but some not. A special case is I run in two computers which have R version 2.0.1 and 2.1.1 separetely. And the results are different.

Now my question is what's the reason can make the different result happen when we run the same codes by setting the same seed?

This will help me a lot with my project.Thank you very much!

Linda



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Sep 21 16:53:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:20 EST