search for: r_new_sample

Displaying 5 results from an estimated 5 matches for "r_new_sample".

2019 Feb 19
2
bias issue in sample() (PR 17494)
...table(sample(2/7 * 2^32, 1000000, replace = TRUE) %% 2) ## ## 0 1 ## 429054 570946 I committed a modification to R_unif_index to address this by generating random bits (blocks of 16) and rejection sampling, but for now this is only enabled if the environment variable R_NEW_SAMPLE is set before the first call. Some things still needed: - someone to look over the change and see if there are any issues - adjustment of RNGkind to allowing the old behavior to be selected - make the new behavior the default - adjust documentation - ??? Unfortunately I don't have enough fre...
2019 Feb 26
2
bias issue in sample() (PR 17494)
...;> ## >> ## 0 1 >> ## 429054 570946 >> >> I committed a modification to R_unif_index to address this by >> generating random bits (blocks of 16) and rejection sampling, but for >> now this is only enabled if the environment variable R_NEW_SAMPLE is >> set before the first call. >> >> Some things still needed: >> >> - someone to look over the change and see if there are any issues >> - adjustment of RNGkind to allowing the old behavior to be selected >> - make the new behavior the default >> -...
2019 Feb 26
1
bias issue in sample() (PR 17494)
...??? 1 >>>> ????? ## 429054 570946 >>>> >>>> I committed a modification to R_unif_index to address this by >>>> generating random bits (blocks of 16) and rejection sampling, but for >>>> now this is only enabled if the environment variable R_NEW_SAMPLE is >>>> set before the first call. >>>> >>>> Some things still needed: >>>> >>>> - someone to look over the change and see if there are any issues >>>> - adjustment of RNGkind to allowing the old behavior to be selected >&gt...
2019 Feb 20
0
bias issue in sample() (PR 17494)
...0000, replace = TRUE) %% 2) > ## > ## 0 1 > ## 429054 570946 > > I committed a modification to R_unif_index to address this by > generating random bits (blocks of 16) and rejection sampling, but for > now this is only enabled if the environment variable R_NEW_SAMPLE is > set before the first call. > > Some things still needed: > > - someone to look over the change and see if there are any issues > - adjustment of RNGkind to allowing the old behavior to be selected > - make the new behavior the default > - adjust documentation > - ???...
2019 Feb 26
0
bias issue in sample() (PR 17494)
...gt; ????? ##????? 0????? 1 >>> ????? ## 429054 570946 >>> >>> I committed a modification to R_unif_index to address this by >>> generating random bits (blocks of 16) and rejection sampling, but for >>> now this is only enabled if the environment variable R_NEW_SAMPLE is >>> set before the first call. >>> >>> Some things still needed: >>> >>> - someone to look over the change and see if there are any issues >>> - adjustment of RNGkind to allowing the old behavior to be selected >>> - make the new beh...