[R] R2WinBUGS results not different with different runs

toby909 at gmail.com toby909 at gmail.com
Wed Aug 8 18:27:18 CEST 2007

Gregor Gorjanc wrote:
>  <toby909 <at> gmail.com> writes:
>>Is this a specialty with R2WinBUGS? Does it have something to do with the seed 
>>value? Isnt the seed value reset everytime I restart winbugs?
> I always have the same seed if I start WinBUGS multiple times.

So you get exactly the same chain, numerically, when rerunning the same model, 
with the same number of iterations, everything the same.?

Wouldnt that be problematic if every researcher in the world who uses winbugs 
uses the same sequence of random numbers?

R's random numbers are different each time, because the seed is linked to the 
clock in your PC.


> Gregor
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list