Categories

Tuesday, September 27, 2016

The 100-Win Cubs and Competitive Balance in MLB

In today's article on ESPN about the 100-win Cubs, David Schoenfield writes, "(W)e’ve had more parity in the past decade, making 95- and 100-win seasons increasingly rare." He measures this by comparing the number of teams with 95+ wins since MLB expanded to 30 teams in 1998:


1998-2006: 44 teams with 95-plus wins
2007-2016: 33 teams with 95-plus wins

I sought to see if a more mathematical calculation of competitive balance (CB) backs this up. I've looked at CB in the NBA in the past, and I applied this same technique to MLB (since 1998) by calculating the Noll-Scully Measure (NSM), which is the ratio of the actual standard deviation in each to season to the "ideal" standard deviation for that season. The lower the NSM, the greater CB there is in the league, with a perfectly balanced league having a ratio of 1.
In the two periods Schoenfiled indicated, there is indeed a difference in the NSM: it is much higher from 1998-2006, which implies less competitive balance.

1998-2006: 1.95 average NSM
2007-2016: 1.72 average NSM

For perspective, this season it is currently 1.724, which is right in line with the last decade, an era of more parity.

Thursday, September 22, 2016

"What are the odds?" That a Survey with 27 Choices and 1000 Participants Will End in a Tie

"We have a survey of 27 choices. There will be approximately 1,000 people voting, and they can only vote once and only make one choice each. What are the chances of a tie?"

Even without doing any math, it's obvious the number of combinations over 27 choices and 1,000 votes makes it very unlikely that there will be a tie. However, we can determine this probability indirectly using simulation.

I assumed that exactly 1,000 people will vote, and that each choice has an equal 1/27 chance of being chosen (this is obviously not likely true, but for simplicity this is the most basic assumption we can make).

I wrote a simulator in Python, and ran 10,000 simulations and tallied how often the survey resulted in a tie for first place: 14.34%.

Saturday, August 27, 2016

Preseason NCAAF Rankings for 2016

As I did last year and the year before, I've created a new set of preseason NCAAF rankings that take into account player turnover and recruiting classes. The following is literally copied and pasted from last year's write-up so you don't have to click that first link:

 As before, I used my final Composite ratings from the MDS Model (from last season) as the base (which takes into account both a forward-looking predictive component and a past-performance only retrodictive component), and then factored in ESPN's Preseason FPI and the S&P+ projections, both of which take into account player changes on each team. Once the season starts, this "preseason" rating will be faded out as the season progresses, carrying less and less weight with each ensuing week.

In the below list, the "Trend" indicates whether the respective team's new ranking rose or fell relative to the average of last year's end-of-season Composite ratings. I know this is a day late, so the Hawaii and Cal game is not yet included (these are purely preseason ratings).

Saturday, June 18, 2016

Who Would Win a 1-on-1 Tournament of Today's Best NBA Players?

Awhile back, NBA Memes (Facebook, Twitter) posted the following question:


So I thought I'd try to answer this question. I wrote a pickup basketball simulator to simulate games using NBA stats (from Basketball Reference). It follows the following aspects of a standard pickup game (stats used in parentheses):
  1. If the defensive player steals the ball, the possession ends (Steal %)
  2. Else, what type of a shot is taken (3PA/FGA)
  3. If a 2-pointer, if the defensive player blocks the shot, the possession ends (Block %)
  4. If not blocked or a 3-pointer, if the shot is made (2PM %, 3PM %)
  5. If miss, which player rebounded the miss (OReb %, DReb %)
  6. If the offensive player rebounds the miss, the possession starts over
The following rules are enforced:
  1. Standard pickup scoring is applied: 2's and 1's (3-pointers count as 2, 2-pointers count as 1)
  2. No free throws. You don't shoot free throws in pickup
  3. The games are to 21, win by 2
Right off the bat, it's fairly obvious Curry (and the other 3-point shooters) have a big advantage due to the 2's and 1's rule (Grantland wrote about this scoring advantage). 

After simulating each possible 1-on-1 combination 10,000 times each, another wrinkle jumped out at me: one of these things is not like the othersI used this past NBA season's statistics, and Carmelo is past his prime at this point. He loses to every other player in this hypothetical tournament (and in most cases it's not even close), so for simplicity, I've dropped him to make an 8-team bracket. Here is the win probability matrix for every single possible matchup, including Carmelo:

Win ProbCurryLeBronLeonardDurantHardenDavisWestbrookGeorgeCarmelo
Curry0.00%57.36%58.86%64.82%69.33%66.30%71.07%74.60%82.80%
LeBron42.64%0.00%58.06%60.23%60.09%68.45%73.83%74.30%85.20%
Leonard41.14%41.94%0.00%55.67%57.34%56.93%65.05%69.02%78.56%
Durant35.18%39.77%44.33%0.00%51.96%52.83%60.53%64.91%73.34%
Harden30.67%39.91%42.66%48.04%0.00%53.63%57.66%59.46%72.35%
Davis33.70%31.55%43.07%47.17%46.37%0.00%61.86%63.25%74.58%
Westbrook28.93%26.17%34.95%39.47%42.34%38.14%0.00%55.34%64.04%
George25.40%25.70%30.98%35.09%40.54%36.75%44.66%0.00%58.61%
Carmelo17.20%14.80%21.44%26.66%27.65%25.42%35.96%41.39%0.00%

I seeded each player based on their predicted overall win totals, which created the following bracket:

SeedPlayerRound 1Round 2Round 3
1Curry74.60%49.97%30.28%
8George25.40%9.58%2.95%
4Durant51.96%22.20%10.04%
5Harden48.04%18.25%8.15%
3Leonard56.93%27.32%13.66%
6Davis43.07%17.00%7.11%
2LeBron73.83%46.17%24.36%
7Westbrook26.17%9.51%3.45%

Curry wins the tournament most often, but LeBron isn't far behind. The two of them combine to win 54.64% of the time, which favors the pair over the other six players in the field.

Per the win % matrix, the top 5 least competitive matchups (discounting Carmelo):

RankWinnerLoserWin %
1CurryGeorge74.60%
2LeBronGeorge74.30%
3LeBronWestbrook73.83%
4CurryWestbrook71.07%
5CurryHarden69.33%

And the top 5 most competitive matchups:

RankWinnerLoserWin %
1DurantHarden51.96%
2DurantDavis52.83%
3HardenDavis53.63%
4WestbrookGeorge55.34%
5LeonardDurant55.67%

Some interesting things that jumped out at me:
  • Per the simulations, advantages are not transitive. For example, Curry is favored over LeBron, but he beats Davis (66.30%) less often than LeBron beats Davis (68.45%). 
  • Including defensive performance is huge. Without it, Curry beats LeBron almost 70% of the time, as opposed to 57.36% in the final simulation.
  • The length of game matters. If the games are to 11, then the spread of competitive balance is much smaller (games are much closer to 50/50).
Finally, here are the associated predicted margins of victory for each matchup:

MOVCurryLeBronLeonardDurantHardenDavisWestbrookGeorgeCarmelo
Curry0.001.131.432.373.292.393.394.255.64
LeBron-1.130.001.241.331.682.783.794.075.99
Leonard-1.43-1.240.000.881.230.952.343.144.63
Durant-2.37-1.33-0.880.000.320.351.652.463.81
Harden-3.29-1.68-1.23-0.320.000.571.211.613.77
Davis-2.39-2.78-0.95-0.35-0.570.001.782.143.91
Westbrook-3.39-3.79-2.34-1.65-1.21-1.780.000.922.17
George-4.25-4.07-3.14-2.46-1.61-2.14-0.920.001.42
Carmelo-5.64-5.99-4.63-3.81-3.77-3.91-2.17-1.420.00