Hello:) I'm interesting in RandomInt function. I need to know distribution of this function.
Example: Rand(100) < 10
Simple normal distribution gives 10%
RandomInt(100) < 10 is same but if i take range greater, the result willn't be same...
Example: RandomInt(41943)<714 chans isn't 1.7%
Thnx for answers.
RandomInt
About all I can say is that I treat a result of 0 as occuring about 2 times as often as I'd expect it to.
So RandomInt(10) == 0 does subjectively occur more than its fair share.
I am just careful of what I assign to a result of 0.
Years ago I saw the results of a small script that recorded the results of of hundreds of randomint throws and of course it tended to even out over time. Just how you can reconcile those two findings I have no idea.
So RandomInt(10) == 0 does subjectively occur more than its fair share.
I am just careful of what I assign to a result of 0.
Years ago I saw the results of a small script that recorded the results of of hundreds of randomint throws and of course it tended to even out over time. Just how you can reconcile those two findings I have no idea.
-
Grin