Skip to content
Prev 6274 / 15075 Next

rnorm.halton

Sorry, but of course.

rnorm.halton should be "almost" identical to rnorm (rnorm gives draws
from a 0 mean, 1sd Normal). Halton sequences (amongst other things)
allow one to draw from the normal in a "more intelligent" fashion when
integrating. Using hist, you should see the classic "bell curve"
centered around 0. Almost identical to

hist(rnorm(1000), plot=TRUE)

The 32 bit "version" gives the bell curve. My 64 bit version gives a
totally different plot (nothing subtle) ... some times with only
positive values for all 100 draws. My 64 bit version of rnorm.halton
also often outputs a bunch of NaNs. If both your plots look like a
bell curve, the problem is on my machine/end.

Thanks very much: do greatly appreciate it.

Best,
Anirban

On Mon, Sep 14, 2009 at 9:31 PM, Steve Lianoglou
<mailinglist.honeypot at gmail.com> wrote: