r/sportsanalytics • • 16d ago

Game replays in 3D on Apple Vision Pro

423 Upvotes

I've been experimenting with spatial playback in augmented reality using broadcast footage. Coming together nicely. It could be really powerful for training... and even for fans watching a match. Let me know if you're interested in learning more!


r/sportsanalytics • • 23d ago

So we built a software that gives you laliga level stats for your casual matches (only using your phone)

Post image
343 Upvotes

So me and my friends enjoy playing soccer regularly and we figured since we are engineers why dont we work on a software that tracks each player from each team and calculates stats for each team, we also worked on a system that detects offsides in games and that converts your game to 3D technology all of that using a simple PHONE CAMERA, so we decided to make an instagram sharing our journey developing it

Its called replayfield You can take a look at our account and follow us here if you would like

https://www.instagram.com/replayfield?vrfl=MWw0M2RiOTFnYjJxbw%3D%3D&utm_source=qr


r/sportsanalytics • • Sep 20 '25

When do goals really happen in the Premier League?

Post image
289 Upvotes

CORRECTION: I accidentally used a player minutes-played field instead of the match minute when binning the data (the x-axis literally says “Minutes Played,” which I missed 🤦). The chart therefore shows "how many goals were scored by players who had played that many minutes" not "goals by match minute". Still interesting, but it's a different insight.

I'll post the corrected chart + details in my top comment below.


r/sportsanalytics • • Nov 12 '25

NFL Rushing Success Rate Based on Rush Gap and Location

Post image
225 Upvotes

Hey guys, I'm an undergrad data science and analytics student and I came up with this chart yesterday for fun so I thought I'd share it with you all. It's a visualization of rushing success rate (% of plays where the expected points of the drive is positive) of RB hand-offs based on where the run goes relative to the offensive line from weeks 1-10 of the 2025 NFL season. The baseline marked on each graph is 40% success rate, which is the league average. Thicker lines indicate higher volume. I hope you find it interesting! (My data is from nflfastr)


r/sportsanalytics • • Jul 20 '26

I reconstructed all 104 matches of the 2026 World Cup in 3D from Opta event data. Here's the final (Spain 1–0 Argentina) as an example

151 Upvotes

I rebuilt every match of the tournament from event data, all 104 of them, each one a 3D pitch that deforms in real time from every pass, shot, carry and card (Opta, via WhoScored/FotMob). This one is the final.

How to read it:
• Colour = which team controls territory at that moment (Spain red, Argentina blue).
• Relief/height = accumulated danger, it rises on high-xG chances and peaks on goals.
• The strip at the bottom is a momentum timeline, with markers for goals and the red card.

It is a deterministic render of the real event stream (Three.js / WebGL + Python). All 104 matches are interactive here: wc26.bogachev.fr


r/sportsanalytics • • Nov 18 '25

NFL Current Win % vs. Opponent Win % (After Week 11)

Post image
151 Upvotes

Hey all, I am preparing for my Master's in Human Kinetics (focusing on Sports Analytics) next Fall. Today, I used simple Excel calculations to graph NFL teams' current Win % against the average Win % of their opponents this season. This shows a team's winning record vs. the strength of teams they've actually faced, not a full strength-of-schedule metric. I hope you all find it interesting!

_______________________________________________________________________________
EDIT: This post was for feedback, thank you for all the comments!
I posted my final review here on my Instagram, check it out for more insights.


r/sportsanalytics • • Jun 03 '26 Mindblown

Modelling the 2026 FIFA World Cup

Post image
142 Upvotes

I’ve built a model of the upcoming World Cup for a bit of fun and this is the main output - thoughts on a postcard!

Some detail on my approach:

  1. I’ve replicated a game-by-game FIFA-style ranking system based on ~10 years of fixtures. I’ve captured some of the nuance of the FIFA system (Elo-style ratings with game importance weighted) but not all.

  2. I’ve used a Poisson regression model trained on the relationship between those historical results and the difference in ranking at the start of each fixture. Given the rating difference between two teams, it predicts how many goals each side is likely to score and the likely result. Crucial caveats are that I didn’t bother to model penalties or to incorporate home advantage for the tournament hosts.

  3. To generate my probabilities I simulated the tournament 1,000 times. In each simulation, every match is played out by drawing random scorelines from the Poisson predictions, following the actual World Cup 2026 bracket through group stage and knockouts (this bit was fiddly).

If you’re thirsty for more, or want to build on this basic model, there is some more detail, the code and input files all at the link below. Enjoy!

Modelling 1,000 world cups


r/sportsanalytics • • Feb 08 '23

Creating a Course for Aspiring Data Scientists (Learn Data Science Through Sports)

129 Upvotes

I have worked professionally as a Data Scientist of different levels for over 4 years now. I've always enjoyed onboarding, teaching, and mentoring Data Scientists and Data Analysts. I've worked primarily in marketing/advertising but my passion has always been sports!

So, I've decided to create a course that I wish someone created for me when I first got into data science: "Learn Data Science Through Sports". This is absolutely a work in progress and I actually cannot wait to keep expanding this. But I would love some feedback/bring my course to light for anyone that it can help!

Follow along at r/sportsanddatascience

Right now it is just hosted on my Github (I would like to create a website for it in the future). And here it is: https://github.com/ant-vessicchio/learn_data_science_through_sports

Scroll right down to the README for the curriculum. Thank you so much for reading and I appreciate any feedback!


r/sportsanalytics • • Jun 26 '26

World Cup Data

Thumbnail
gallery
124 Upvotes

I've been messing around with data visualizations for the world cup. Some of the things I have made are charts that show how each team's odds to win have changed each day during group play, monte carlo simulation results, and head to head matchup odds. The charts update daily so you can find the latest visualizations here: https://askcourtside.com/world-cup/title-odds-tracker


r/sportsanalytics • • Feb 21 '25

Sports + Data: Free SQL Course Designed by NBA Analytics Executive

117 Upvotes

Hey r/sportsanalytics 👋

I wanted to share something that might help those interested in breaking into sports analytics. My friend (an NBA team's data analytics executive) and I just launched TailoredSim - a learning platform specifically designed to teach technical skills in a sports business context.

What makes this different?

  • Every SQL lesson is built around real sports industry scenarios

  • You'll learn how to apply SQL to actual problems faced by analytics teams

  • The course combines technical skills with sports industry context (something my co-founder says is crucial for interviews)

Our goal is simple: make sure anyone who completes our courses is genuinely "job ready" for sports analytics roles.

We're currently in beta and looking for feedback from the community. The course is completely free, and I'm happy to personally help with onboarding.

If you're interested in trying it out:

  1. Sign up directly at tailoredsim.com, or

  2. Drop a comment/DM, and I'll help get you set up

Would love to hear your thoughts and feedback!

Since a few have asked - yes, this is completely free during our beta phase. We want to make sure we're building something truly valuable for the community.


r/sportsanalytics • • Dec 06 '25

Analysis of Basketball Plays with AI

115 Upvotes

r/sportsanalytics • • Feb 16 '22

Animated Voronoi Diagram Showing Spacial Control of the Field

89 Upvotes

r/sportsanalytics • • Apr 06 '21

New NBA dataset on Kaggle! - Every game 60,000+ (1946-2021) w/ box scores, line scores, series info, and more - every player 4500+ w/ draft data, career stats, biometrics, and more - and every team 30 w/ franchise histories, coaches/staffing, and more. Updated daily, with plans for expansion!

Thumbnail
kaggle.com
85 Upvotes

r/sportsanalytics • • Sep 29 '26

My take on fingerprint-style football match reports

Thumbnail
gallery
76 Upvotes

I’ve been working on a football data project and came across u/Complex-Progress-925’s post. Really liked the concept, so I decided to put my own spin on it.

Here are four examples combining match momentum, shot locations, xG and own player ratings. Hope you enjoy them! Would love to hear what you think, especially about how easy the charts are to read.


r/sportsanalytics • • Jan 09 '24

Can anyone guess which STATS were most correlated to winning in the NFL the last 2 weeks?

76 Upvotes

1._______ 2._______ 3.________ 4.________ 5._______

6. Most Interceptions


r/sportsanalytics • • Jun 07 '26

I designed a World Cup 2026 Simulator in Python.

Thumbnail
gallery
73 Upvotes

Hi everyone,

I want to be upfront: I am not very experienced with Python and I have never built a website before. I used AI to write the vast majority of the code for this project, but all the underlying mechanics, concepts, and football logic are entirely my own ideas.

I have built a "detailed" World Cup 2026 Simulator. It is currently running in a Jupyter Notebook using ipywidgets. It has gotten quite complex, but after a lot of testing, I think most of the bugs are finally removed. I just wanted to share it here in case anyone finds it interesting!

I have attached some pictures of the UI to this post, including the group phase dashboard, the knockout bracket, the Monte Carlo analytics tables, the tactical blackboard with formations, and the live match logs.

Here is a breakdown of what the engine actually does:

1. Data Sources & Ratings

  • Player Data: I used the most up-to-date ratings I could find from FIFACM to generate the squads. It is not quite Football Manager, but it accurately reflects players who just had breakout seasons.

  • Team Strength: The core engine calculates base strength using the latest international Elo ratings combined with Nate Silver's PELE ratings. I also implemented a home court advantage modifier for the host nations.

2. Tactical Lineups & Match Engine

  • Auto-Lineups: The tactical board auto-generates starting XIs based on player ratings, ensuring realistic formations (always having at least 3 defenders and 1 attacker).

  • Goal Generation (Poisson): The base team strength is dynamically modified by the actual offensive and defensive ratings of the specific players on the pitch. These combined stats are then fed into a Poisson distribution algorithm to generate the final goals scored.

3. Dynamic Incidents (Cards, Injuries & Form)

  • Red Cards & Injuries: A red card brings the team's total ratings down, and the penalty is heavily weighted by the minute it occurs. An early red card will devastate a team's chances. Injuries force substitutions and have variable durations, keeping players out of future matches.

  • Form / Momentum: There is a randomness element for players overperforming or underperforming. This allows a weaker team to sometimes go on an absolute generational run if their squad catches fire.

4. Monte Carlo Analytics & Sandbox Mode

  • Deep Stats: The Monte Carlo analysis runs thousands of background tournaments to calculate general survival probabilities and expected group placements. It also tracks historical matchup trends to see which teams consistently eliminate specific rivals.

  • Sandbox Mode: I can manually override specific match scores or force a team into a certain group placement, and the rest of the simulation will dynamically adapt to that new reality.

What I want to add next:

  • Aggressiveness Factor: I want to implement a system where highly aggressive teams have a greater chance of receiving red cards, whilst simultaneously increasing the chance of injuries for the opposing team.

If anyone is interested in checking out the code or the concepts, please let me know! I would also love to eventually turn this into a proper web application, so any general pointers on that front are always welcome too.

Here is the link to google colab:

https://colab.research.google.com/drive/1GdXpbuYboTxk7goLebzQCCXw2GAOwTA8?usp=sharing

Also to run the simulation u must always first update the standings!


r/sportsanalytics • • Oct 16 '26

Fight analytics demo. Prediction and fighter profiling.

69 Upvotes

Been working on this for a while. It tries to predict when the strike is coming and if it landed.
Eventually creates a fighter profile which tells about the traits of the fighter. Long way to go but this a working first version.


r/sportsanalytics • • Jun 06 '26

Yet Another World Cup Predictor but focused on Interactivity and Shareable Links with no central state

68 Upvotes

https://groupofdeath.gg/

I couldn't find a nice worldcup bracket visualizer out there so ended up building one. There is no login, no ads, runs client side and the share link feature allows you to share your bracket without any login. The full bracket is encoded in the URL.

The calendar feature is nice. I wanted to build my own schedule for the games I was interested in. There is full calendar that you can subscribe to as well, that gets updated as the fixtures get decided. I also wanted to be able to interactively change things and visualize the whole knockout stage.

The engine is pretty simple for now but can be easily improved if I have some more time.

Let me know if you find it useful. Here is the link for my prediction:

https://groupofdeath.gg/#BAUCEBAQEA...srcPYkMHogUcPIskoUcskcsUkQQEEAAAEgAAgFCBEuHM7


r/sportsanalytics • • May 03 '22

Real-time sports tracking data with AI

67 Upvotes

r/sportsanalytics • • Jan 16 '26

I charted each NFL team's win probability as their games progressed for the 2025 season to visualize how each team's season went on the whole. I hope you find it useful!

Post image
65 Upvotes

r/sportsanalytics • • Jan 10 '20

SQL for Sports Analytics: A Simple Tutorial

62 Upvotes

Hey Everyone - I put together this simple SQL tutorial using Lahman's baseball database. SQL is integral for any data heavy profession. Hopefully this teaches you enough to be dangerous!

https://www.playingnumbers.com/2020/01/sql-for-sports-analytics/


r/sportsanalytics • • Sep 20 '26

Seven AI Components Analyzing Football Video

61 Upvotes

Hi, I’m El Mehdi Hicham, a Computer Vision and Machine Learning Engineer from Morocco. I work on real-time multi-model pipelines for football video analysis.

This demo shows several AI components operating together:

  • Player and object detection

  • Ball detection

  • Player tracking and identity persistence

  • Camera calibration and pitch projection

  • Pose estimation

  • Field understanding

  • Jersey recognition

  • Tactical visualization


r/sportsanalytics • • Jul 16 '20

Introducing NBAScrapR: Get Data on Every NBA Play since 1996

60 Upvotes

I created a 13 million plus row database with every single play in the NBA since 96/97.

Here is my YouTube explanation video replete with table of contents addressing the fact that I'm not proclaiming myself to be the best explainer of this but it should be passable enough.

https://www.youtube.com/watch?v=5m7vUNR0-fg&feature=youtu.be

And here is a link to my github in which you can just skip the scrape and take the data. I recommend doing this anyway and not going through scraping yourself to limit the burden on the host site and just using the tutorial as a process learning experience you can adapt to other pages/tables they have.

https://github.com/Jeffery-777/NBA-PBP-Scrape/blob/master/Quick%20File%20Download%20-%20Skip%20the%20Scrape!

Here's the full repo with all the code needed for the entire scrape and data wrangling:

https://github.com/Jeffery-777/NBA-PBP-Scrape

Give me some thanks by following my twitter! @ statholesports.

I already used this database to write a comedic article on a guy that missed 35 shots in a row over a number of games and I'll be firing off more in the near future with this baby at hand:

https://www.reddit.com/r/nba/comments/h8vjvx/quarantine_research_finding_theres_no_way_an_nba/

Also, very much welcome recs on columns to add and improvements to anything.


r/sportsanalytics • • Jul 08 '26

"Unfair" results in World Cup knockout stages: analysis of winner vs. xG difference

Post image
59 Upvotes

I looked at major knockout matches in the previous three WCs, comparing the winner of the match against the xG delta between winner/loser - I'm calling this the "fairness score". A negative value means that a team generated a lot of scoring chances but was eliminated anyway.

Seven matches stand out. Three of them are Brazil eliminations. A surprise was seeing France 1-2 England in the list, but after looking at the highlights it makes sense since England indeed had lots of chances and even missed a penalty, while one of France's goal was a long shot (low xG converted to goal).

It would be nice to see this analysis extended past 2018, but I couldn't find xG stats for those WCs. Please comment if you have that data.

Sources: footystats.org for 2018, fotmob.com for 2022-26, sofascore.com for GK ratings.


r/sportsanalytics • • Jun 21 '25

I do analytics for a college basketball team - AMA

59 Upvotes

I love sports and love analytics. I’m starting my 4th season in charge of analytics for a college team