← Research
Fantasy basketball methods

How xStats Work: The Method Behind Expected Fantasy Production

The calculations behind expected production, with worked examples for every category.

In this article

The box score tells us what happened. xStats helps me examine the opportunities behind it.

A player can finish with four assists after creating plenty of chances for his teammates. Another can record three steals from a night that produced very little defensive activity. Both box scores count. But they can leave us with very different impressions of how a player actually performed.

That is why I use expected statistics. I want to separate the opportunities a player generated from how those opportunities turned into points, assists, rebounds and the other numbers we use in fantasy basketball.

The question is straightforward: given the opportunities and activity in this game, what production does the model expect?

Here is how we calculate those expectations, and how I interpret the difference between the expected number and the result.

What “expected” means

xStats works from the game a player has already played. His shot attempts, potential assists, rebound chances, deflections, contests, touches and minutes provide the foundation.

That makes an expected game line different from a projection for tomorrow. If a player took 20 shots tonight, we evaluate those 20 shots. We are not predicting that he will take 20 in his next game.

The categories also require different methods. Assists, rebounds and blocks use league conversion rates. Free throws and turnovers incorporate the player's own history. Steals combines a historical player component with his deflections in the game. Field-goal scoring starts with the expected make probability of each shot.

Those differences matter. An expectation based on average conversion and an expectation adjusted for a player's established skill do not answer exactly the same question.

All numerical examples below are hypothetical. They illustrate the calculations, rather than represent current league baselines or a particular player's results.

xPoints: evaluate the attempts

We start with an expected make probability for each field-goal attempt. The shooting input evaluates the attempt against an average NBA shooter, rather than substituting the individual player's shooting percentage. NBA's shot-quality definition describes that reference point.

For each shot, multiply its make probability by its point value. Add those contributions together.

Expected field-goal points = sum of (make probability × shot value)

A two-pointer with a 60% make probability contributes 1.20 expected points. A three-pointer with a 35% make probability contributes 1.05.

Suppose a player attempts ten two-pointers averaging a 55% make probability and six threes averaging 35%. His expected field-goal scoring is:

(10 × 0.55 × 2) + (6 × 0.35 × 3) = 17.3 points

For the xPTS shown on the recap cards, we then add expected free throws made, which I explain below. If he attempted five free throws with an estimated 80% conversion rate, that adds four points and takes his xPTS to 21.3.

Recap xPTS = expected field-goal points + expected free throws made

There is also a shooting-only comparison in the underlying calculations. That version adds actual free throws made to expected field-goal points, holding the free-throw result fixed so we can isolate field-goal shooting. The fully expected version is the one used for the recap's xPTS and xFantasy Points.

A strong scorer can repeatedly beat an average-shooter expectation. That gap can reflect real shooting skill. It is not automatically evidence that his scoring must fall to the model's number.

xThree-Pointers and xFG%

The same shot probabilities give us expected makes. Add the probabilities of the three-point attempts to calculate expected three-pointers made.

xThree-Pointers = sum of the make probabilities of the three-point attempts

In the example above, six threes averaging 35% produce 2.1 expected makes. If the player made five, he finished 2.9 threes above expectation for that shot profile.

For xFG%, add the expected two-point and three-point makes, then divide by the number of evaluated field-goal attempts.

xFG% = expected field goals made ÷ evaluated field-goal attempts

Our example produces 5.5 expected two-point makes and 2.1 expected three-point makes: 7.6 expected makes from 16 attempts, or 47.5% xFG%.

This is field-goal percentage, so a made three counts as one made field goal. Its extra point is accounted for in expected scoring.

xAssists: chances created and league conversion

An official assist depends on a teammate finishing the play. The passer can create the opportunity and still leave with nothing in the assists column.

Our model uses potential assists as its opportunity measure and applies the league's season-to-date conversion rate.

League assist conversion = total assists ÷ total potential assists
xAssists = game potential assists × league assist conversion

If the league converts 50% of its potential assists, a player who generates 14 has seven xAssists. Whether his teammates turn those opportunities into four actual assists or ten, the model's expectation from those 14 chances remains seven.

This gives us a way to recognise passing opportunity that the final box score can obscure. It does not adjust every opportunity for the intended shooter's ability or the quality of that particular shot. Two players with the same potential-assist total receive the same xAssists under the same league baseline.

Secondary assists and free-throw assists are useful context, but we do not add them to xAssists. The target here is the official assist category.

xRebounds: separate the two ends of the floor

We calculate offensive and defensive rebounding separately. Each uses rebound chances after subtracting chances deferred to a teammate. A deferred chance is one the player leaves for a teammate. NBA's tracking glossary defines these fields.

Adjusted chances = rebound chances − deferred chances

Adjusted chances cannot fall below zero. We calculate a separate league conversion rate for each end of the floor: total rebounds divided by total adjusted chances.

xOffensive Rebounds = adjusted offensive chances × league offensive conversion
xDefensive Rebounds = adjusted defensive chances × league defensive conversion
xRebounds = xOffensive Rebounds + xDefensive Rebounds

Suppose a player has four adjusted offensive chances and ten adjusted defensive chances. With illustrative conversion rates of 40% and 70%, that becomes 1.6 expected offensive rebounds plus seven expected defensive rebounds: 8.6 xRebounds.

He may finish with five rebounds or 12. The expected number gives us another way to assess the opportunities behind that result.

The current calculation uses league conversion rates, rather than a separate finishing rate for each rebounder. It also does not assign an individual probability to every contested or uncontested chance. A persistent gap can therefore reflect player ability, role or opportunity differences that this version of the model does not fully capture.

xBlocks: activity around shot attempts

For blocks, the opportunity measure is contested shots. We multiply the player's game total by the league's season-to-date rate of blocks per contested shot.

League block rate = total blocks ÷ total contested shots
xBlocks = game contested shots × league block rate

If that rate is 0.08 and a player contests 15 shots, he records 1.2 xBlocks.

This helps distinguish a zero-block game with substantial contest activity from one with little involvement. It also helps put a sudden four-block game in context.

The current version uses one overall conversion rate. It does not give a different weight to a two-point contest and a three-point contest, or apply a player-specific shot-blocking rate. An elite shot blocker may consistently outperform this baseline. xBlocks is an activity-based expectation, not a complete measure of defensive ability.

xFree Throws: opportunity multiplied by estimated skill

Free throws use the player's own shooting history. We estimate his free-throw percentage before the game, then apply it to the attempts he actually received.

The current settings weight his makes and attempts as follows:

We combine weighted makes and attempts, rather than simply averaging three percentages. A season with 400 attempts provides more evidence than a season with 40.

We then add the equivalent of 50 attempts at the weighted league free-throw percentage. This pulls a small sample towards the league baseline while allowing an established shooting record to carry more influence.

xFT% = (weighted player makes + 50 × weighted league FT%) ÷ (weighted player attempts + 50)
xFree Throws Made = game free-throw attempts × xFT%

A player with an estimated 80% conversion rate who takes ten free throws has eight expected makes. Finishing 5-for-10 or 10-for-10 changes the actual result, not the estimate used for those attempts.

This is the free-throw component we add to expected field-goal scoring for the recap's xPTS.

xSteals: more than deflections

Steals need a different approach. Simply dividing all steals by all deflections and applying that rate to a player's game would attribute too much to deflections. Not every steal is explained by a recorded deflection.

We estimate two components from historical player-season observations: one associated with minutes and another associated with deflections.

Historical steals ≈ (baseline rate × minutes) + (deflection coefficient × deflections)

The model fits those components together. Historical deflections are adjusted to the same minutes exposure as the corresponding box-score totals for that fit. More recent seasons receive greater weight, using the same 100%, 75% and 35% settings.

The deflection coefficient is kept between zero and one, and the model prevents negative components. It represents the estimated contribution associated with an additional deflection; it is not a claim that we have identified which individual deflections became steals.

Next, we estimate the part of each player's historical steal production that is not explained by that deflection component. We subtract the coefficient's contribution from his weighted historical steals, floor the remainder at zero, and blend it with 500 minutes at the league's estimated non-deflection rate.

That gives us a player-specific rate for the remaining component. We scale it to his minutes in the game, then add the contribution from his actual game deflections.

xSteals = (game minutes × estimated player non-deflection rate) + (game deflections × deflection coefficient)

For example, 30 minutes at a remaining rate of 0.015 steals per minute contributes 0.45. Four deflections with a coefficient of 0.25 add one more, giving 1.45 xSteals.

The “non-deflection” component is a model estimate, not an event-by-event count of clean interceptions or strips. That distinction is important when explaining what the number means.

xTurnovers: account for involvement with the ball

A player who touches the ball 80 times has a different level of involvement from someone who touches it 15 times. We use actual game touches and a pregame estimate of the player's turnover rate per touch.

We weight his turnover and touch history at 100% for the current season before the game, 75% for the previous season and 35% for two seasons ago. We then blend that history with 1,000 touches at the weighted league turnover rate.

Expected turnovers per touch = (weighted player turnovers + 1,000 × league turnovers per touch) ÷ (weighted player touches + 1,000)
xTurnovers = game touches × expected turnovers per touch

At an estimated rate of 0.04 turnovers per touch, 75 touches produce three xTurnovers.

We use the official turnover total as the target. Possession-losing violations already included in that total are not added again.

For interpretation, remember the direction: five actual turnovers against three expected means two more turnovers than expected. A positive gap here is an unfavourable result.

Combining the categories into xFantasy Points

Once we have the expected categories, we can combine them using a points-league scoring system. The default calculation used in the recap is:

xFantasy Points = xPTS + 1.2 × xRebounds + 1.5 × xAssists + 3 × xSteals + 3 × xBlocks − xTurnovers

There is no extra three-pointer bonus in that default. Three-point scoring is already included in xPTS. Different points-league settings require different weights.

This gives us a compact comparison between actual and expected fantasy production. It is not a H2H category rank. When I discuss overall H2H category value, I use DURANT H2H.

How I use the gap

The first calculation is actual production minus expected production. The useful work is understanding why the difference exists.

Four assists from 14 potential assists tells a different story from four assists from six potential assists. A low-scoring game with a strong expected scoring total tells a different story from one in which the player barely attempted a shot.

Those distinctions help me assess whether the opportunity was still there. I then consider minutes, role, teammates and whether that opportunity is likely to continue.

Above expected does not automatically mean lucky. Below expected does not automatically mean a bounce-back is coming. The gap can contain shooting skill, teammate effects, random variation and things the model does not measure. That is particularly important for categories using an average-player conversion rate.

I also want comparable coverage. If only some of a player's shots have an expected value, a partial expected total cannot fairly be compared with his full scoring line. Missing expected production is unknown, not zero. Across multiple games, compare actual and expected production over the same covered games and attempts.

A larger sample helps us look for patterns, but it does not remove every model limitation. If a player consistently beats an average baseline, the answer may be that he has a repeatable skill the baseline does not incorporate.

xStats gives me a more detailed question to ask about a performance: did the opportunity change, did the conversion change, or did both change? That is the information I want when deciding what a box score means for fantasy basketball.