B Stat Problem that I solved using simulations; verify answer

  • B
  • Thread starter Thread starter rollingstein
  • Start date Start date
  • Tags Tags
    Simulations
AI Thread Summary
The discussion revolves around calculating the probability of team A winning a tournament against team B, given a specific home game advantage and a series of simulations. The simulation in R yielded a win probability of 0.52 for team A, which reflects a slight advantage due to the home game distribution. Participants explored both simulation and analytical methods, with one confirming an analytical probability of 51.57197% using a brute-force approach to list all possible game outcomes. The conversation highlights the complexity of accurately estimating probabilities in tournament scenarios and the potential for more elegant solutions. Overall, the calculations suggest that while team A has a slight edge, team B's home game advantage complicates the outcome.
rollingstein
Messages
644
Reaction score
16
Someone posed this Stat / Probablity problem to me:

Two teams A vs B play a tournament of seven games against each other. First team to won 4 games wins the tournament. The games are split over each team's home stadium as A A B B B A A.

Historically the home team wins a game 55% of the time. What's the probability that team A wins the tournament?


Now, I simulated this in R as a series of events drawn from three binomial distributions. I get a 0.52 win probability for team A. i.e. A small advantage remains for the team that starts the tourney since it gets 4 home games vs three for the other team.

Just wanted to double check this answer if it is amenable to an analytic solution.

I tried increasing the number of simulations and the answer of 0.52 is fairly stable but not sure whether I've converged onto the asymptotically right answer or not.
 
Last edited:
Mathematics news on Phys.org
The tournament ends the earliest after game 4 (AABB) and the latest after game 7 (AABBBBA). In every case, B has at least as many home games as A. B must have an advantage.

Do you mean A A B B B A A? Then I see that A can have an advantage, although B has a smaller advantage from AABBB.

You can calculate the analytic solution by looking at a few cases.
 
Yes. Thanks @mfb. My bad. I do mean A A B B B A A

I've corrected my post.
 
Rounded to whole percent, I can confirm 52%, but I think you should give at least one more digit, otherwise the advantage of A is poorly estimated.
 
Thanks again @mfb!

I get 51.56612% actually. But I wasn't sure how many digits to use to avoid overstating the accuracy of sims.

Out of curiosity, what's the exact analytical answer just to see how close I got. :)

uCLQNaR.png
 
51.57197%, by going through the cases of (A won x, B won y).
 
How did you solve it! I'm so stuck.

I brute force listed all 128 ways the game outcomes may turn out. i.e. a 128 x 7 grid of A / B combinations.

Of course not all tournaments will run 7 games.

But I'm stuck. What next?
 
Ok, I did get your answer but by an ugly brute-force method:

My approach:

Out of 128 total permutations I discarded the ones in which A lost by counting only for those rows with 4 or more "A"-wins.

Next, I manually replaced each "A"-win element by either a 0.55 or a 0.45 depending on which of the 7 game columns it was in.

Now multiplied the 7 probablities and summed over all 64 games.

I get 0.5157197.

Is there a smarter, more elegant approach?
 
P(B won 3 games, A won 2 games | 5 games played) = 0.55 * P(B won 2 games, A won 2 games | 4 games played) + 0.45 * P(B won 3 games, A won 1 game | 4 games played)

A 5x5 matrix is sufficient. It does not matter how "both won two games out of the first 4" occurred, for example, as long as you know the probability of this intermediate score.
 
Back
Top