r/sportsanalytics • u/Rate_Game • 4h ago
r/sportsanalytics • u/Immediate_Guidance59 • 23m ago
Tennis head-to-heads and serve stats in pandas: Sinner vs Alcaraz by surface, Swiatek’s first-serve % over two seasons (notebook + data)
I put together a small notebook for pulling tennis match data into pandas: every meeting between two players, and a player’s matches with serve stats.
A few results from the run on 2026-11-23:
Sinner vs Alcaraz: 7–11 over 18 meetings. Alcaraz leads 8–3 on hard; Sinner leads 2–0 on grass; clay is 2–3.
Swiatek since January 2025: 139 matches, 76% won. On grass she went from 91% of 11 in 2025 to 50% of 4 in 2026. Too few matches to read much into, which is why the chart shows the counts.
First-serve %, match by match with a 10-match rolling mean, for 138 of those 139 matches (the other was a walkover).
Notebook, scripts and charts: https://github.com/arman-007/tennis-h2h-python
Disclosure: the data comes through a Sofascore scraper. The head-to-head above cost $0.045 to pull, and the free plan’s monthly credit covers the whole notebook. The repo is MIT-licensed, and the pandas part works on any data with the same columns.
I’d like feedback on the surface split. Should retirements and walkovers count as wins? They’re only a few percent of these matches, but they decide close records.
r/sportsanalytics • u/Emotional_List_4583 • 1h ago
Where can I get timestamped odds for UK handicap hurdles to see if early prices are still available at 10:02am?
reddit.comr/sportsanalytics • u/NewStat1 • 7h ago
Two ways to build an elite defense: opponent eFG% vs opponent turnover % for all 30 teams
Made this from ESPN data (about 21 games per team so far this season). X axis is how well teams make opponents miss (opp eFG%, lower is better), Y axis is how often they force turnovers (higher is better). Dashed lines are league averages.
- Minnesota is #1 at making shots hard (opponents shoot 49.8% eFG, league avg 53.6%)
- The Lakers force the most turnovers (15.3% of opponent plays, avg 12.8%)
- Boston is the one team near the top in both: #3 shot defense, #5 turnovers forced
Curious which teams people think are in the wrong spot, and whether it's scheme or personnel.
I built this on a free stats site, newstat.app (no ads or signup).
r/sportsanalytics • u/sgarbs04 • 8h ago
Calculating player Points, Plus/Minus from game log
r/sportsanalytics • u/Constant-Resist-7000 • 17h ago
Has the Three-Point Revolution Reduced Offensive Diversity?
I analysed past 3 decades of NBA data to understand how the evolution of the three-pointer has made changes in shot selection, roster construction, positional responsibilities and offensive tactics.
Full article: Article link
Source code: Github
r/sportsanalytics • u/SneakerMan884 • 16h ago
Built an NFL playoff odds simulator. Looking for feedback
reddit.comr/sportsanalytics • u/Elliot_Hayward • 20h ago
I kept switching between football apps, so I built a site comparing them. What do you actually use on match days?
r/sportsanalytics • u/fotball-stats • 21h ago
Chelsea have scored 7.1 goals more than their xG after 12 Premier League games. In the last four seasons, about 4% of a gap like that lasted the rest of the season.
I keep a spreadsheet for every league I follow and rebuild it each morning. This is what the Premier League one says after 12 games.
Chelsea have scored 7.1 more goals than their chances were worth, the most in the league. Over the last four Premier League seasons (80 club-seasons), for every goal a game a club was above its xG at this point, it stayed about 0.04 a game above for the rest of the season. Almost all of it went away.
Arsenal have 29 points from chances worth 22.5. Nottingham have 12 from chances worth 19. Hull are 9th in the table and 16th on xG difference per game. Nottingham are 14th in the table and 7th on xG difference.
Leeds keepers have saved 82% of the shots on target they faced, Coventry's 54%. Thierno Barry has 6 of Everton's 13 goals.
Each file has about 34 sheets. There's a contents sheet at the front that says what question each sheet answers, and a glossary at the back.
Clubs: the full table with xG, shots and saves, an xG table, expected points match by match, the least deserved results, a rating that allows for opponents and home advantage, home and away form, results against strong and weak sides, clean sheets, goals by 15-minute block, points won from losing positions, goals from the bench, rest days and European games, manager changes.
Players: every player with per-90 numbers and a percentile against players in the same position, plus how each club does with and without its most-used players.
Context: this start against the same point of earlier seasons, where clubs with the same start finished before, the next five fixtures with head-to-head history, referees, and 10,000 simulated finishes (a model, not a tip).
There's one for 26 leagues, from the Premier League down to the National League plus most of Europe, and 25 club files. xG is there where the source has it. Link in the comments if anyone wants one. Happy to say what's in any sheet.
r/sportsanalytics • u/Willing_Jellyfish810 • 1d ago
Is lower-league football harder to analyse than top-flight football?
reddit.comr/sportsanalytics • u/Goalpickr • 22h ago
Evaluating a football prediction model: accuracy vs probability calibration
I've been developing Goalpickr, an independent football analytics platform covering 10 European competitions.
My approach combines Poisson and Dixon-Coles modelling with several team performance indicators:
Offensive and defensive strength
Home and away performance
Recent form
Historical team performance
Estimated goal-scoring intensities
One aspect I find particularly interesting is model evaluation. A high prediction accuracy doesn't necessarily mean that the underlying probabilities are well calibrated.
I'm interested in how other analysts approach this:
Do you primarily use Brier score, log loss or calibration curves?
How much weight do you give to recent form compared with longer-term performance?
Do you evaluate your models separately for each league?
I'd be interested to hear your approaches, especially from people working with probabilistic football models.
r/sportsanalytics • u/shoe7525 • 1d ago
NFL thing I built - a box score that more intuitively shows why a team is winning
Here’s Titans-Jaguars as an example.
I often look at a box score and feel like it doesn’t tell the story. Is a team winning because they’re consistently moving the ball? Starting with better field position? Doing more with their scoring opportunities?
So I built NFL Win Delta to make those things easier to see. It compares eight factors, and you can dive into each one to see the plays and drives behind it.
As of now-ish... Jacksonville led 31-17 - but the box score doesn't make it very obvious why. My tool shows that the Jaguars were starting drives at their own 40 on average, compared with Tennessee’s 27, and averaging 6.2 points per trip inside the 40 versus 3.3. That’s the kind of story I wanted to make easier to see: better field position and more points from the opportunities they created.
The framework builds on Bill Connelly’s Five Factors, with additions for penalties and defensive/special-teams scoring. In 2025, teams that won exactly five of the eight factors won about 86% of the time.
I also worked out how to estimate EPA per play from ESPN’s live feed using nflfastR’s expected-points model, which means I can show in real time which plays are the most consequential, both in a single game and across the NFL.
Mostly just a passion project - let me know what you think!
r/sportsanalytics • u/Jack_none_Reacher • 1d ago
Is this right? Should the Rams be pulling for 49ers today?
Figured this sub could check the math on this.
r/sportsanalytics • u/SoundWinter4995 • 1d ago
Open source Elo rating engine for pickleball doubles: looking for help evaluating and tuning it
I'm building OPEN, a free, open-source pickleball rating system as an alternative to privately owned rating systems. The core is an Elo-based Python package, and its main goal is to accurately predict match outcomes.
V1 is published with default parameters, and nothing has been tuned yet. I want help from people interested in:
• Building an evaluation framework (accuracy, calibration, convergence)
• Tuning K-factor, reliability, and seeding for new players
• Splitting a doubles result between two partners
• Comparing against Glicko-2, TrueSkill, or Bayesian models
• Finding public pickleball match data for testing
Package: https://pypi.org/project/openpickleball-engine/
Code: github.com/openpickleball
Site: openpb.org
Documentation: dev.openpb.org
Comment or DM if you're interested.
r/sportsanalytics • u/quantumazure7 • 1d ago
Open-sourced a structured 32-sport coaching taxonomy: 422 step-by-step drills & 212 timed reaction callout scripts (CC BY 4.0, CSV/JSON)
Most open sports data focuses on match events, box scores, or tracking coordinates, which leaves a big gap if you're building training-plan tools, coaching RAG pipelines, or practice analytics across multiple sports.
We just published a clean CC BY 4.0 taxonomy covering **32 sports** (from Basketball, Soccer, Golf, Tennis, and MMA to Swimming, Cricket, Rugby, Lacrosse, Pickleball, and Hyrox):
* **Browse / Direct CSV & JSON:** https://sportsreflector.com/research/open-sports-drills-database
* **Hugging Face (`drills` & `callouts` configs):** https://huggingface.co/datasets/SportsReflector/open-sports-drills-callouts-2026
* **Zenodo DOI:** https://zenodo.org/records/24642649
**Structure:**
* **422 Drills (2,110 ordered steps):** Tagged by sport, 6 coaching pillars (`technique`, `form`, `power`, `balance`, `timing`, `safety`), difficulty tier, duration, and rep scheme.
* **212 Reaction Callout Scripts (1,296 cues):** Timed audio/visual drill scripts with round counts, work/rest seconds, and call cadence (`call_interval_s`)—plus 8 sport-agnostic agility/conditioning modules.
*(If you're also working on movement/form modeling, we paired this with an anonymized 1,500-trial AI biomechanics & mechanical-fault benchmark across 31 sports here: https://sportsreflector.com/research/2026-biomechanics-dataset)*
Curious what additional fields analysts or coaches would want in v2 (e.g., required equipment tags, space dimensions, or athlete count).
r/sportsanalytics • u/RelationshipLow832 • 1d ago
Need football stat comparison ideas: 2016–17 Real Madrid vs 2026–27 Barcelona
reddit.comr/sportsanalytics • u/fotball-stats • 1d ago
Stoke are 2nd in the Championship with 35 points from chances worth 20.5. Burnley have 11 from chances worth 18.
I keep a spreadsheet for every league I follow and rebuild it each morning. The picture is one sheet from the Championship file: expected points after 17 games.
Expected points come from each match's xG. Both teams' xG give a chance of a win, a draw and a loss, and you add those up over the season.
Stoke stand out. 35 points from chances worth 20.5, and they're 17th in the league on xG difference per game. They've scored 9.9 more goals than their chances. Over the last three Championship seasons (72 club-seasons), only about 14% of a gap like that carried on for the rest of the season.
At the other end, Burnley have 11 points from chances worth 18.2. West Ham are 13th in the table and 3rd on xG difference.
The rest of the file is about 30 sheets. Every player with per-90 numbers, home and away form, each club's next five fixtures, head-to-head history, referees, goals by minute and 10,000 simulated finishes. There's a contents sheet at the front and a glossary at the back.
There's one for 26 leagues, from the Premier League down to the National League plus most of Europe. Link in the comments if anyone wants one. Happy to say what's in any sheet.
r/sportsanalytics • u/Woodenlywould • 1d ago
Sport analytics is not an improving metric (its baseline has peaked)
It’s quite simple honestly. Perfecting players tactics, positioning, recruitment, coaching.
Here, I am talking all the way from xG, xT, VAEP, Off ball analytics with Decoy runs, Possession adjusted metrics and more.
No amount of brier score or deviation can validate an individual game going as planned. I tried creating alternative metrics to why some games had all metrics right yet lose.
If anyone has metrics or advise that can substitute for or challenge these games, it would be very appreciated:
Jeddeloh v Heidenheim (23.08.26)
Al Ahli v Al Nassr (20.11.26)
r/sportsanalytics • u/Basketlog • 2d ago
My NBA win-probability model after a full month: is it calibrated? (193 games in November)
A couple of weeks ago I shared the first numbers from my NBA model here. November is now done, so here's the full month: every game rerun with only the data available before tip-off, then compared with the result.
| Favorite's probability | Average predicted | Actual wins | Games |
|---|---|---|---|
| 50-60% | 56% | 60% | 40 |
| 60-70% | 65% | 59% | 64 |
| 70-80% | 74% | 67% | 43 |
| 80-90% | 85% | 89% | 36 |
| 90-100% | 91% | 80% | 10 |
Overall the favorite won 131 of 193 games (68%).
What I take from it:
- The top end looks fine (80-90% → 89%); the 90%+ bucket is only 10 games.
- The 60-80% range is overconfident by 6-7 points. My guess: the model trusts early-season point differential too much and doesn't lean enough on last season.
Question for people who've built these: do you recalibrate the output (Platt scaling, isotonic), or fix the inputs (stronger priors, injury adjustments) and leave the output alone?
Full table and every single game (my site, free): basketlog-app.com/en/app/bilan/2026-11
r/sportsanalytics • u/Efficient_Cow_5226 • 2d ago
Where are you getting football data now that Understat is down?
Hey! I'm a data scientist (Bayesian marketing stuff by day, so football is my side thing) and I'm starting a football analytics blog on GitHub.
Problem: I was gonna use Understat for xG, but it's been showing "We will come back soon" for week. So... where is everyone getting data now?
What I need (ideally free, ideally usable from Python):
- team xG per match
- player stats per 90 (xG, xA, shots, etc.)
- lineups/minutes
- transfers and market values
So far I've found FotMob (through the soccerdata library), Transfermarkt and StatsBomb open data. Anything I'm missing? Even a "just pay for X" is welcome lol
Thanks!
r/sportsanalytics • u/Hzm13 • 2d ago
Two Truths, One Lie: Premier League 2025/26. Which one is the lie?
A) Man United had more shots than champions Arsenal.
B) Champions Arsenal scored more goals than anyone.
C) Aston Villa won the most points after falling behind.
Two are true, one is false. A, B or C, and why?
Data: football-data.co.uk and premierleague.com
r/sportsanalytics • u/CompetitiveDraw4982 • 2d ago
I got tired of arguing cricket stats from memory, so I built a tool for it. Would love honest feedback.
reddit.comr/sportsanalytics • u/Worldly-Level-1622 • 2d ago
Just created a Sports Trivia stat guessing game, try it out
r/sportsanalytics • u/Vovakho • 2d ago