|
|
|Store|
|
|
|
|
|
|
|
|
CTK Exchange
Graham C
Member since Feb-5-03
|
Apr-06-04, 09:03 AM (EST) |
 |
"Weakest link"
|
This is a computational problem, not a theoretical one, and is a sense may therefore be dull, and of course a simulation program could 'solve' it. The trick however is not just to solve it but to find an elegant way of computing it. The puzzle is based on the TV programme 'The Weakest Link'. For people who haven't watched it there are 8 contestants, answering general knowledge questions. There are 6 rounds in which they do so. At the end of each one contestant is voted off by the others. In the last round there is no vote. The stronger of the two left wins. The prize money is all given to the winner, and the amount depends on the number of questions answered. Everybody's motive is therefore twofold: to see as many questions answered as possible, and to see anyone who is stronger than himself voted off. In the earlier rounds the weakest contestant tends to be voted off (to maximise the amount), whereas later on the stronger ones are more likely to be voted off, to get rid of dangerous rivals. Sometimes someone else is voted off (for whatever other unknown reason). Assume the eight contenders are in order of their strength A>B>C>D>E>F>G>H - i.e. A is the strongest - and that their relative strengths are constant. Assume there is a 3/8 probability that someone apart from the strongest or weakest (at random) is eliminated in each of the first six rounds, and the probability that the strongest or weakest will be eliminated is according to the following table: Round....weakest out....strongest out.....random choice ..1.........5/8..............0.................3/8 ..2.........4/8.............1/8................3/8 ..3.........3/8.............2/8................3/8 ..4.........2/8.............3/8................3/8 ..5.........1/8.............4/8................3/8 ..6..........0..............5/8................3/8 ..7..........1...............0..................0 What are the chances of each of the eight winning? |
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
 |
Graham C
Member since Feb-5-03
|
Apr-07-04, 12:36 PM (EST) |
 |
2. "RE: Weakest link"
In response to message #1
|
It does a bit - same family I guess. In both the strategic question is whether to go after the weakest or the strongest in each round. However in the truel puzzle the computation is relatively easy; it's determining the best strategy that creates the discussion. Here it is the computation that is complex, especially when you have to start taking into account the contestant may have been promoted in the pecking order and as a result become the strongest - or seen the ones below him got rid of so he is now the weakest. Given the computation, the overall strategy seems more obvious, though eventually it would depend on factors I haven't given, like the probability each contestant gets an answer wrong. I did finally get a reasonably elegant, albeit recursive, function for this, in the form f(m,n) to calculate the probability of winning for the nth strongest contestant out of m starters.
|
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
|
 |
alexb
Charter Member
1252 posts |
Apr-07-04, 12:39 PM (EST) |
 |
3. "RE: Weakest link"
In response to message #2
|
>It does a bit - same family I guess. In both the strategic >question is whether to go after the weakest or the strongest >in each round. > >However in the truel puzzle the computation is relatively >easy; it's determining the best strategy that creates the >discussion. An additional difference is that in the truel one may shoot in the air, thus bypassing the need to make an explicit choice as implied in the Weakest Link. >I did finally get a reasonably elegant, albeit recursive, >function for this, in the form f(m,n) to calculate the >probability of winning for the nth strongest contestant out >of m starters. Would not you want to share it?
|
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
|
 |
Graham C
Member since Feb-5-03
|
Apr-08-04, 06:46 PM (EST) |
 |
4. "RE: Weakest link"
In response to message #3
|
> >>I did finally get a reasonably elegant, albeit recursive, >>function for this, in the form f(m,n) to calculate the >>probability of winning for the nth strongest contestant out >>of m starters. > >Would not you want to share it? Well, I thought someone might want to figure it out for themselves. However, since anyone like that could stop reading now.... For n contestants, define xm = probability the weakest is eliminated in round m, where m=1 indicates the final round, not the first. ym = probability the strongest is eliminated. zm = probability someone else is elimnated. It follows from the Description that zm = (1-xm-ym)/(m-1). Construct an array S(1..n-1,0..n+1) as follows: S(m,0) = 0 S(m,1) = xm S(m,m plus 1) = ym S(m,n) = zm (1<n<=m) Other entries are all 0. The function f(m,n) is then f(1,n) = S(1,n) f(m,n) = f(m-1,n-1)*sum(i=0..n-1) S(m,i) plus f(m-1,n)*sum(i=n plus 1..m plus 1) S(m,i) With n contestants, there are n-1 rounds, so the initial starting probabilities are given by f(n-1,n) For 8 contestants A..H with the probabilities originally stated this gives the initial survival rates as A = 0.076904 B = 0.161087 C = 0.228794 D = 0.2435 E = 0.184062 F = 0.086706 G = 0.018948 H = 0 (PS I originally used square brackets for the array references, but sometimes they got converted to angle brackets, and sometimes they were dropped completely.)
|
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
|
 |
KL_GB
Member since Feb-13-04
|
Apr-13-04, 04:20 PM (EST) |
 |
5. "RE: Weakest link"
In response to message #4
|
I approached it differently (I think), by defining a state <n,p,q> meaning that in round n, the pth strongest contestant is in ranking position q. There is a recursive relationship: Probability p<n,p,q> = a * p<n-1,p,q> + b * p<n-1,p,q+1> where a is the probability that someone lower in the pecking order was eliminated in the previous round, and b is the probability that someone higher in the pecking order was eliminated in the previous round. a and b are fairly easy to define in terms of n and q. The initial conditions are p<1,i,j>=1 for i=j, otherwise 0. This is fairly easy to code into a spreadsheet, and I came up with the same answers. At first I solved a slightly different problem, with the 3/8 probability in each round being spread between all the contestants. The answer is slightly different, but your best chance was still from being mediocre (i.e. 4th best). Regards KL KL |
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
|
 |
Graham C
Member since Feb-5-03
|
Apr-14-04, 09:39 AM (EST) |
 |
6. "RE: Weakest link"
In response to message #5
|
>I approached it differently (I think), by defining a state ><n,p,q> meaning that in round n, the pth strongest >contestant is in ranking position q. > >There is a recursive relationship: > >Probability p<n,p,q> = a * p<n-1,p,q> + b * p<n-1,p,q+1> > >where a is the probability that someone lower in the pecking >order was eliminated in the previous round, and b is the >probability that someone higher in the pecking order was >eliminated in the previous round. a and b are fairly easy >to define in terms of n and q. Neat. Your a and b seem to be essentially the summation expressions in my version: I was a little more explicit in showing one way of calculating them. I originally built a spreadsheet too. Brilliant invention, spreadsheets.
|
|
Alert | IP |
Printer-friendly page |
Reply |
Reply With Quote | Top |
|
|
|

You may be curious to have a look at the old CTK Exchange archive. Please do not post there.
|Front page|
|Contents|
Copyright © 1996-2018 Alexander Bogomolny
73175351
|
|
|