Basketball Analytics

Master Data-Driven Basketball Analysis

Explore basketball analytics from shooting efficiency to advanced player tracking metrics

Resources

196

Tutorials

1

Examples

14

Datasets

28

Metrics

Learning Paths

Foundations and Data Infrastructure
5 Topics

Introduction to basketball analytics, data sources, programming tools, and traditional statistics

Explore Topics
Getting Started
5 Topics

Introduction to basketball analytics and key concepts

Explore Topics
Part I: Foundations and Data Infrastructure
5 Topics

Foundation chapters covering basketball analytics history, data sources, tools, and data wrangling

Explore Topics
Offensive Analytics
5 Topics

Four Factors, shooting efficiency, spacing, rebounding, assists, turnovers, and pace analysis

Explore Topics
Part II: Offensive Analytics
9 Topics

Deep dive into offensive metrics, shooting efficiency, three-point revolution, assists, turnovers, and free throw analytics

Explore Topics
Traditional Stats
5 Topics

Points, rebounds, assists, and basic statistics

Explore Topics
Advanced Analytics
6 Topics

PER, True Shooting, BPM, and advanced metrics

Explore Topics
Defensive Analytics
5 Topics

Defensive metrics, rebounding, steals, rim protection, perimeter defense, and team schemes

Explore Topics
Part III: Defensive Analytics
7 Topics

Comprehensive defensive metrics, rebounding, steals, blocks, perimeter defense, and team defensive strategies

Explore Topics
Part IV: Player Evaluation and Advanced Metrics
8 Topics

Advanced player evaluation metrics including PER, Win Shares, BPM, RPM, RAPTOR, EPM, and comprehensive player rating systems

Explore Topics
Player Evaluation and Advanced Metrics
5 Topics

PER, Win Shares, BPM, VORP, RPM, RAPTOR, EPM, usage rate, and clutch performance

Explore Topics
Tracking Data
5 Topics

Player tracking, movement, and spatial analytics

Explore Topics
Lineup Analytics and Rotations
3 Topics

Lineup combinations, net rating, on-off analysis, substitution patterns, and lineup synergy

Explore Topics
Part V: Lineup Analytics and Rotations
5 Topics

Five-man lineup combinations, net rating, on-off analysis, substitution patterns, and rotation management

Explore Topics
Team Analytics
5 Topics

Offensive/defensive ratings and lineup analysis

Explore Topics
Part VI: Player Tracking and Spatial Analytics
6 Topics

Player tracking data, speed/distance metrics, shot quality, passing analytics, drives and paint touches, and defensive tracking

Explore Topics
Player Tracking and Spatial Analytics
5 Topics

Player tracking data, speed, distance, shot quality, passing analytics, and defensive tracking

Explore Topics
Predictive Models
5 Topics

Game outcome prediction and player projections

Explore Topics
Part VII: Shooting Analytics Deep Dive
6 Topics

Shot types, shot clock analysis, dribbles and touch time, contested shots, hot hand phenomenon, and three-point specialization

Explore Topics
Shooting Analytics Deep Dive
5 Topics

Shot types, shot clock, touch time, contested shots, hot hand, and three-point shooting analysis

Explore Topics
Game Theory and Strategy
5 Topics

End-game situations, hack-a-shaq, timeout strategy, challenges, tanking, and rest analytics

Explore Topics
Part VIII: Game Theory and Strategy
6 Topics

End-of-game situations, intentional fouling, timeout strategy, challenges, tanking, rest vs rust, and schedule analytics

Explore Topics
Part IX: Player Development and Scouting
5 Topics

NBA draft analytics, college to NBA translation, G League evaluation, international scouting, and rookie performance

Explore Topics
Player Development and Scouting
5 Topics

Draft analytics, college translation, G League, international scouting, and rookie performance

Explore Topics
Contracts, Salary Cap, and Team Building
5 Topics

Salary cap system, max contracts, exceptions, free agency, trades, and roster construction

Explore Topics
Part X: Contracts, Salary Cap, and Team Building
7 Topics

NBA salary cap system, max contracts, cap exceptions, free agency, trades, draft pick valuation, and roster construction

Explore Topics
Part XI: Advanced Offensive Concepts
9 Topics

Pick-and-roll analytics, isolation scoring, transition offense, post-ups, off-ball movement, rebounding, handoffs, and set plays

Explore Topics
Part XII: Advanced Defensive Concepts
8 Topics

Pick-and-roll defense, switching, help defense, zone defense, press defense, communication, perimeter-interior balance, and matchups

Explore Topics
Part XIII: Position-Specific Analytics
5 Topics

Point guard, shooting guard, wings, forwards, centers, and positionless basketball metrics

Explore Topics
Part XIV: Playoff and Championship Analytics
6 Topics

Playoff performance vs regular season, series analytics, championship archetypes, rotations, clutch play, and home court advantage

Explore Topics
Part XV: Coaching and Strategy
6 Topics

Coach impact, offensive systems, defensive systems, player development, in-game adjustments, and game planning

Explore Topics
Part XVI: International and FIBA Basketball
5 Topics

FIBA rules differences, EuroLeague analytics, Olympics, FIBA World Cup, and international player development

Explore Topics
Strategy & Game Theory
4 Topics

Strategic analysis

Explore Topics
Part XVII: Womens Basketball and WNBA
5 Topics

WNBA analytics, salary cap, college womens basketball, international womens basketball, and WNBA style evolution

Explore Topics
Women's Basketball and WNBA
5 Topics

Basketball Women's Basketball and WNBA

Explore Topics

Quick Start Guide

1
Learn Basics
Start with fundamental statistics
2
Advanced Metrics
Explore sport-specific analytics
3
Practice with Data
Use real datasets and examples
4
Apply Knowledge
Build your own analytics projects

Key Basketball Metrics

Block Percentage BLK%

Percentage of opponent two-point attempts blocked while player is on court. Variables: BLK = Blocks, Opp2PA = Opponent Two-Point Attempts

\text{BLK\%} = \frac{\text{BLK} \times \text{TmMin}/5}{\text{Min} \times (\text{Opp2PA})} \times 100
Steal Percentage STL%

Percentage of opponent possessions ending in a steal by this player. Variables: STL = Steals, OppPoss = Opponent Possessions

\text{STL\%} = \frac{\text{STL} \times \text{TmMin}/5}{\text{Min} \times \text{OppPoss}} \times 100
Defensive Rating DRtg

Points allowed per 100 possessions. Lower is better. Individual DRtg is difficult to measure from box score. Variables: Points Allowed = Opponent scoring, Possessions = Team possessions while player on court

\text{DRtg} = \frac{\text{Points Allowed}}{\text{Possessions}} \times 100
Net Rating NetRtg

Point differential per 100 possessions. Measures overall impact on both ends. Variables: ORtg = Offensive Rating, DRtg = Defensive Rating

\text{NetRtg} = \text{ORtg} - \text{DRtg}
Offensive Rating ORtg

Points produced per 100 possessions. Individual version measures a player's offensive efficiency. Variables: Points Produced includes scoring and assist credit. Possessions = floor estimate of possessions used.

\text{ORtg} = \frac{\text{Points Produced}}{\text{Total Possessions}} \times 100
Effective Field Goal Percentage eFG%

First of Dean Oliver's Four Factors. Most important factor (~40% weight). Variables: Same as eFG% above

\text{eFG\%} = \frac{\text{FGM} + 0.5 \times \text{3PM}}{\text{FGA}}
Four Factors - Free Throws FT Rate

Fourth of Four Factors. Free throws made per field goal attempt (~15% weight). Variables: FTM = Free Throws Made, FGA = Field Goal Attempts

\text{FT Rate} = \frac{\text{FTM}}{\text{FGA}}
Offensive Rebound Percentage ORB%

Third of Four Factors. Offensive rebounding rate (~20% weight). Variables: ORB = Team Offensive Rebounds, OppDRB = Opponent Defensive Rebounds

\text{ORB\%} = \frac{\text{ORB}}{\text{ORB} + \text{OppDRB}}
Turnover Percentage TOV%

Second of Four Factors. Lower is better (~25% weight). Variables: TOV = Turnovers, FGA = Field Goal Attempts, FTA = Free Throw Attempts

\text{TOV\%} = \frac{\text{TOV}}{\text{FGA} + 0.44 \times \text{FTA} + \text{TOV}}
Field Goal Percentage FG%

Percentage of field goal attempts made

FG% = FGM / FGA

Datasets & Resources

Dataset Description Format Size Action
NBA Player Tracking Data Player movement and ball tracking data from NBA games JSON N/A
Basketball Reference Scraper Data Comprehensive NBA statistics and box scores CSV N/A
NBA Stats API Official NBA statistics including player, team, and game data API Variable
NBA Stats API Data Official NBA statistics including player stats, team stats, shot charts, and play-by-play data from stats.nba.com. API Variable
Basketball Reference Historical Complete NBA/ABA historical statistics from 1946 to present. Player and team stats, awards, and advanced metrics. CSV 150 MB

Ready to Master Basketball Analytics?

Start with the basics and work your way up to advanced machine learning applications.

View Glossary