Clear Notion Academy

Statistics and Probability (Beyond Advanced) Practice: In an election, candidate A receives 12 votes and candidate B receives 7 votes. The 19…

Question

In an election, candidate A receives 1212 votes and candidate B receives 77 votes. The 1919 ballots are counted one at a time in a uniformly random order. Find the probability that at every stage of the counting A's running total is at least as large as B's (ties are allowed). Give the answer correct to two decimal places.

Answer

Answer: 0.46

Hint

Represent a counting order as a lattice path. A path that ever falls below the line 'A = B' first touches 'A = B - 1'; reflect its initial part in that line.

Solution

A counting order is a path of 1919 steps (+1+1 for A, −1-1 for B) ending at +5+5; there are (197)=50388\binom{19}{7}=50388 equally likely paths. A bad path reaches the level −1-1. Reflect its part up to the first visit to −1-1 in the level −1-1: the start moves from 00 to −2-2, and this is a bijection between bad paths and all paths from −2-2 to +5+5 in 1919 steps. Such paths have 1313 up-steps and 66 down-steps: (196)=27132\binom{19}{6}=27132 of them. Good paths: 50388−27132=2325650388-27132=23256, so the probability is 2325650388=613≈0.4615\frac{23256}{50388}=\frac{6}{13}\approx0.4615 (in general a+1−ba+1\frac{a+1-b}{a+1}). The strict version (A always ahead) gives a−ba+b=519\frac{a-b}{a+b}=\frac{5}{19}, the trap. Answer: 0.460.46.

More questions from Statistics and Probability (Beyond Advanced) Practice

Practise the full set: Statistics and Probability — Beyond Advanced