(no title)
awegio | 2 years ago
random(x) = random()*x
then you can easily see that random(random(random())) = random()*random()*random()
The resulting distribution is not equal to random()^3, because e.g. the probability that all 3 random calls give you a number <0.5 is only 0.125.
hedora|2 years ago
https://www.jstatsoft.org/article/download/v007i03/892
ibrahimbeladi|2 years ago
jwsteigerwalt|2 years ago
IIAOPSW|2 years ago