I used regular-season scoring margin per game to compare Boston with its season and the full study period.
Data
Scope and provenance
The study covers all 30 teams in each of 11 regular seasons. Historical games come from the nbadb/Kaggle dataset, with BoxScore Lab supplying 2023–24. Championship outcomes are separate labels. Playoff games are excluded from the metrics.
Implementation
Python and SQLite
I normalized team abbreviations and converted games into reciprocal team-game records. SQLite aggregates the season totals and uses window functions to rank teams within a season and across the study.
Limits
Descriptive evidence
The scope is 2013–14 through 2023–24. Per-game margin gives a baseline for comparison. The analysis uses no adjustments for pace, era, schedule, or overtime, and did not run a predictive or causal test.
Read the calculation and validation checks
Scoring margin is total points scored minus total points allowed, divided by actual games played. This accommodates the shortened 2019–20 and 2020–21 seasons. The calculation uses points per game rather than possessions. Shooting and ball-management ratios use season totals.
The saved audit checks season coverage, expected game counts, reciprocal scores, and one champion per season. All 60 team records and scoring averages checked against BoxScore Lab standings for 2022–23 and 2023–24 reconciled.
Tableau’s league scatterplot uses three-point attempts divided by total field-goal attempts. That measures shot selection. The champion view ranks each champion within its own season. Consider injuries, roster availability, playoff opposition, and repeated franchises when interpreting comparisons.
This excerpt ranks the unrounded margins from the full study’s season summaries.
SELECT season, team, games,
wins, losses, margin_pg,
is_champion,
RANK() OVER (
ORDER BY margin_pg DESC
) AS historical_margin_rank
FROM team_season;