Perl Monk, Perl Meditation PerlMonks

### RE (tilly) 2: Spooky math problem

by tilly (Archbishop)
 on Nov 01, 2000 at 06:09 UTC ( #39368=note: print w/replies, xml ) Need Help??

in reply to RE: Spooky math problem

What your probability is of being correct depends on what two numbers I have. You only can guarantee that it is better than even, but it could be by a very small amount indeed. There is theoretical discussion on this, and the fact that you don't know the probability turns out to be important. (I don't remember details though.)

However there is a variant of this problem where both you and I pick our numbers independently out of the same distribution. Now you can work out the probability of your being right prior to my picking my numbers. And even though your number has no actual information about mine, you turn out to be right exactly 2/3 of the time. If you disbelieve this it is easy to write a short script to test it.

Again, I got this problem from a probability theorist and it really does work.

Replies are listed 'Best First'.
RE: RE (tilly) 2: Spooky math problem
by Fastolfe (Vicar) on Nov 01, 2000 at 20:03 UTC
A Perl script describing this would be most helpful. All this math talk is giving me a headache. Theoretical physics I can handle. It's conceptual. Math is another matter. Given that I think in Perl, I think that'd be best.

Create A New User
Node Status?
node history
Node Type: note [id://39368]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-12-17 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
What programming language do you hate the most?

Results (466 votes). Check out past polls.

Notices?