Monday, June 2, 2014

Simulating the 2014 World Cup

I adapted my Monte Carlo simulator (not very efficiently, it took about 1,500 lines of code) to simulate this year’s World Cup 10,000 times. Its input was ESPN’s Soccer Power Index.


Below are the results, including the average points each team earned in the group stage, percentage placing 1st in group, placing 2nd in group, (and advancing out of the group, which is simply these 2 numbers added together), advancing to the quarterfinals, semifinals, final, and winning the entire tournament.
CountrySPI RatingAvg Points (Group)1st in Group2nd in GroupAdvancingQuartersSemisFinalChampion
Brazil91.97.5888.07%9.57%97.64%64.30%44.27%30.50%20.10%
Mexico76.53.354.94%43.51%48.45%15.77%6.54%2.48%0.82%
Croatia75.23.224.25%28.70%32.95%10.68%4.17%1.56%0.51%
Cameroon71.02.662.74%18.22%20.96%5.56%2.00%0.64%0.15%
Spain89.35.5151.82%27.36%79.18%49.19%31.58%19.51%10.66%
Chile87.35.0130.38%39.14%69.52%35.29%21.03%12.01%6.21%
Netherlands82.13.9014.27%24.26%38.53%15.72%7.96%3.39%1.39%
Australia69.92.173.53%9.24%12.77%3.49%1.06%0.37%0.09%
Colombia86.15.5054.87%24.64%79.51%46.02%20.94%11.25%5.49%
Ivory Coast79.34.1721.47%34.23%55.70%25.39%9.54%3.90%1.42%
Greece76.03.6314.19%23.84%38.03%15.55%5.17%1.93%0.53%
Japan72.43.189.47%17.29%26.76%9.77%3.03%0.94%0.25%
Uruguay84.14.6239.51%26.14%65.65%36.95%16.52%8.05%3.66%
England83.24.5029.45%31.08%60.53%32.23%13.61%6.38%2.84%
Italy81.04.0119.98%24.68%44.66%22.25%8.61%3.96%1.65%
Costa Rica76.73.3211.06%18.10%29.16%11.84%3.97%1.64%0.65%
France85.35.1347.72%26.36%74.08%39.92%22.05%10.14%4.96%
Ecuador82.24.5327.96%33.41%61.37%28.18%14.22%6.07%2.41%
Switzerland77.43.7014.83%23.30%38.13%15.46%7.03%2.56%0.93%
Honduras73.43.129.49%16.93%26.42%8.59%3.46%1.11%0.36%
Argentina90.36.3267.82%20.80%88.62%60.01%40.70%24.86%14.33%
Bosnia-Herzegovina79.54.0717.15%39.48%56.63%26.35%12.03%4.13%1.52%
Nigeria75.73.419.56%24.00%33.56%14.18%5.66%1.93%0.59%
Iran70.82.815.47%15.72%21.19%7.31%2.46%0.57%0.18%
Germany88.75.8059.64%23.36%83.00%58.47%36.08%19.11%10.72%
Portugal79.63.8817.39%33.67%51.06%27.04%11.00%4.63%1.69%
United States77.63.5313.33%23.64%36.97%18.59%7.61%2.51%0.77%
Ghana76.23.319.64%19.33%28.97%13.89%5.41%1.93%0.65%
Belgium80.55.1145.86%27.39%73.25%33.72%14.66%5.82%2.35%
Russia78.84.7931.35%34.05%65.40%27.94%10.92%4.25%1.61%
South Korea73.53.9716.45%26.17%42.62%15.29%5.42%1.69%0.49%
Algeria62.72.656.34%12.39%18.73%5.06%1.29%0.19%0.02%

1 comment: