uses modulus 2^30. Therefore there are only 2^30
distinct numbers, which is confirmed by my previous test in R.
If someday Knuth's double version is also included in R, it will be great.
Shengqiao Li
On Fri, 15 Aug 2008, Duncan Murdoch wrote:
On 15/08/2008 10:28 AM, Shengqiao Li wrote:
d.edu/~knuth/programs.html instead of the
integer versions in R. I'm a R user. So why not
also include the double verion in R implementation?
Thanks again,
====
Shengqiao Li
Research Associate
The Department of Statistics
PO Box 6330
West Virginia
Professor Ripley,
Thank you for your solution. So the last paragraph of the Note in RNG
help page will be updated since Wichmann-Hill is different from other
supplied uniform generators in the number of distinct values?
Shengqiao Li
On Fri, 15 Aug 2008, Prof Brian Ripley wrote:
Remember
08
svn rev44383
language R
version.string R version 2.6.2 (2008-02-08)
Shengqiao Li
Research Associate
The Department of Statistics
PO Box 6330
West Virginia University
Morgantown, WV 26506-6330
On Fri, 14 Mar 2008, Prof Brian Ripley
Unfortunately, RNGkind is buggy. It will not generate warnings
except the full name "Buggy Kinderman-Ramage" is supplied for normal.kind.
match.arg is supposed to be called before "==" comparison.
========
Shengqiao Li
Research Associa