[R] Anomalous outputs from rbeta when using two different random number seeds

2012-12-06 Thread Jonathan Minton
Hi, in the code below, I am drawing 1000 samples from two beta distributions, each time using the same random number seed. Using set.seed(80) produces results I expect, in that the differences between the distributions are very small. Using set.seed(20) produces results I can't make sense of.

Re: [R] Anomalous outputs from rbeta when using two different random number seeds

2012-12-06 Thread Prof Brian Ripley
On 06/12/2012 11:00, Jonathan Minton wrote: Hi, in the code below, I am drawing 1000 samples from two beta distributions, each time using the same random number seed. Using set.seed(80) produces results I expect, in that the differences between the distributions are very small. Using