Stat Problem that I solved using simulations; verify answer

  • Context: High School 
  • Thread starter Thread starter rollingstein
  • Start date Start date
  • Tags Tags
    Simulations
Click For Summary
SUMMARY

The probability of Team A winning a seven-game tournament against Team B, with home games distributed as A A B B B A A, is calculated to be approximately 51.57197%. This result was derived using simulations in R, which indicated a stable win probability of 0.52 for Team A. The analysis involved evaluating various game outcomes through binomial distributions and brute-force enumeration of all possible game results. The discussion highlights the importance of accurately estimating probabilities based on home-field advantages and the necessity of considering multiple game scenarios.

PREREQUISITES
  • Understanding of binomial distributions in probability theory
  • Familiarity with R programming for statistical simulations
  • Knowledge of tournament structures and win conditions
  • Ability to perform combinatorial analysis of game outcomes
NEXT STEPS
  • Learn advanced R techniques for statistical simulations
  • Study combinatorial probability and its applications in game theory
  • Explore analytical methods for calculating probabilities in tournaments
  • Investigate the impact of home-field advantage in sports statistics
USEFUL FOR

Statisticians, data analysts, sports analysts, and anyone interested in probability theory and simulation techniques in competitive scenarios.

rollingstein
Messages
644
Reaction score
16
Someone posed this Stat / probability 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:
Physics 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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
9
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K