- Joined
- 18 September 2008
- Posts
- 4,041
- Reactions
- 1,185
Okay.
Bellenuit, any formula works upon the knowing of the numbers. The likelihood of answering yes correctly the first time is 1 in 1000. Everyone seems to be collecting the data and working it out. It is easy to eliminate numbers and increase the odds if the numbers are known. That is not part of the stated operation.
But you are not collecting the data and working it out, otherwise you would be right every time. You are allowing 500 numbers to pass answering No to each one, but taking a note of the highest number within that 500.
Is that not collecting data? You state "taking a note of the highest number within that 500".
I think i've figured it out, the optimal number to choose depends on how big the number is at what point in the sequence.
-Let H denote the highest number so far in the series.
-Let the range of finite numbers be limited to x and -x (giving a range of 2x)
-Let n denote how many numbers have already been drawn.
The relative position of the current highest number in the series is thus:
x-H (ie. how many can possibly be ABOVE the current high)
Thus the probability that a higer number will not be drawn on the next draw is:
(x-H)/(2x)
ie. Number of possible higher integers divided by the total amount of possible integers.
Consequently, assuming we have drawn n numbers, we have (1000-n) numbers left to draw.
Thus the probability that no higher number will occur in the rest of the draw is given by:
[(x-H)/(2x)]^(1000-n)
As such, it is best to wait till close to the end of the series to make the choice. H = say 0.8x early on at say n=100 would yield a very low probability that this is the highest possible number and would not be picked. But if H increases significantly and/or n approaches 1000, the probability that 'no higher number would occur' increases and you would be more likely to pick...
-Let the range of finite numbers be limited to x and -x (giving a range of 2x)
Okay here is a simple "test" for this formula. I will present five numbers from one thousand random numbers my computer has generated. Please answer yes or no to each number. I know what the highest number is in the 1000 so good luck.
192821239
-616178961
789673834
680667335
998670174
You cannot use this, as the range is unknown/infinite to the person answering yes or no. ie. We could assume that a single observation of a number generted is Y, so it could be said that Y is continuously uniformly distributed, Y~U(-X,X). Ie. Y doesn't have to take an integer value?
So you would need to use some form of order statistic distribution, Y(n): max(Y1,...Yn)
http://en.wikipedia.org/wiki/Order_statistic#The_order_statistics_of_the_uniform_distribution
I just had a stat exam this morning, and not getting where to take this, i assume this is the more 'advanced' way of solving it? or Im looking at it completly from the wrong angle?
Lol can't do; The equation needs the limits. If limits not specified, its as good as finite. What can be done is say this high number is 85% of Limit.
Thanks for the link, reading up on it.
Oh i was doing this under the assumption that bellenuit had changed it to a finite range.
Okay thanks. Saying yes to a higher number than previous numbers narrows the chances.Lol can't do; The equation needs the limits. If limits not specified, its as good as finite. What can be done is say this high number is 85% of Limit.
Yes. After there was some anomalies encountered when infinities were involved in the maths, the range of random numbers was changed to a vast but unknown finite range.
You have a simple computer program that sequentially generates 1000 perfectly random numbers within a finite, but vast range. You do not know what the range is, other than that it is finite.
Very famous problem this one. I haven't heard it formulated this way, i believe you would be called a misogynist if you gave it its original name.
I won't let be a spoiler, but am happy to give hints for people that are having fun.
It's at least 35 years since I first heard this problem. It was originally formulated as numbers written on the backs of pieces of paper that were turned upside down. You were to turn a paper and nominate if that was the highest number on all the pieces of paper, including those unturned obviously. I thought I would just change the setting.
I plan to put the solution up tonight sometime. I hope my logic is correct as I have had to recreate what I think is the correct strategy from memory. You can correct me if I'm wrong.
Sorry very unmathematical here, just playing around with numbers and thoughts - and approximations. ( the same way I'd play roulette - if I were to get real pissed and play roulette that is )
bellenuit.... For those of you still awake, this fraction just happens to be 1/e, e being the natural number e. Now, ain't that interesting.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?