Read very, very carefully. :-)
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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||