Expected Assists (xA)
Intermediate
10 min read
485 views
Nov 25, 2025
Expected Assists (xA)
Expected assists quantify the quality of chance creation. This chapter covers pass quality modeling, pre-assist actions, assist overperformance analysis, and creative midfielder evaluation. Understand the relationship between xA and actual assists.
Topics Covered
- Modeling pass quality and danger
- Pre-assist actions and sequences
- Expected assists vs actual assists
- Chance creation metrics
- Assist overperformance and underperformance
- Creative midfielder evaluation
Code Examples
Calculate True Shooting %
Calculate True Shooting Percentage - measures overall shooting efficiency
def calculate_true_shooting(points, fga, fta):
"""Calculate True Shooting Percentage
Formula: TS% = PTS / (2 * (FGA + 0.44 * FTA))
"""
tsa = 2 * (fga + 0.44 * fta)
if tsa == 0:
return 0
return round((points / tsa) * 100, 1)
# Example: Player with 25 PPG, 18 FGA, 8 FTA
ts = calculate_true_shooting(25, 18, 8)
print(f"TS%: {ts}%") # Elite: >60%, Good: 55-60%
Discussion
Have questions or feedback? Join our community discussion on
Discord or
GitHub Discussions.
Table of Contents
Related Topics
Quick Actions