Stratified Odds Ratios for Evaluating NBA Players Based on Their Plus/Minus Statistics
Total Page:16
File Type:pdf, Size:1020Kb
Journal of Quantitative Analysis in Sports Volume 7, Issue 2 2011 Article 5 Stratified Odds Ratios for Evaluating NBA Players Based on their Plus/Minus Statistics Douglas M. Okamoto, Data to Information to Knowledge Recommended Citation: Okamoto, Douglas M. (2011) "Stratified Odds Ratios for Evaluating NBA Players Based on their Plus/Minus Statistics," Journal of Quantitative Analysis in Sports: Vol. 7: Iss. 2, Article 5. Available at: http://www.bepress.com/jqas/vol7/iss2/5 DOI: 10.2202/1559-0410.1320 ©2011 American Statistical Association. All rights reserved. Stratified Odds Ratios for Evaluating NBA Players Based on their Plus/Minus Statistics Douglas M. Okamoto Abstract In this paper, I estimate adjusted odds ratios by fitting stratified logistic regression models to binary response variables, games won or lost, with plus/minus statistics as explanatory variables. Adapted from ice hockey, the plus/minus statistic credits an NBA player one or more points whenever his team scores while he is on the basketball court. Conversely, the player is debited minus one or more points whenever the opposing team scores. Throughout the NBA season, the league’s better players are likely to have positive plus/minus statistics as reported by Yahoo!Sports and 82games.com. Crude or unadjusted odds ratios estimate the relative probabilities of a player having a positive plus/minus in a win, versus a negative plus/minus in a loss. Home and away games are twin strata with teams playing 41 home games and 41 road games during an 82-game regular season. Stratum-specific odds ratios vary because some players perform better at home than on the road and vice versa. In order to adjust for home court advantage, stratified odds ratios and their 95 percent confidence intervals are estimated for each of the Los Angeles Lakers during the 2009–2010 regular season. KEYWORDS: plus/minus statistic, odds ratio, logistic regression model Okamoto: Stratified Odds Ratios for Evaluating NBA Players 1. Introduction Adapted from ice hockey, the plus/minus statistic credits an NBA player one or more points whenever his team scores while he is on the basketball court. Conversely, the player is debited one or more points whenever the opposing team scores. At the end of the game, a player’s pluses and minuses are totaled to get his plus/minus (+/-) statistic. The Lakers won the Pacific Division of the Western Conference with a 57-25 win/loss record during the 2009-2010 regular season. In Figure 1, blue circles indicate Laker wins and red circles indicate Laker losses. Each dot corresponds to an ordered pair (x, y), with the x-coordinate equal to Kobe Bryant’s +/- and the y-coordinate equal to the winning or losing margin. When Kobe is a plus, {X > 0}, a minus, {X < 0}; when the Lakers win, {Y>0}, they lose, {Y<0}. 50 40 LA Laker Winning or Losing Margin 30 20 10 0 -30 -20 -10 0 10 20 30 40 50 -10 -20 -30 Kobe Bryant Plus/Minus Win Loss Figure 1. Scatterplot of Los Angeles Laker Winning or Losing Margin vs. Kobe Bryant Plus/Minus: 2009–2010 NBA Regular Season (73 Games) Kobe was a plus in 48 of 51 Laker wins (NE quadrant) and 5 of 22 losses (SE quadrant). He was a minus in 3 Laker wins (NW quadrant), and 17 losses (SW quadrant). Not shown in the scatterplot are 9 Laker games (6 wins, 3 losses) in which Kobe did not play. Published by Berkeley Electronic Press, 2011 1 Journal of Quantitative Analysis in Sports, Vol. 7 [2011], Iss. 2, Art. 5 2. Odds Ratios The relative odds of the Lakers winning or losing when Kobe was a plus or minus are defined in terms of the conditional probabilities of Y given X, where the joint probability distribution of two binary random variables is as follows: a) {X=1} if Kobe was a plus, {X=0} if Kobe was a minus; and b) {Y=1} if the Lakers won, {Y=0} if the Lakers lost. The odds ratio (OR) is the relative probability of a Laker win when Kobe is a plus divided by the relative probability of a Laker win when he is a minus: equals [(48)(17)]/[(5)(3)] = 54 or 54:1, calculated from the cross product of four cell counts in the following two-by-two contingency table. Table 1. Laker Wins/Losses vs. Kobe Bryant Plus/Minus Minus Plus Totals Win 3 48 51 Loss 17 5 22 Totals 20 53 73 The Los Angeles Lakers were 54 times more likely to have won when Kobe was plus in a win. Conversely, the Lakers were 54 times more likely to have lost when he was minus in a loss. Despite his 54:1 odds ratio, Kobe Bryant ranked second to Laker forward Pau Gasol whose [(40)(14)]/[(4)(2)] = 70 or 70:1 odds ratio calculated from Table 2 led the team in the 2009–2010 regular season. Table 2. Laker Wins/Losses vs. Pau Gasol Plus/Minus Minus Plus Totals Win 4 40 44 Loss 14 2 16 Totals 18 42 60 Odds ratios and 95 percent confidence intervals for Kobe Bryant, Pau Gasol and eight of their Laker teammates are shown in Figure 2. http://www.bepress.com/jqas/vol7/iss2/5 2 DOI: 10.2202/1559-0410.1320 Okamoto: Stratified Odds Ratios for Evaluating NBA Players Pau Gasol 70 Kobe Bryant 54 Ron Artest 31 Derek Fisher 27 Lamar Odom 16 Andrew Bynum 10 Luke Walton 7.8 Jordan Farmar 6.2 Shannon Brown 3.4 Sasha Vujacic 3.1 1.0 10.0 100.0 1000.0 10000.0 Figure 2. Odds Ratio Chart for the Los Angeles Lakers: 2009–2010 NBA Regular Season (82 Games) 3. Logistic Regression Models Fitting a logistic regression model to the logit transform of relative probabilities of the Los Angeles Lakers winning or losing, logit log PrYY 1 / Pr{ 0} X where X is a Laker player’s plus/minus statistic and α an intercept term, yields a maximum likelihood estimate of the logistic regression coefficient, , or a log odds ratio that is the antilogarithm of his odds ratio as calculated in Section 2, e.g., exp(3.996) = 54 or 54:1, for Kobe Bryant. Fitting a second logistic multiple regression model to the logit transform of relative probabilities of the Los Angeles Lakers winning or losing, logit log PrYY 1 / Pr{ 0} 11 XX 2 2 Published by Berkeley Electronic Press, 2011 3 Journal of Quantitative Analysis in Sports, Vol. 7 [2011], Iss. 2, Art. 5 where X1 and X2 are plus/minus statistics for two Laker players, say Kobe Bryant and Pau Gasol, yields maximum likelihood estimates of two logistic regression coefficients, 1 and 2. Taking antilogarithms of these two log odds ratios, exp(2.553) = 13 or 13:1, for Kobe Bryant and exp(3.733) = 42 or 42:1, for Pau Gasol. During the 2009–2010 regular seasons, Bryant and Gasol only played together in 56 of 82 Laker regular season games, winning 41 and losing 15 games. Table 3a. Kobe Bryant Plus/Minus vs. Pau Gasol Plus/Minus – Laker Wins BRYANT+/- GASOL +/- Plus Minus Totals Plus 32 2 34 Zero 0 3 3 Minus 4 0 4 Totals 36 5 41 Table 3b. Kobe Bryant Plus/Minus vs. Pau Gasol Plus/Minus – Laker Losses BRYANT+/- GASOL +/- Plus Minus Totals Plus 0 1 1 Zero 1 1 2 Minus 2 10 12 Totals 3 12 15 In Table 3a, there are 5 Laker wins in which Bryant is a minus, but Gasol is not; whereas, in 4 Laker wins Bryant is a plus and Gasol a minus. Similarly, in Table 3b there are 2 Laker losses in which Bryant is a plus and Gasol a minus; whereas, in 1 Laker loss Bryant is a minus and Gasol a plus. 4. Stratified Odds Ratios The relative odds of the Lakers winning a home game when Kobe was a plus equals [(30)(5)]/[(1)(1)] = 150 or 150:1, calculated from Table 4a. The relative odds of the Lakers winning an away game when Kobe was a plus equals [(18)(12)]/[(4)(2)] = 27 or 27:1, calculated from Table 4b. http://www.bepress.com/jqas/vol7/iss2/5 4 DOI: 10.2202/1559-0410.1320 Okamoto: Stratified Odds Ratios for Evaluating NBA Players Table 4a. Laker Wins/Losses vs. Kobe Bryant Plus/Minus – Home Games Minus Plus Totals Win 1 30 31 Loss 5 1 6 Totals 6 31 37 Table 4b. Laker Wins/Losses vs. Kobe Bryant Plus/Minus – Away Games Minus Plus Totals Win 2 18 20 Loss 12 4 16 Totals 14 22 36 Dividing Kobe Bryant’s home odds ratio by his away odds ratio, the Lakers were five-and-a-half times more likely to have won at home than on the road when Kobe Bryant was a plus. Consequently, the estimation of stratified odds ratios or adjusted odds ratios that take into account stratification is a necessary refinement. Figure 3 shows the odds ratios for Kobe Bryant and eight of his Laker teammates, with home games represented in gold and away games represented in purple. 1000.0 1000.0 100.0 100.0 10.0 10.0 1.0 Sasha Shannon Jordan Andrew Lamar Derek Ron Kobe Pau 1.0 SashaVujacic ShannoBrow n JordanFarmar AndrewBy num LamarOdom FisherDerek ArtestRon BryKobe ant GasolPau Vujacic n Brown Farmar Bynum Odom Fisher Artest Bryant Gasol Home OR 2.0 2.2 2.7 6.0 34 62 999 150 18 Odds Ratio (Home and Away) and (Home Ratio Odds Home OR 2.0 2.2 2.7 6.0 34 62 999 150 18 Aw ay OR 5.1 6.1 11 13 9.2 14 17 27 999 Odds Ratio (Home and Away) and (Home Ratio Odds Away OR 5.1 6.1 11 13 9.2 14 17 27 999 Figure 3.