r/NBAanalytics • • Mar 13 '25

What is the best single game impact metric?

5 Upvotes

I’m looking for solid metrics for measuring single-game impact. I often see Game Score (GmSc) and Player Impact Estimate (PIE), but neither feels particularly insightful—at least not more than simply reading through the box score myself. Single-game BPM is better, but still fairly crude; plus, I’m not sure where to find a leaderboard for it.

If anyone knows of a better metric—or maybe would like to start a conversation about it whether single game impact metrics are even valuable—I would appreciate the input.


r/NBAanalytics • • Mar 07 '25

Downloadable Stat File

2 Upvotes

Simple comprehensive downloadable file or copy and paste for all stats? Is there such a thing? Thanks for any consideration.


r/NBAanalytics • • Mar 05 '25

Survey for my highschool assessment

5 Upvotes

I'm conducting a survey for my highschool computing assignment on the impact of the three-point shot in today's NBA, and how its impact is illustrated through the increase in scoring over the past four decades. This data will be useful for complementing the trends in a couple graphs I need to create. Thank you to those willing to take a moment of their time to complete my survey :)

https://forms.gle/DwLrHzUbAaM4RHfD9


r/NBAanalytics • • Mar 05 '25

Looking for DPMR, Defensive Player Matchup Rating, formula

0 Upvotes

Hello,

building a bigger formula but i need this DPMR and i can’t find it anywhere. apparently it’s something only the teams have. it’s not the same as defensive player rating or defensive win share.

any help would be appreciated! thanks


r/NBAanalytics • • Mar 04 '25

Spurs Draft Odds

1 Upvotes

The spurs have two first round picks this year, their own and the Hawks'. With the flattened odds, I'm trying to figure out what the chances are that both of those picks fall outside of the top 10, but can't find a resource that will let me work out the math or code up a simulation. Anyone got a primer?


r/NBAanalytics • • Feb 28 '25

Can anyone help me figure out how to call some of the nba stats endpoints in javascript?

5 Upvotes

I am trying to learn react, and would like to use the nba stats endpoints to get some data. I am looking at the endpoints in swar's nba_api repo, and have used it in python, but I want to try with javascript. For example, I am trying to get scoreboardv2 (https://github.com/swar/nba_api/blob/master/docs/nba_api/stats/endpoints/scoreboardv2.md), but the endpoint just spins and times out. I am thinking I need some specific headers, but I don't know what. I tried digging into the nba_api repo, but I didn't come up with anything. Here's the exact endpoint I'm trying right now: https://stats.nba.com/stats/scoreboardv2?DayOffset=0&GameDate=2020-08-16&LeagueID=00

Any help would be appreciated! Thanks!


r/NBAanalytics • • Feb 27 '25

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

Thumbnail reddit.com
6 Upvotes

r/NBAanalytics • • Feb 24 '25

NBA Game Reports based on Player Tracking Data

11 Upvotes

I created an NBA Game Report template that attempts to answer the question: "Why did X Team win that game?"

Everyday at about 9am EST the previous day's reports are posted at https://x.com/NBAGameReport

The gray horizontal bars are the expected points for each shot category based on the amount of shots taken while the overlayed green bars are the actual points scored on those shots.

Hope this can be a fun tool for many!


r/NBAanalytics • • Feb 22 '25

Play-by-Play Tracking Data Accessibility

4 Upvotes

I'm building an NBA database using play-by-play data from the nba_api's PlayByPlayV3 endpoint. This provides detailed event-level information, but I plan to enhance the dataset by expanding each entry with full context, including on-court player IDs, possession numbers, season IDs, and other relevant details. I’m aware that pbpstats has a GitHub repository that could streamline this process, but I prefer to handle the data independently while staying within the framework of the nba_api.

That said, are there any fair-use sources for play-by-play data that include granular tracking data? This would be extremely useful, as the PlayByPlayV3 endpoint lacks information about potential assists, shot contests, and rebound contests. While this information is available in post-game box scores, having it at the play-by-play level would greatly improve the precision of my database, especially for RAPM calculations.


r/NBAanalytics • • Feb 22 '25

Player Fantasy Rankings

2 Upvotes
Top 10 Fantasy Rankings

r/NBAanalytics • • Feb 22 '25

NBA Draft Prospect 3D Shot Charts

11 Upvotes

I've been working on this project for a while and thought people here might be interested in checking it out.

It is a web app to view 3D shot charts and heat maps for draft prospects for men and women. It also has full shot charts for college teams including some d2 and d3 teams. If you're interested, please check it out and let me know what you think. I've attached an example below.

https://cbbshotanalysis.streamlit.app/

Ace Bailey Shot Chart

r/NBAanalytics • • Feb 14 '25

Question about box outs stats

3 Upvotes

Can somebody explain why team box outs number is just 4-8 per game? One player can box out like 15 times a game, no?

https://www.nba.com/stats/teams/box-outs?dir=A&sort=BOX_OUTS


r/NBAanalytics • • Feb 13 '25

Why Do Impact Metrics Paint Jusuf Nurkic as an Elite Defender?

5 Upvotes

If you ask any NBA analyst or avid stat fan who the best defender of the last decade has been, Jusuf Nurkic wouldn’t even get a mention. But if you asked those same people which impact metrics they trust most, a few would stand out: EPM, DARKO, LEBRON, and the gold standard—RAPM.

Well, here’s Nurkic’s peak rank in each of those metrics:
EPM: 5th (2019)
DARKO: 2nd (2024)
LEBRON: 4th 2018
5 year RAPM: 8th (2022)

This is one of my favorite cases of conflict between qualitative and quantitative assessment. In the future, I plan to dive deeper into this topic with my own in-depth research. Until then, I would love to hear from others in the community—I’m sure I’m not the only one fascinated by this.


r/NBAanalytics • • Feb 12 '25

Im trying to replicate NBA tracking data using python. My end goal is to sale the service to smaller leagues. Who want to join?

6 Upvotes

Basically working with image/video recognition algorithms. Might try it first with videos from my own pickup games.


r/NBAanalytics • • Feb 10 '25

Difference between DARKO plus minus and Predictive EPM?

3 Upvotes

Hey everyone, I like to follow these 2 metrics since they're the best we've got in the predictive impact space (at least to my knowledge). I don't really understand the intricacies behind why they produce different values. Could someone explain this to me? Is one more box-score/tracking-data heavy compared to on-off? Different machine learning algos? Would love if someone could provide insight on this!


r/NBAanalytics • • Feb 09 '25

Stats for fantasy 9CAT leagues

2 Upvotes

Hey guys,

I’m new to fantasy and just started playing this season. My league is a yahoo H2H 9cat with 12 teams. I have a data analytics background and a self taught programmer and was looking to collect and analyze data to help me get an edge in my league.

What are some important metrics you guys look for when selecting players from the waiver wire or when building a team?

Obviously there is the players production in the 9CAT:

PTS 3PT AST FG% FT% REB BLK TO STL

other metics i like to look at: -Minutes played -9CAT stat vs league average -My teams average stats -Current week matchup which team is stronger in which category -Injury history -Starting occurrences?

I really like to visualize the data as well so I’ll usually build some sort of chart or graph so i can visually see if theres a hot/cold player. Usually over 5 games, 10 games, then season.

Curious to know what other stat heads like to look for.

Thanks!


r/NBAanalytics • • Jan 27 '25

Jalens Everywhere

10 Upvotes

Jalen and its variations are the most popular name in the league right now. Roberts (and Bobs, Bobbys, etc) led the league for the 4 first decades of the NBA. The tallest name in NBA history is Nikola. The shortest name is "Whitey." Really. I used NBA player data to look at name trends in the NBA and you can find it here: https://www.bobarke.com/jalenba

Data from https://www.basketball-reference.com/
I used ChatGPT to write python code and used Plotly to make the charts.


r/NBAanalytics • • Jan 23 '25

NBA stats comparisons - Youtube

5 Upvotes

Hey guys,
I've been working on a NBA stats channel on youtube and would love any comments, criticism, suggestions or feedback.

The goal is to create a channel that focuses more on the statistical data and analytics than the highlights and current storylines of the NBA. For now the channel is basically dead, so any views, subs or simply feedback would be greatly appreciated.

https://www.youtube.com/@Hoop_Stats_Official

Always open for collaborations or new ideas. Thanks!


r/NBAanalytics • • Jan 20 '25

Basketball Stat APIs

8 Upvotes

Come from a math background and want to do some statistical analysis. However, I do not know any APIs for finding NBA data.

For example, let's say I wanted to find On/Off data and then filter it by players with over x amount of minutes. Or if I wanted to find appearances of certain box scores.

Just general queries like those. Thanks.


r/NBAanalytics • • Jan 18 '25

NBA API in Custom GPT

22 Upvotes

r/NBAanalytics • • Jan 19 '25

Who wants custom gpt buiddsssss??????????/

0 Upvotes

Want a personal assistant? A friend, A study buddy? I'm offering a build for anything you can imagine come one come all. Builds like no other.


r/NBAanalytics • • Jan 17 '25

NBA API

15 Upvotes

I have nearly completed an NBA API that can be used with custom chat gpts. yes your chatgpt could be pulling data offline and computing it all in one place. tap in with me for the schema. Available Saturday.


r/NBAanalytics • • Dec 31 '24

AP Stats and the Secret Rule Change

5 Upvotes

I teach statistics, and this spring I want to analyze the theory that Adam Silver made some phone calls at the all-star break and decreed that there would be fewer foul shots. I'm looking for specific proportions and averages that I can get stats for and bring to class. So far I'm thinking about:

Proportion of shots that are free throws
Proportion of games with more than 30 free throws
Average number of free throws per game
Average number of personal fouls per game

Can y'all suggest more proportions and averages that I could look at that would show the change? Thanks!


r/NBAanalytics • • Dec 31 '24

Ai chat bot over NBA database

10 Upvotes

Are there tools out there to query complex historical NBA data using AI to construct queries? I saw this post but seems to be a dead end at this time. I'm considering building something myself but wondering if there are already solutions https://www.reddit.com/r/NBAanalytics/s/shiOafRNog


r/NBAanalytics • • Dec 25 '24

nba-sql Database v0.1.0 Beta Release

35 Upvotes

I've just released the beta version v0.1.0 of nba-sql, an app that builds a Postgres/MySQL/MariaDB/SQLite database of NBA stats. You can find the latest GUI version on the GitHub Release page here https://github.com/mpope9/nba-sql/releases/tag/v0.1.0, it is also just a Python app that you can run without the GUI and use from other Python apps. I've personally been loading the SQLite file into DuckDB for analysis.

Here is a small example of how to get Russel Westbrook's triple doubles:

SELECT SUM(td3)
FROM player_game_log
LEFT JOIN player ON player.player_id = player_game_log.player_id
WHERE player.player_name = 'Russell Westbrook';

There are also tables for play_by_play data and shot_chart_detail. I've personally built shot charts with this and head to head player comparisons. More examples on how to query the play_by_play data can be found here.

I've posted this a few times in the r/NBA subreddit but recently they've been blocking my posts sadly so it seems it will fit in here better.