G
Graeme Defty
Sorry, all. New to the list. I accidentally posted my
previous under a nonsense user id
post, so I don't know who it was) but I think I think
it's wrong for a different reason.
I got the probability of getting exactly one number in
a specific interval to be as follows:
Probability of one *specific* number in the interval
1/20
Probability of all the other 19 OUT of that interval
(19/20)**19
But we have 20 specific numbers to consider, so:
20 * 1/20 * (19/20)**19
or
(19.0/20)**19
which gives a remarkably similar 0.3773536 (don't know
if this is a co-incidence. My brain hurts
Where I think this goes wrong is in assuming that
expanding this to 20 intervals just needs a **20.=20
After we get exactly one number in the first interval,
we then are looking for exactly one number in the
second interval, which is only one interval out of 19.
In other words, the probability should
be(18.0/19)**18. and so forth. The overall probability
therefore is
(19.0/20)**19 * (18.0/19)**18 * ... * (2.0/1)**1
which my RubyShell informs me is 0.377353602535307e-8,
or thereabouts
Graeme
Send instant messages to your online friends http://uk.messenger.yahoo.co=
m=20
previous under a nonsense user id
I think he is wrong too (sorry. Missed the previous=20
I think you are wrong. A rough estimates of this
probability gives me
1e-2171438.
Actually, it should be a bit smaller, but at least
the order of
magnitude of the order of magnitude is right
Quite impressive...
=20
Paolo
=20
=20
post, so I don't know who it was) but I think I think
it's wrong for a different reason.
I got the probability of getting exactly one number in
a specific interval to be as follows:
Probability of one *specific* number in the interval
1/20
Probability of all the other 19 OUT of that interval
(19/20)**19
But we have 20 specific numbers to consider, so:
20 * 1/20 * (19/20)**19
or
(19.0/20)**19
which gives a remarkably similar 0.3773536 (don't know
if this is a co-incidence. My brain hurts
Where I think this goes wrong is in assuming that
expanding this to 20 intervals just needs a **20.=20
After we get exactly one number in the first interval,
we then are looking for exactly one number in the
second interval, which is only one interval out of 19.
In other words, the probability should
be(18.0/19)**18. and so forth. The overall probability
therefore is
(19.0/20)**19 * (18.0/19)**18 * ... * (2.0/1)**1
which my RubyShell informs me is 0.377353602535307e-8,
or thereabouts
Graeme
Send instant messages to your online friends http://uk.messenger.yahoo.co=
m=20