Win Probability In Basketball: Calculating Your Team's Chances

how to calculate win probability basketball

There are many ways to calculate the win probability in a basketball game. One way is to use a logistic regression model that takes into account the score differential and pre-game win probability at fixed-time intervals. This model can be further improved by considering additional factors such as which team has possession of the ball and the pace of the game. By adjusting the initial estimate of the favourite team, we can calculate the win probability more accurately. Another approach involves using play-by-play data to estimate a team's chances of winning, given the time and score, and assuming a game between teams of equal strength. While these methods provide reasonable estimates, it is acknowledged that further calibration and refinement are needed to account for various factors that can influence the outcome of a basketball game.

Characteristics Values
Factors Time, score, game location, possession, pace of the game, pre-game win probability
Calculation 90% for the favorite team and 39.6% for the opposing team at a given point, which returns a value of 95.5%
Data Play-by-play data, score differentials
Method Log5, linear calculation, logistic regression
Limitations Doesn't account for possession, doesn't consider information known before the game

shunwild

Possession and pace

Possession is a fundamental metric in basketball analytics. It refers to the period when an offensive team has the ball and ends when they attempt a field goal or turn over possession to the other team. Possession calculations are the basis for metrics like pace, offensive efficiency, and defensive efficiency.

Pace is a measure of the number of possessions per game. It varies from team to team, with some teams having a naturally faster pace than others. Pace is an important factor to consider when analysing a team's performance, as it can affect the number of possessions and, consequently, the number of points, assists, steals, or turnovers. By comparing statistics per 100 possessions rather than per game, analysts can make more accurate comparisons between teams, purifying the data from game speed.

The number of possessions can be estimated using a formula that takes into account both a team's statistics and their opponent's. This formula includes factors such as free-throw attempts (FTA) and offensive rebounds. Free-throw attempts are multiplied by a coefficient of 0.44, as not all free throws conclude a possession. Offensive rebounds after a missed field goal are also considered, although rebounds after a free throw are usually excluded due to their rarity. By averaging the values calculated for both teams, analysts can obtain a more accurate estimate of the total number of possessions.

Turnover percentage, for instance, can be calculated by dividing the total number of turnovers by the total possessions. Additionally, points per possession (PPP) can be used to control for pace when analysing points scored or allowed. Advanced statistics like offensive and defensive ratings are also standardised over 100 possessions to provide more meaningful comparisons between teams. Net Rating (NRTG) is then derived by subtracting the Defensive Rating (DRTG) from the Offensive Rating (ORTG).

shunwild

Time remaining

When calculating the win probability in basketball, the time remaining in the game is a crucial factor. The first step is to estimate each team's chances of winning based on the current score and the time left. This can be done by using play-by-play data and accounting for game location.

Let's consider an example: suppose your team is down by 5 points with 30 minutes left in the game. We can assume that, given 30 minutes, we know how many points will be scored in total. The number of points your team will score in the remaining time is represented by 'X', and the number of points the opposing team will score is represented by 'Y'. If 'X' is greater than 'Y', then your team wins.

To calculate these values, we can use a binomial distribution. 'X' is distributed as Binom(n, p), where 'n' is the total number of points left to be scored and 'p' is the probability that your team will score a point. Similarly, 'Y' is distributed as Binom(n, 1-p), as the probability of the opposing team scoring a point is the complement of 'p'.

It's important to note that as the game progresses, the remaining time becomes a more significant factor. At halftime, instead of assuming there is 50% of the game yet to be played, we can assume there is 70.7% of the game left. This adjustment accounts for the fact that players may exert more effort as the game nears its conclusion.

shunwild

Score differentials

When it comes to basketball, it is important to look beyond just wins and losses and consider the score differential. This is because the win/loss outcome, especially in close games or blowouts, provides very little information. By looking at the score differential, we can gain a lot more insight into the performance and skill of the teams.

Score differential, also known as point differential, is the numerical gap between points scored and points allowed. This can be calculated simply by subtracting the points allowed from the points scored. For example, if Team A scored 100 points and allowed 80 points, their score differential would be +20.

Looking at score differentials is a better way to evaluate a team's performance than simply looking at wins and losses. This is because it provides a more accurate representation of the game's outcome and the team's skill. For instance, a team that wins by a small margin of 2 points is given the same weight as a team that wins by a larger margin of 20 points when only considering wins and losses. However, by looking at the score differential, we can see that the latter team performed significantly better.

Additionally, score differential can be a better predictor of future performance than win-loss records. Teams that start the season with a better record than their point differential tend to slow down as the season progresses, and vice versa. This suggests that score differential can provide valuable insights into a team's true potential and likelihood of winning future games.

When it comes to modelling win probability, it is important to consider the non-linear relationship between time remaining and win probability. For example, a team with a five-point lead and 12 minutes remaining in the first half is likely to have a similar chance of winning as if they had the same lead 20 seconds later. However, as the game progresses, the time becomes a more significant factor in determining the win probability. Therefore, creating separate logistic regressions for fixed-time intervals can help improve the accuracy of win probability models, especially near the end of games.

shunwild

Pre-game probability

When it comes to basketball, calculating pre-game win probability is a complex task that involves accounting for various factors and variables. The goal is to estimate each team's chances of winning before the game starts, taking into account factors that may influence the outcome.

One approach to pre-game probability calculation is to use a statistical model, such as a logistic regression model. This model utilizes multiple input variables, such as team strength, historical performance, and even possession and pace of the game, to make predictions. By feeding relevant data into the model, analysts can generate a percentage-based estimate of each team's likelihood of winning.

For example, let's consider a basic model that takes into account the strength of the teams involved. If two teams of equal strength are playing, the pre-game win probability for both teams would be set at 50%. However, if one team has a stronger track record or better player statistics, the probability for that team to win might be adjusted upwards, while the probability for their opponents would decrease accordingly.

It's important to note that pre-game probability calculations should also consider factors beyond team strength. For instance, the model could take into account the location of the game, as home-court advantage can impact a team's performance. Additionally, variables such as player injuries, recent performance trends, and even referee bias could be factored into more complex models to refine the win probability estimates.

By combining statistical analysis with basketball expertise, analysts can create models that provide valuable insights into the likelihood of a team winning a game even before it starts. These models help set expectations, inform betting odds, and provide a foundation for in-game probability adjustments as the action unfolds on the court.

shunwild

Data smoothing

One approach to data smoothing is to use locally weighted logistic regression, an extension of the LOESS methodology. This method is more appropriate for modelling probabilities and can be calibrated via cross-validation. The smoothing window can be adjusted to find the optimal balance, with smaller windows often preferred towards the end of a game.

For example, consider a game situation that doesn't qualify as a "pure" possession state, such as after a missed shot but before the rebound. Instead of building separate regression models, you can derive the probabilities from the base "pure" possession model. For instance, if missed shots are rebounded by the defence 69.5% of the time, the win probability after a missed shot can be calculated as 0.695 x the win probability of the team with possession + 0.305 x the win probability if the opponent has possession.

It's important to validate your win probability model by comparing it to other models or actual game outcomes. For instance, the Inpredictable model and the ESPN model were compared using Brier scores for each play, with Inpredictable narrowly outperforming ESPN despite having less accurate starting win probabilities. This validation process helps identify any potential shortcomings in your model and ensures it reflects the "true" win probabilities.

Frequently asked questions

There are several methods to calculate win probability in basketball, with some models using a sequence of logistic regressions at fixed-time intervals, taking into account the score differential and pre-game win probability. Other models use calculations based on possession and pace of the game, adding a point or half-point for possession to the team with possession.

The primary factors that influence win probability calculations are time remaining, score differential, and possession. The time remaining in a game has a non-linear relationship with win probability, where a team with a lead closer to the end of the game has a higher probability of winning. Possession also plays a role, as a team with possession has a higher chance of scoring and increasing their lead.

Pregame win probability is often set to 50% for both teams, assuming equal strength. However, this can be adjusted based on various factors such as team ratings, historical performance, and home-court advantage, to give a more accurate estimate of pre-game win probability.

Written by
Reviewed by
Share this post
Print
Did this article help you?

Leave a comment