Displaying 14 results from an estimated 14 matches for "l808".
Did you mean:
l807
2018 Sep 18
3
Bias in R's random integers?
Dear list,
It looks to me that R samples random integers using an intuitive but biased
algorithm by going from a random number on [0,1) from the PRNG to a random
integer, e.g.
https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
Many other languages use various rejection sampling approaches which
provide an unbiased method for sampling, such as in Go, python, and others
described here: https://arxiv.org/abs/1805.10941 (I believe the biased
algorithm currently used in R is also described there). I'm not an expert
in...
2018 Sep 19
2
Bias in R's random integers?
...gt; > Dear list,
> >
> > It looks to me that R samples random integers using an intuitive but biased
> > algorithm by going from a random number on [0,1) from the PRNG to a random
> > integer, e.g.
> > https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >
> > Many other languages use various rejection sampling approaches which
> > provide an unbiased method for sampling, such as in Go, python, and others
> > described here: https://arxiv.org/abs/1805.10941 (I believe the biased
> > algorithm currently used in R is...
2018 Sep 19
2
Bias in R's random integers?
...;> It looks to me that R samples random integers using an intuitive but
> biased
> >>> algorithm by going from a random number on [0,1) from the PRNG to a
> random
> >>> integer, e.g.
> >>> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >>>
> >>> Many other languages use various rejection sampling approaches which
> >>> provide an unbiased method for sampling, such as in Go, python, and
> others
> >>> described here: https://arxiv.org/abs/1805.10941 (I believe the
> biased
&...
2018 Sep 19
2
Bias in R's random integers?
...t; > intuitive but biased
> > >>> algorithm by going from a random number on [0,1) from the PRNG
> > to a random
> > >>> integer, e.g.
> > >>>
> >
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> > >>>
> > >>> Many other languages use various rejection sampling approaches
> > which
> > >>> provide an unbiased method for sampling, such as in Go, python,
> > and others
> > >>> described here:...
2018 Sep 19
0
Bias in R's random integers?
...6 PM, Carl Boettiger wrote:
> Dear list,
>
> It looks to me that R samples random integers using an intuitive but biased
> algorithm by going from a random number on [0,1) from the PRNG to a random
> integer, e.g.
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
>
> Many other languages use various rejection sampling approaches which
> provide an unbiased method for sampling, such as in Go, python, and others
> described here: https://arxiv.org/abs/1805.10941 (I believe the biased
> algorithm currently used in R is also described there)....
2018 Sep 19
0
Bias in R's random integers?
...ist,
>>>
>>> It looks to me that R samples random integers using an intuitive but biased
>>> algorithm by going from a random number on [0,1) from the PRNG to a random
>>> integer, e.g.
>>> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
>>>
>>> Many other languages use various rejection sampling approaches which
>>> provide an unbiased method for sampling, such as in Go, python, and others
>>> described here: https://arxiv.org/abs/1805.10941 (I believe the biased
>>> algorithm currentl...
2018 Sep 19
0
Bias in R's random integers?
...les random integers using an
> intuitive but biased
> >>> algorithm by going from a random number on [0,1) from the PRNG
> to a random
> >>> integer, e.g.
> >>>
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >>>
> >>> Many other languages use various rejection sampling approaches
> which
> >>> provide an unbiased method for sampling, such as in Go, python,
> and others
> >>> described here: https://arxiv.org/abs/1805.10...
2018 Sep 19
4
Bias in R's random integers?
...t;> algorithm by going from a random number on [0,1) from
> > the PRNG
> > > to a random
> > > >>> integer, e.g.
> > > >>>
> > >
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> > > >>>
> > > >>> Many other languages use various rejection sampling
> > approaches
> > > which
> > > >>> provide an unbiased method for sampling, such as in Go,
> > python,...
2018 Sep 19
0
Bias in R's random integers?
...sed
> >? ? ? >>> algorithm by going from a random number on [0,1) from
> the PRNG
> >? ? ?to a random
> >? ? ? >>> integer, e.g.
> >? ? ? >>>
> > https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >? ? ? >>>
> >? ? ? >>> Many other languages use various rejection sampling
> approaches
> >? ? ?which
> >? ? ? >>> provide an unbiased method for sampling, such as in Go,
> python,
> >? ? ?and others...
2018 Sep 19
2
Bias in R's random integers?
...> > > the PRNG
> > > > to a random
> > > > >>> integer, e.g.
> > > > >>>
> > > >
> >
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> > > > >>>
> > > > >>> Many other languages use various rejection
> sampling
> > > approaches
> > > > which
> > > > >>> provide an unbiased met...
2018 Sep 19
2
Bias in R's random integers?
...1) from
>> ???? >? ? ?the PRNG
>> ???? >? ? ? >? ? ?to a random
>> ???? >? ? ? >? ? ? >>> integer, e.g.
>> ???? >? ? ? >? ? ? >>>
>> ???? >? ? ? >
>> ??? https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
>> ???? >? ? ? >? ? ? >>>
>> ???? >? ? ? >? ? ? >>> Many other languages use various rejection
>> sampling
>> ???? >? ? ?approaches
>> ???? >? ? ? >? ? ?which
>> ???? >? ? ? >? ? ? >>> provide an unbiased meth...
2018 Sep 19
0
Bias in R's random integers?
...m a random number on [0,1) from
> >? ? ?the PRNG
> >? ? ? >? ? ?to a random
> >? ? ? >? ? ? >>> integer, e.g.
> >? ? ? >? ? ? >>>
> >? ? ? >
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >? ? ? >? ? ? >>>
> >? ? ? >? ? ? >>> Many other languages use various rejection sampling
> >? ? ?approaches
> >? ? ? >? ? ?which
> >? ? ? >? ? ? >>> provide an unbiased method for sampling, such as
>...
2018 Sep 19
0
Bias in R's random integers?
...the PRNG
> >> > > to a random
> >> > > >>> integer, e.g.
> >> > > >>>
> >> > >
> >>
> https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >> > > >>>
> >> > > >>> Many other languages use various rejection
> >> sampling
> >> > approaches
> >> > > which
> >> > > >>...
2018 Sep 19
0
Bias in R's random integers?
...? ? ?the PRNG
> >? ? ? >? ? ? >? ? ?to a random
> >? ? ? >? ? ? >? ? ? >>> integer, e.g.
> >? ? ? >? ? ? >? ? ? >>>
> >? ? ? >? ? ? >
> > https://github.com/wch/r-source/blob/tags/R-3-5-1/src/main/RNG.c#L808
> >? ? ? >? ? ? >? ? ? >>>
> >? ? ? >? ? ? >? ? ? >>> Many other languages use various rejection
> sampling
> >? ? ? >? ? ?approaches
> >? ? ? >? ? ? >? ? ?which
> >? ? ? >? ? ? >? ? ? >>...