Skip to content
Prev 5353 / 63421 Next

.Random.seed (PR#911)

On Thu, 12 Apr 2001 e.zwane@fss.uu.nl wrote:

            
It contains two serious bugs.  Please read the FAQ on reporting BUGS.
That's invalid in both S-PLUS and in R.  The argument to set.seed is
not in the format of the result of the return from .Random.seed.
That's an average, not an equi-probability choice.
Use the functions correctly!  You really should not be restoring random
seeds during a simulation, as you will get heavily dependent rvs.

If you really want a Chi-squared with 23.5 df, use rgamma.  It can do it
exactly.