Quote:
Originally Posted by heehaww
Also, nick, can you explain the reasoning behind:You compare finish #1 to #3, then #2 to #4, then #3 to #5 and so on? But why?
This is what i do in my simulation:
1) Extract 100 random numbers between 1 and 6000.
2) Sort those 100 numbers.
3) Take the differences with a 2-lag. That's the command that you outlined. Since the positions are sorted, in this way I can see if there are 3 tourneys within a 5 interval. So I compare 3rd best finish with the first, the 4th best with the 2nd best and so on. If any of these differences are lower than 5, this means that the condition in the OP is met.
4) Repeat the above nsim times.
As far as I understood, the three tourneys doesn't have to be consecutive; am I wrong? Do a 13th position in the first tournament, a 16th position in the 55th tournament and a 17th position in the 96th tournament for instance qualify? However, if that's not the case, It suffices to not sort the 100 numbers and check if the absolute value of the 2-lag differences is lower than 5.