You are viewing a javascript disabled version of the site. Please enable Javascript for this site to function properly.
Go to headerGo to navigationGo to searchGo to contentsGo to footer
In content section. Select this link to jump to navigation

The Shrinkage of the Pythagorean exponents

Abstract

The Pythagorean expectation is a formula designed by Bill James in the 1980s for estimating the number of games that a baseball team is expected to win. The formula has since been applied in basketball, hockey, football, and soccer. When used to assess National Basketball Association (NBA) teams, the optimal Pythagorean exponent is generally believed to be between 14 and 17. In this study, we empirically investigated the accuracy of the formula in the NBA by using data from the 1993-1994 to 2013-2014 seasons. This study confirmed the results of previous studies, which found that the Pythagorean exponent is slightly higher than 14 in the fit scenario, in which the strengths and winning percentage of a team are calculated using data from the same period. However, to predict future winning percentages according to the current evaluations of team strengths, the optimal Pythagorean exponent in the prediction scenario decreases substantially from 14. The shrinkage factor varies from 0.5 early in the season to nearly 1 toward the end of the season. Two main reasons exist for the decrease: the current evaluated strengths correlate with the current winning percentage more strongly than they do with the future winning percentage, and the scales of strengths evaluated in the early or middle part of a season tend to exceed those evaluated at the end of the season because of the evening out of randomness or the law of averages. The prediction accuracy decreases with time over a season. Four measurements of strength were investigated and the ratio of total points scored to total points allowed was the most useful predictor. Point difference exhibited nearly the same accuracy, whereas the ratio of games won to games lost was somewhat less accurate. An explanation of Dean Oliver’s choice of 16.5 as the Pythagorean exponent is offered.

1Introduction

The Pythagorean exponent, designed by James (1980) and updated by Cochran (2008) for use in baseball, was a major development in the prediction of sports event outcomes. The formula was later modified for basketball (Oliver, 2004), football (Schatz, 2003), soccer (Hamilton, 2011) and hockey (Dayaratna and Miller, 2013; Cochran and Blackstock, 2009), and mathematically justified (Miller, 2007). The Pythagorean formula emphasizes that the ratio of a team’s total points scored (TPS) to total points allowed (TPA) may reflect the overall strength of a team more accurately than does the ratio of total games won to total games lost. The Pythagorean formula yields the following expected winning percentage (EWP):

(1)
EWP=TPSβTPSβ+TPAβ,
where β is the Pythagorean exponent. Equivalently,
logEWP1-EWP=βlogTPSTPA.
Cochran and Balckstock (2009) explored further extensions of (1), including allowing for different values of the exponents in the three positions of the formula. The EWP is the percentage of games that a team should win. When the number of actual wins of a team exceeds the expected number of wins determined according to the Pythagorean formula, the team is considered to be overachieving, perhaps because of luck, and its future performance is expected to revert to its Pythagorean formula-derived number of expected wins (James, 1982; Schatz, 2003).

The Pythagorean formula, a focus of sports-related academic research, is also popular among the general public. For example, ESPN, among other major sports news agencies, regularly posts Pythagorean-calculated EWPs on its website (espn.go.com/nba/stats/rpi). The popularity of the formula stems from its simplicity and relative accuracy. Although marginal improvements in accuracy may be achieved by incorporating, for example, home advantages or strength of schedules, the simple version of the formula given in (1) continues to be the most widely used. This formula has not changed because it is a simpler and more accurate strength measurement than is the current winning percentage.

A major difficulty in applying the formula is determining the Pythagorean exponent, which varies considerably between sports. Even in the same sport, different leagues or eras can require varying Pythagorean exponents. James (1980) calculated the Pythagorean exponent to be 2 for Major League Baseball (MLB), which is why it is called the Pythagorean exponent. The optimal value was later calculated to be 1.82-1.86 (James, 1982; Davenport and Woolner, 1999; Miller, 2007; Cochran, 2008; Tung, 2010). For hockey, Cochran and Blackstock (2009) estimated the Pythagorean exponent to be 1.927, whereas Dayaratna and Miller (2013) estimated it to be slightly higher than 2. Their extensive statistical tests showed that the Pythagorean formula is just as applicable to hockey as it is to baseball. For the National Basketball Association (NBA), Oliver (2004) analyzed data from the 1990s and calculated the exponent to be 13-14, whereas basketball-reference.com uses 14. Since 2007, ESPN has agreed with Oliver’s assessment of the optimal Pythagorean exponent for the NBA as being 16.5, arguing that a higher Pythagorean exponent more accurately reflects the teams at the top and bottom of the standings and loses little accuracy for the other teams. However, Kubatko (2013) performed a detailed decade-by-decade study, beginning from the 1940s, and concluded that “[a]n exponent of 16.5 does not produce the lowest RMSE in any decade,” and that “[u]nless there is a major change in the way the game is played, using a Pythagorean model with an exponent of 14 is just fine for the modern era, in particular because the structure is already ingrained in the minds of most analysts.” Rosenfeld et al. (2010) used data from 14 more recent seasons and found the optimal value to be 14.05. They also calculated the optimal Pythagorean exponent for predicting overtime winners to be 9.22. Further discussion of the exponent can be found in reports by Oliver (1991, 1996), Kubatko et al. (2007), and Rosenfeld et al. (2010).

This paper discusses determining the optimal Pythagorean exponent for the NBA by statistically analyzing data from 21 seasons (1993-1994 to 2013-2014). Every Pythagorean exponent reported in the literature is computed for a scenario called “fit”, in which team strengths are calculated according to data from the same period, typically of one or several seasons, from which data is used to calculate the win-loss ratio of the team. However, this paper primarily discusses a scenario called “prediction”, in which strengths are calculated according to the performance of the team from the beginning of a season and are compared against the future win-loss ratio of the games remaining in the season. The main aim of this study was to determine an optimal Pythagorean exponent according to current strengths for predicting future winning percentages. For ease of presentation, “training period” is used to refer to when strengths are evaluated, and “test period” is used to refer to when the winning percentages or win-loss ratios are calculated. In the fit scenario, the two periods occur simultaneously.

For the sake of comparison, three additional measurements were selected to evaluate team strengths, each on the same level of simplicity as the ratio of TPS to TPA. Each measurement was calculated according to training period data. Larger strengths indicate stronger teams. Logarithms are used to ensure that the zero values of the strengths indicate average teams, rendering comparisons easier to perform and the values easier to use in the least-squares fit. All logarithms used in this paper are natural logarithms and all averages refer to arithmetic averages. The four measurements of strength are as follows:

Point ratio (PtR): The logarithm of the ratio of a team’s TPS to its TPA, abbreviated as PtR:

PtR=log(TPS/TPA).

Point difference (PtD): A team’s mean points scored per game (MPS) minus the mean points allowed per game (MPA) divided by 100, abbreviated as PtD:

PtD=(MPS-MPA)/100.

Ratio of offensive/defensive ratings (ODR): The logarithm of the ratio of a team’s mean offensive rating per game (MORtg) to the mean defensive rating per game (MDRtg), abbreviated as ODR:

ODR=log(MORtg/MDRtg).

Specifically, the mean offensive (defensive) rating per game is the average of the individual offensive (defensive) ratings of each game, and the offensive (defensive) rating of a game is the points scored (allowed) times 100 and divided by the number of possessions of the game.

Win-loss ratio (WLR): The logarithm of a team’s win-loss ratio, abbreviated as WLR:

WLR=log(GW/GL),
where GW (GL) is the number of games won (lost). To prevent WLR from taking the value of infinity or negative infinity, when GW (GL), respectively, is 0, this value is increased to 0.5, and GL (GW) is reduced by 0.5 to keep the number of games played identical to the sum of GW and GL.

The response variable is the logarithm of the win-loss ratio of a team in the test period. In the fit scenario, the response is identical to WLR because the training and test periods are identical. The Pythagorean exponent in the literature pertains to PtR. PtD is the average point difference per game, which is multiplied by a factor of 0.01 to align it with PtR, primarily because the points of a team in an NBA game are typically ranked on a scale of 100. Consequently, the Pythagorean exponents for PtR and PtD are easily comparable. PtR and ODR may appear similar but differ greatly. PtR can be expressed equivalently as the logarithm of the total offensive rating of a team against the total offensive rating of its opponent (Kubatko et al. 2007) in the training period, whereas the offensive rating of a team during a specific period of time is the TPS times 100, divided by total possessions during that period.

The conventional approach of ordinary least-squares described in the literature (Oliver, 2004; Rosenfeld et al. 2010; Kubatko, 2013) was adopted to determine the Pythagorean exponents. The results produced using this method allow for direct comparisons with the results in the literature. For team-season i, let yi = log(pi/(1 - pi)) be the response and xi be a strength measurement. Here, pi is the winning percentage in the test period. The linear model without intercept is

yi=βxi+ɛi,
where ɛi is the error with mean 0 and assumed to be uncorrelated with xi. The least-squares estimation provides an explicit solution for the linear fit with zero intercept. When ∑i (yi - βxi2 is minimized, the least-squares estimate of the Pythagorean exponent is
(2)
b=ixiyiixi2,
where the summation is over the relevant team-seasons. For a given xi, the predicted yi is then bxi, and, consequently, the predicted winning percentage pi is exp(bxi)/(1 + exp(bxi)). For PtR as a strength measurement, the predicted pi is identical to the EWP with Pythagorean exponent b, because

exp(blog(TPS/TPA))1+exp(blog(TPS/TPA))=(TPS/TPA)b1+(TPS/TPA)b=TPSbTPSb+TPAb.

The conventional Pythagorean exponent refers only to the exponent for PtR in the fit scenario, but the term “Pythagorean exponent” is adopted for the estimates in (2) for all strength measurements in both the fit and prediction scenarios.

The main findings of this study were as follows:

1. To predict the future winning percentage for the remaining games in a season, the Pythagorean exponent should be shrunk to obtain a more accurate prediction.

2. The shrinkage was substantial in the early parts of a season, but gradually subsided toward the end of the season.

3. Prediction became generally less accurate toward the end of a season.

4. For the fit scenario, the Pythagorean exponent was calculated using the 21 most recent seasons of data to be 14.01, confirming reports in the literature, and PtR, PtD and ODR were more accurate strength measurements than WLR.

Findings 1-3 are explained by the law of large numbers; in other words, the variance of the sample average decreases when sample size increases.

The data used in this study were downloaded from www.basketball-reference.com, which offers the offensive ratings of a team and its opponent for every game. Thus, in this study, estimating the possessions for each game was unnecessary.

The sizes of the Pythagorean exponents affect the prediction of winning percentage, which, for easier understanding, can be translated into number of games won over a season of 82 games. Consider using PtR as the strength measurement. The following table lists the prediction of games won out of a total of 82 games for PtR at 0, 0.0235, 0.0470, 0.705 and 0.0940 and the Pythagorean exponents at 10, 12, 14, 16.

If a team has zero PtR, meaning that its total points scored is exactly same as its total points allowed, the prediction of winning games is 41, half of 82, whatever the Pythagorean exponents are. If a team has excellent PtR, such as 0.094, then the prediction of number of games won based on different Pythagorean exponents can be different by as many as 8 games, which is quite substantial.

2Fit scenario exponents

One goal of this study was to confirm the results of Oliver (2004), Rosenfeld et al. (2010), Kubatko (2013) and others by using data from the 1993-1994 to 2013-2014 NBA seasons. For exploratory purposes, the summary statistics of the four strength measurements and the response with all 21 seasons combined were collected (WLR was identical to the response). The combined data comprises n = 615 observations, each of which represents one team-season and contains values of the four strengths and one response. Two seasons comprised 27 teams, 9 seasons comprised 29 teams, and 10 seasons comprised 30 teams. Data for the same team in different seasons are treated as separate observations.

The means of these strength measurements, compared according to their scales of standard deviation, were near 0. In all training or test periods in this study, the relevant means were all nonsignificant.

All correlations in this paper refer to the Pearson correlation coefficients. These correlations were close to 1. Table 4 shows the least squares fit of the response using each of the four strength measurements.

The Pythagorean exponent for PtR, 14.01, was considerably close to the Pythagorean exponent in the literature, 14.05 (Rosenfeld et al., 2010). PtD and ODR produced close Pythagorean exponents. Because WLR was identical to the response, its Pythagorean exponent was 1. The second and third rows indicate the standard error and confidence intervals for the respective Pythagorean exponent estimates. The fourth row shows the R-squared of the fits. Because estimating the winning percentage by using the Pythagorean formula is of the most interest, the fifth row indicates the mean squared error for estimating the winning percentage, which was calculated as follows:

(3)
1ni(pi-11+exp(-bxi))2.

For example, the mean squared error of PtR was 0.0013, suggesting that the standard error for estimating the winning percentage was 0.036 (the square root of 0.0013). The error for the fit using WLR was 0, because WLR was identical to the response in the fit scenario.

The variation of the Pythagorean exponents for each season is plotted in Fig. 1.

In the fit scenario, the Pythagorean exponent for each individual season was calculated using data from only that season. Season 1 denotes the 1993-1994 season and season 21 denotes the 2013-2014 season. PtR, PtD and ODR had considerably close exponents. The exponent of WLR was always 1.

Figure 2 shows the mean squared errors for estimating winning percentage by season.

PtR, PtD and ODR were about equally accurate in approximating the winning percentage by using the Pythagorean formula.

Table 5 summarizes season-by-season Pythago-rean exponents.

For each strength measurement, the average of the season-by-season Pythagorean exponents was near the Pythagorean exponent calculated with all 21 seasons combined (first row of Table 4).

3Prediction scenario exponents

This section considers the prediction scenario and examines predicting future winning percentages for the remaining games in a season by analyzing current evaluated strengths. Because team performance can vary substantially across seasons, only data from the current season were used. The current time t within a season was defined as the proportion of the season that had been played. The training period was from 0 to t and the test period was from t to 1. The current time t ranged from 0.2 to 0.9 to avoid the shortage of data at the beginnings and ends of seasons. For simplicity of presentation, all 21 seasons are combined in the empirical results in this section.

The correlation between current strength measurements and future winning percentage is plotted in Fig. 3a.

Compared with those presented in the fit scenario (final row of Table 3), the correlations in the prediction scenario were much lower, with the highest near 0.8 and the lowest near 0.5. The lower correlation was expected to generate smaller Pythagorean exponents. The manner in which the correlations between the four strength measurements with future winning percentages decreased toward the end of the season was particularly interesting and may not be completely explained by the shortage of test data. To investigate the reason for the decrease in correlation, the teams were divided into three tiers: top, middle, and bottom, each approximately equal in size. The top tier teams were those with the highest current winning percentages and the bottom tier teams were those with lowest current winning percentages.

Figures 3b and 3c show the correlation of PtR and WLR with future winning percentage for each tier. The figures indicate that the correlation generally decreased as a season progressed, which agrees with Fig. 3a. Unexpectedly, however, the correlation decreased the most for the top tier. One possible reason for this is that top tier teams that cannot change playoff positions can afford to rest their starters for the upcoming playoffs. Thus, the performance of these teams toward the end of a season becomes harder to predict.

Next, ordinary least-squares fit was performed to determine the response against each of the four strength measurements throughout the season. The graph in Fig. 4a illustrates a crucial finding regarding the Pythagorean exponents for prediction.

In Fig. 4b, the relative Pythagorean exponents at time t are the Pythagorean exponents at time t divided by those at time 0.2. This figure highlights the variation of Pythagorean exponents along with time relative to the benchmark at time 0.2. Overall, the exponents were considerably smaller than those in the fit scenario (Fig. 4a and Table 5). The exponents of WLR (in blue) ranged between 0.49 and 0.93 and increased in a nearly linear fashion (Table 8) as opposed to the constant of 1 in the fit scenario. In the prediction scenario, using 1 as the Pythagorean exponent for WLR was identical to using the current winning percentage to predict future winning percentage for the remainder of the season. However, the shrinkage (Fig. 4b and Table 8) demonstrated that using the current winning percentage to predict the future winning percentage may not be ideal. Additionally, Pythagorean exponents appeared to generally increase over time in a season. Further explanation is presented in the next section.

Table 6 summarizes the Pythagorean exponents over time in a season.

Figures 5a-5c indicate the variation of prediction accuracy, as measured using the mean squared error (3). Future winning percentage pi was calculated in the test period (t, 1] and the strength measurement xi was calculated in the training period [0, t]. Prediction accuracy decreased toward the end of the season, a counter-intuitive phenomenon for which the next section posits explanations.

Figures 5b and 5c present the mean squared error of predictions according to PtR and WLR for each tier. Our approach produced less accurate predictions for the middle tier, possibly because games involving teams in this tier are more competitive.

4The shrinkage and an explanation

To illustrate the shrinkage phenomenon in the prediction scenario, we defined a shrinkage factor as follows. For a given strength measurement at a specific time in a season,

shrinkage factor=value of the Pythagorean exponent at a time in season in the prediction scenariovalue of the Pythagorean exponent at the end of a season in the fit scenario,
where the denominator is given in the first row of Table 4 for the four strength measurements. A major finding of this paper is that the shrinkage factors were smaller than 1. The shrinkage factors and the accuracy in predicting the future winning percentages at some typical times in season are presented in Tables 7 and 8. For brevity, we present only the relevant results for PtR and WLR.

The standard error values are of the estimated Pythagorean exponents. The mean squared error values were calculated using (3) with the estimated Pythagorean exponents, and the MSE.14, MSE.16.5 and MSE.1 values were the mean squared errors calculated using exponents of 14, 16.5 and 1, respectively. The estimated Pythagorean exponents produced more accurate predictions in all scenarios, as expected. The improvement is substantial early in the season but gradually subsides toward the end of the season as the shrinkage factor increases toward 1. For PtR, which is based on the ratio of points scored to points allowed, the conventional choice of 14 was optimal in the fit scenario but had to be shrank further for the purpose of prediction. For WLR, which was based on the current win-loss ratio, the seemingly natural choice of 1, the equivalent of predicting the future winning percentage by using the current winning percentage, was less accurate than the shrunk Pythagorean exponent, particularly early in the season. Furthermore, the prediction accuracy decreased toward the end of a season (Fig. 5).

The variations of the shrinkage factors of the Pythagorean exponents over time in season for all four strength measurements are plotted in Fig. 6.

What causes the shrinkage? The following explanation is presented in a general context of predictive regression modeling. Let (y1i, x1i) , i = 1, . . . , T, be the historical data of responses and covariates, and (y2i, x2i) , i = 1, . . . , T, be the future data of responses and covariates, obeying the model

yji=γxji+ɛji,i=1,...,T;j=1,2,
where the errors ɛji are assumed to be independent with mean zero. The regression coefficient based on the historical data is
iy1ix1iix1i2=i(x1iγ+ɛ1i)x1iix1i2γ.

The regression coefficient based on the future responses and the historical covariates is

iy2ix1iix1i2=i(x2iγ+ɛ2i)x1iix1i2ix2ix1iix1i2γ.

The shrinkage of the regression coefficient occurred when ix2ix1i/ix1i2 was less than 1. This was the case when the correlation between x1i and x2i was less than 1 and the average squares of x1i and that of x2i were similar. Because x1i and x2i were respectively derived from the historical data and future data, their correlation was often less than 1, sometimes substantially so. The average squares of strength measurements in the historical data and those in the future data were often close to each other.

To understand why the shrinkage factors were smaller early in the season and tended to increase over time, consider the following ideal case for the purpose of illustration. For team-season i, assume the team wins every game with probability qi, which is constant for all games in the season. Let zit be the winning percentage for the nit games played during [0, t] and yit be the winning percentage for the mit games played during (t, 1]. Subsequently, zit has mean qi and variance qi (1 - qi)/nit and yit has mean qi and variance qi (1 - qi)/mit. Moreover, zit and yit are independent. Then,

izityitizit2iE(zityit)iE(zit2)=iE(zit)E(yit)iE(zit2)=iqi2i(qi2+qi(1-qi)/nit),

which increases over time t because nit increases over time t. The main reason for the increase of the Pythagorean exponents over time is the decrease of the denominator, the sum of squares of the strength measurements in the historical data over time because more games are played as time progresses. Conversely, the numerator in the expression of the Pythagorean exponents does not have obvious directional variation because of the independence of the randomness in the historical and future data. Analogous to the decrease of the sum of squares of strength measurements in the historical data, the sum of squares of the responses in the future data increases over time because fewer games remain to be played in the future as time progresses toward the end of a season.

The empirical evidence of the decrease of the four squared strength measurements over time in a season is shown in Fig. 7. Each curve illustrates the change in the ratio of the average of the squares of the strengths of all team seasons at time t to that at time 0.2. Empirical evidence of the increase of the squared response is shown in Fig. 8. The variation of the cross product of the strength measurements with the response over time is shown in Fig. 9, which is less directional than those of the squared strength measurements and the squared responses.

Prediction error increased with time, as shown in Fig. 5 and Tables 7 and 8, because of the magnified randomness of the responses, which caused the increase illustrated in Fig. 8.

The Pythagorean exponents depend on the quantity of historical data used for prediction. The shrinkage phenomenon is fundamental to prediction analysis but may often be ignored by practitioners. In a related predictive context, the theory behind this phenomenon was reported by Mukherjee and Johnstone (2015).

5Accounting for the strengths of opponents

A full comparison of various prediction methods is out of the scope of this paper. This section studies some adjustments of the Pythagorean prediction by incorporating other factors, such as the strength of schedule (SOS), and demonstrates a comparison with the prediction based on the Bradley-Terry model.

The SOS is a a widely used index to account for the strength of opponents. Because match outcomes depend on the quality of opponents, adjusting the strength of a team by using its SOS is natural. A commonly used definition of SOS is two-thirds of the average strength of the opponents of a team plus one-third of the average strength of a team’s opponent’s opponents.When the strength of a team is adjusted using its SOS, ambiguity exists in determining the weights for the performance of a team and for its SOS. The ESPN and NBA use the ratings percentage index (RPI), in which 0.25 is used as the weight for a team’s own performance and 0.75 is used for its SOS. However, the RPI lacks theoretical justification from a statistical standpoint.

Because no universal agreement exists on the optimal weights, in the following calculation, three levels of weights, 0.25, 0.5, and 0.75, are used for the performance of a team and, respectively, 0.75, 0.5, and 0.25 for its SOS, creating the adjusted strength measurements PtR and WLR. Tables 9 and 10 show the Pythagorean.25 and MSE.25, which are, respectively, the Pythagorean exponent and mean squared error for predicting the future winning percentage according to the adjusted PtR and WLR with weight level 0.25 for a team’s own performance. Analogous interpretation applies to Pythagorean.50, MSE.50, Pythagorean.75, and MSE.75.

Compared with the mean squared errors in Tables 7 and 8, which were based on PtR and WLR without adjustment for SOS, the mean squared errors after SOS adjustment were only slightly smaller. This mild decrease suggests that adjusting for SOS produces little improvement in prediction accuracy. This may be because NBA match schedules are more balanced than some other associations, such as the National Collegiate Athletic Association.

Tables 9 and 10 show that the Pythagorean exponents for the adjusted strengths all exhibited an increasing pattern over time. This agrees with the pattern of the Pythagorean exponents reported in Tables 7 and 8.

Some statistical models have built-in adjustments for the strength of opponents. The Bradley-Terry model is one of the most popular models in the study of paired comparison. The model specifies the probability of team i defeating team j as 1/(1 + exp(- λi + λj)), where λi and λj can be viewed as measurements of the strengths of teams i and j, respectively. Given current match results, these team strengths, conveniently called Bradley-Terry strengths, can be estimated using the typical maximum likelihood method. For identifiability, the average of the Bradley-Terry strengths was set to be zero. The Pythagorean exponent for the Bradley-Terry strength in the fit scenario with all 21 NBA seasons data was calculated to be 0.9138. The following table lists the main results.

Similarly, the MSE.0.9 is the mean squared error of prediction when using 0.9, an approximation of 0.9138, as the Pythagorean exponent. In the prediction scenario, the Pythagorean exponents were substantially shrunk from 0.9138. Moreover, as indicated by comparing the mean squared errors with those in Tables 7 and 8, the Bradley-Terry strength did not produce obvious improvement of prediction accuracy over the strength measurement PtR, the focus of this paper.

Prediction of the binary outcome, home win or away win, of a forthcoming match is an interesting subject. The Pythagorean formula given in (1) for the EWP can be viewed as an estimate of the team’s winning probability against the league. For PtR, PtD, ODR and WLR, Oliver (1996) can be followed to derive the probability of home team i defeating away team j as

pi/(1-pi)×h/(1-h)pi/(1-pi)×h/(1-h)+pj/(1-pj),
where pi and pj are respectively the EWP of teams i and j with a shrunk Pythagorean exponent, and h is the league’s home win percentage. If no home advantage is considered, h is 0.5. The home win percentage for the 21 NBA regular seasons from 1993-1994 to 2013-2014 was 0.603. The 21 seasons comprised 17184 matches with time in season between 0.2 and 0.9. The binary outcome of each of these 17184 matches was predicted using the strengths calculated on the basis of all previous matches played in the same season. Table 12 summarizes the accuracy and deviance for the prediction based on the Bradley-Terry model (BT) and those based on PtR, PtD, ODR and WLR with shrunk Pythagorean exponents.

In Table 12, the accuracy is the total number of correct predictions divided by 17184, the total number of predictions. The deviance is defined as -2 times the average of log of the predicted probabilities of the outcomes that actually occurred. The first two rows of Table 12 do not consider home advantage (h = 0.5) whereas the last two rows do (h = 0.6). These strengths are close to each other in their prediction accuracy for individual matches.

6Discussion and conclusion

This study provided evidence that PtR, the ratio of TPS to TPA, was an accurate predictor considered in this paper. PtD and ODR are respectively based on point difference and offensive/defensive ratings and performed nearly as effectively as did PtR. The current winning percentage or win-loss ratio performed less accurately than did PtR, probably because it contained less information than the other predictors about the matches played.

The most noteworthy finding is the shrinkage phenomenon of the Pythagorean exponents, which raises two questions: Should the Pythagorean exponent be shrunk from 14 to, for example, 10 or lower, or should 16.5 be used according to Oliver and ESPN? This is a matter of difference between group and individual inference.

To understand the shrinkage phenomenon more clearly, the concrete example involving baseball provided by Efron (2010, pp. 7-10) can be considered. To estimate the future batting averages of 18 MLB players according to their past batting averages in the 1970 season, the estimators decreased substantially toward the average of all 18 players. This method significantly increases the overall accuracy of predictions for all players. An intuitive understanding of the compensation between strongly and poorly performing players is that strong or weak performances in the past may have been due to good or bad luck. The stronger or weaker performances may involve more good or bad luck. In this situation, good and bad luck are positive and negative randomness, respectively. To more accurately predict future events, unpredictable luck should be removed, resulting in the shrinkage phenomenon. This example illustrates the law of “regression to mean”: teams overachieving in the past tend to revert to their typical performances in the future, and likewise for teams underachieving in the past. As indicated by Efron (2010), in the baseball example, the strongest- and weakest-performing players may be adjusted excessively toward the average. This can be avoided by using different shrinkage factors for each player, shrinking less for extraordinarily strong or weak players. However, the actual application of different shrinkages can be overly complicated and beyond the scope of this paper. When the Pythagorean exponent is applied to NBA teams, an effective method is selecting different shrinkages for different purposes. For example, to predict the future winning percentage of each individual team and achieve the highest overall prediction accuracy, shrinkage is recommended, particularly early in a season. Similar to the baseball example, shrinkage can be excessive for extremely strongly or poorly performing teams. In such instances, mild or no shrinkage should be used. In this regard, the insight of Oliver is acknowledged.

Notably, all of the aforementioned studies can be performed using a normality-based model; in other words, a model based on the normal distribution rather than on the logit distribution, such as the model discussed in this paper. The results of both models are similar. Another challenge is predicting the outcome of an individual game. The main difficulty of which lies in the time-varying nature of team strengths, the appropriate calibration of the offensive and defensive strengths of a team according to numerous factors, and correctly modeling the win-loss outcome. The Pythagorean estimation of expected wins is not designed primarily for this purpose; its popularity lies in its simplicity. Nevertheless, as shown in Section 5, this estimation can be fairly easily adapted, as described by Oliver (1996), to incorporate home advantage for estimating the win-loss probability of a particular game.

References

1 

Basketball-Reference.com. http://www.basketball-reference.com/about/glossary.html#wins_pyth.

2 

Dayaratna K., Miller S.J., (2012) /(2013) . The Pythagorean win-loss formula and hockey: A statistical justification for using the classic baseball formula as an evaluative tool in hockey. The Hockey Association Journal, 193–209.

3 

Cochran J., (2008) . The optimal value and potential alternatives of bill james pythagorean method of baseball. STATOR 8: (2).

4 

Cochran J., Blackstock R., (2009) . Pythagoras and the national hockey league. Journal of Quantitative Analysis in Sports 5: (2).

5 

Davenport C., Woolner K., (1999) . Revisiting the Pythagorean Theorem: Putting Bill James’ Pythagorean Theorem to the Test, Baseball Prospectus, http://www.baseballprospectus.com/article.php?articleid=342.

6 

Efron B., (2010) . Large Scale Inference. Cambridge monograph. ESPN.com. http://sports.espn.go.com/nba/stats/.

7 

Hamilton H.H., (2011) . An extension of the pythagorean expectation for association football. Journal of Quantitative Analysis in Sports 7: (2).

8 

James B., (1980) . The Bill James Abstract. Self-published.

9 

James B., (1982) . The Bill James Abstract. Ballantine Books.

10 

Kubatko J., http://statitudes.com/blog/2013/09/09/pythagoras-of-the-hardwood/.

11 

Kubatko J., http://insider.espn.go.com/nba/story//id/9680310/projecting-2013-14-win-totals-last-season-outlier-teams-nba (2013) .

12 

Kubatko J., Oliver D., Pelton K., Rosenbaum D., (2007) . A starting point for analyzing basketball statistics. Journal of Quantitative Analysis in Sports, 3: (3).

13 

Miller S.J. ((2007) ). A derivation of the pythagorean won-loss formula in baseball. Chance Magazine, 20: .

14 

Mukherjee G., Johnstone I.M., (2015) . Exact minmax estiamtion of the predictive density in sparse gaussian models. Annals of Statistics, 43: (3), 937C961.

15 

Oliver D., (1996) . Established methods. Journal of Basketball Studies, http://www.rawbw.com/deano/methdesc.html#pyth.

16 

Oliver D., (1991) . New measurements techniques and a binomial model of the game of basketball. Journal of Basketball Studies, http://www.rawbw.com/deano/articles/bbalpyth.html.

17 

Oliver D., (2004) . Basketball On Paper. Dulles, Virginia, Brasseys Inc., 252–253.

18 

Rosenfeld J., Fischer J., Adler D., Morris C., (2010) . Predicting Overtime with the Pythagorean Formula Journal of Quantitative Analysis in Sports 6: (2).

19 

Schatz A., (2003) . Pythagoras on the Gridiron. Football Outsiders. http://www.footballoutsiders.com/stat-analysis//pythagoras-gridiron.

20 

Tung D., (2010) . Confidence Intervals for the Pythagorean Formula in Baseball. rxiv.org.

Figures and Tables

Fig.1

The Pythagorean exponents over the seasons.

The Pythagorean exponents over the seasons.
Fig.2

Mean squared error for estimating winning percentage

Mean squared error for estimating winning percentage
Fig.3

a) Correlation of the strengths with future winning percentage, b) Correlation of log-points ratio with future winning percentage, c) Correlation of log-win-loss ratio with future winning percentage.

a) Correlation of the strengths with future winning percentage, b) Correlation of log-points ratio with future winning percentage, c) Correlation of log-win-loss ratio with future winning percentage.
Fig.4

a) Pythagorean exponents for prediction, b) Relative Pythagorean exponents for prediction.

a) Pythagorean exponents for prediction, b) Relative Pythagorean exponents for prediction.
Fig.5

a) Mean squared error of prediction, b) Mean squared error of prediction based on points ratio, c) Mean squared error of prediction based on win-loss ratio.

a) Mean squared error of prediction, b) Mean squared error of prediction based on points ratio, c) Mean squared error of prediction based on win-loss ratio.
Fig.6

The shrinkage factor of the Pythagorean exponents

The shrinkage factor of the Pythagorean exponents
Fig.7

Relative mean squared strengths over times in season.

Relative mean squared strengths over times in season.
Fig.8

Mean squared logarithm of future win-loss ratio.

Mean squared logarithm of future win-loss ratio.
Fig.9

Relative cross product over time in season.

Relative cross product over time in season.
Table 1

Predicted numbers of games won with different Pythagorean exponents and PtR

Pythagorean exponents
PtR10121416
041.041.041.041.0
0.023545.846.747.748.6
0.047050.552.354.055.7
0.070554.957.459.761.9
0.094059.061.964.767.1
Table 2

Summary of the strength measurements with all 21 seasons combined

PtRPtDODRWLR (Response)
Mean0.0000.000–0.000–0.006
Standard deviation0.0470.0460.0470.687
Table 3

Correlation matrix of the strength measurements with all 21seasons combined

PtRPtDODRWLR (Response)
PtR1.0000.9991.0000.971
PtD0.9991.0000.9990.971
ODR1.0000.9991.0000.970
WLR (Response)0.9710.9710.9701.000
Winning percentage0.9710.9720.9710.998
Table 4

Pythagorean exponents and least squares fit with all 21 seasons combined

PtRPtDODRWLR
Pythagorean14.0114.3814.021
  exponents
Standard error0.1400.1420.1410
95% confidence[13.73,[14.10,[13.74,[1,1]
  interval14.28]14.66]14.30]
R-squared0.9410.9430.9421
Mean squared0.00130.00130.00130
  error
Table 5

Summary of the season-by-season Pythagorean exponents across 21 seasons

PtRPtDODRWLR
Mean13.9914.3914.001
Median13.8514.2613.981
Minimum12.8612.9712.771
Maximum15.5216.0815.501
Standard deviation0.7180.7740.7400
Table 6

Summary statistics of the Pythagorean exponents over time in a season

PtRPtDODRWLR
Mean11.9612.4011.950.772
Median12.2612.7112.250.800
Minimum8.7809.2038.7500.488
Maximum13.8314.2713.840.932
Standard deviation1.5751.5701.5800.132
Table 7

The shrinkage and mean squared errors of prediction for PtR

Time in season0.20.30.40.50.60.70.80.9
Pythagorean8.780410.04910.73311.80412.92613.55913.76313.319
Standard error0.34900.36080.37500.40040.43980.49040.58660.7854
Shrinkage factor0.62670.71730.76610.84260.92270.96790.98240.9507
Mean squared error0.01230.01140.01140.01160.01270.01510.02070.0341
MSE.140.01590.01340.01270.01230.01290.01520.02080.0344
MSE.16.50.01920.01610.01500.01390.01410.01620.02190.0359
Table 8

The shrinkage and mean squared errors of prediction for WLR

Time in season0.20.30.40.50.60.70.80.9
Pythagorean0.48870.61630.67890.76760.84440.89270.92610.8945
Standard error0.02200.02420.02530.02750.03080.03480.04080.0545
Shrinkage factor0.48870.61630.67890.76760.84440.89270.92610.8945
Mean squared error0.01380.01250.01210.01220.01360.01610.02120.0347
MSE.10.02110.01610.01440.01340.01420.01650.02150.0352
Table 9

Pythagorean exponents and prediction for adjusted PtR

Time in season0.20.30.40.50.60.70.80.9
Pythagorean.2537.93543.55245.82950.26254.84257.86659.01456.289
Pythagorean.5018.86421.22622.34624.45126.65727.91328.32227.251
Pythagorean.7512.03813.68114.53015.94717.43218.26818.53717.903
MSE.250.01320.01180.01160.01190.01270.01500.02040.0343
MSE.500.01190.01110.01120.01150.01250.01490.02050.0341
MSE.750.01210.01130.01130.01150.01260.01500.02060.0341
Table 10

Pythagorean exponents and prediction for adjusted WLR

Time in season0.20.30.40.50.60.70.80.9
Pythagorean.252.58543.11583.32003.67524.01374.25244.39894.2082
Pythagorean.501.25821.48331.59131.76051.90932.00962.07081.9989
Pythagorean.750.76140.91700.99621.11001.20811.27351.31471.2715
MSE.250.01430.01260.01230.01240.01340.01580.02080.0346
MSE.500.01320.01200.01180.01200.01330.01580.02090.0345
MSE.750.01340.01220.01190.01210.01340.01590.02110.0345
Table 11

The shrinkage and mean squared errors of prediction for the Bradley-Terry strength

Time in season0.20.30.40.50.60.70.80.9
Pythagorean0.26270.37180.61540.70230.77880.82480.85900.8225
Standard error0.01570.01960.02250.02490.02790.03170.03730.0500
Shrinkage factor0.28750.40680.67340.76850.85230.90260.94000.9000
Mean squared error0.01530.01370.01190.01210.01330.01590.02090.0346
MSE.0.90.02290.01620.01430.01320.01380.01610.02100.0351
Table 12

Prediction of game-by-game outcomes

PtRPtDODRWLRBT
Accuracy (h = 0.5)0.6620.6620.6620.6550.654
Deviance (h = 0.5)1.2341.2331.2351.2441.270
Accuracy (h = 0.6)0.6820.6830.6610.6830.680
Deviance (h = 0.6)1.1841.1831.2241.1851.216