Re: [R] about set.seed

From: Campbell <p.campbell_at_econ.bbk.ac.uk>
Date: Wed 21 Sep 2005 - 19:49:25 EST


I'm not an expert on set.seed but I think it would be helpful if you could post the relevant section of your code.

Phineas Campbell

>>> <nlei@sfu.ca> 09/21/05 7:46 AM >>>

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

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 20:01:17 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:33:59 EST