Displaying 8 results from an estimated 8 matches for "86874179".
2017 Nov 03
5
Extreme bunching of random values from runif with Mersenne-Twister seed
...t;86577411", "86584144",
"86584272", "86620568", "86724613", "86756002", "86768593",
"86772411",
"86781516", "86794389", "86805854", "86814600", "86835092",
"86874179",
"86876466", "86901193", "86987847", "86988080")
random_values = sapply(seeds, function(x) {
set.seed(x)
y = runif(1, 17, 26)
return(y)
})
This gives values that are **extremely** bunched together.
> summary(ran...
2017 Nov 03
2
Extreme bunching of random values from runif with Mersenne-Twister seed
...t;,
>> "86584272", "86620568", "86724613", "86756002", "86768593",
>> "86772411",
>> "86781516", "86794389", "86805854", "86814600", "86835092",
>> "86874179",
>> "86876466", "86901193", "86987847", "86988080")
>>
>> random_values = sapply(seeds, function(x) {
>> set.seed(x)
>> y = runif(1, 17, 26)
>> return(y)
>> })
>>
>> T...
2017 Nov 03
1
Extreme bunching of random values from runif with Mersenne-Twister seed
...the `seeds` variable from a character vector to the "equivalent"
integer vector by hand.
> seeds = c(86548915L, 86551615L, 86566163L, 86577411L, 86584144L,
86584272L,
+ 86620568L, 86724613L, 86756002L, 86768593L, 86772411L, 86781516L,
+ 86794389L, 86805854L, 86814600L, 86835092L, 86874179L, 86876466L,
+ 86901193L, 86987847L, 86988080L)
>
> random_values = sapply(seeds, function(x) {
+ set.seed(x)
+ y = runif(1, 17, 26)
+ return(y)
+ })
>
> summary(random_values)
Min. 1st Qu. Median Mean 3rd Qu. Max.
25.13 25.36 25.66 25.58 25.83 25.94
>...
2017 Nov 03
0
Extreme bunching of random values from runif with Mersenne-Twister seed
...;, "86584144", "86584272", "86620568",
> "86724613", "86756002", "86768593", "86772411",
> "86781516", "86794389", "86805854", "86814600",
> "86835092", "86874179", "86876466", "86901193",
> "86987847", "86988080")
> random_values = sapply(seeds, function(x) {
> set.seed(x)
> y = runif(1, 17, 26)
> return(y)
> })
Why do you do that?
1) You should set the seed *on...
2017 Nov 03
0
Extreme bunching of random values from runif with Mersenne-Twister seed
...uot;86584144",
> "86584272", "86620568", "86724613", "86756002", "86768593",
> "86772411",
> "86781516", "86794389", "86805854", "86814600", "86835092",
> "86874179",
> "86876466", "86901193", "86987847", "86988080")
>
> random_values = sapply(seeds, function(x) {
> set.seed(x)
> y = runif(1, 17, 26)
> return(y)
> })
>
> This gives values that are **extremel...
2017 Nov 03
2
Extreme bunching of random values from runif with Mersenne-Twister seed
...;86584272", "86620568", "86724613", "86756002", "86768593",
>>>> "86772411",
>>>> "86781516", "86794389", "86805854", "86814600", "86835092",
>>>> "86874179",
>>>> "86876466", "86901193", "86987847", "86988080")
>>>>
>>>> random_values = sapply(seeds, function(x) {
>>>> set.seed(x)
>>>> y = runif(1, 17, 26)
>>>>...
2017 Nov 03
0
Extreme bunching of random values from runif with Mersenne-Twister seed
..."86584272", "86620568", "86724613", "86756002", "86768593",
>>> "86772411",
>>> "86781516", "86794389", "86805854", "86814600", "86835092",
>>> "86874179",
>>> "86876466", "86901193", "86987847", "86988080")
>>>
>>> random_values = sapply(seeds, function(x) {
>>> set.seed(x)
>>> y = runif(1, 17, 26)
>>> return(y)
>>>...
2017 Nov 05
0
Extreme bunching of random values from runif with Mersenne-Twister seed
...t;, "86620568", "86724613", "86756002", "86768593",
>>>>> "86772411",
>>>>> "86781516", "86794389", "86805854", "86814600", "86835092",
>>>>> "86874179",
>>>>> "86876466", "86901193", "86987847", "86988080")
>>>>>
>>>>> random_values = sapply(seeds, function(x) {
>>>>> set.seed(x)
>>>>> y = runif(1, 17,...