Page 1 of 1

Trying to run some stats - Where Could I Get The Data?

Posted: Sat Apr 1, 2023 10:58 pm
by NYG
Is there any site that would provide the following data for every team and every player on the roster?

Overall Team Points Per Minute
Overall Team Shooting Percentage
Team Points Per Minute when Player is on the floor
Team Shooting Percentage when Player is on the floor
Overall Opponent Team Points Per Minute
Overall Opponent Team Shooting Pecentage
Opponent Team Points Per Minute when Player is on the floor
Opponent Team Shooting Percentage when Player is on the floor

Re: Trying to run some stats - Where Could I Get The Data?

Posted: Sun Apr 2, 2023 2:10 pm
by NYG
So I found the data...

I calculated the following...

(Team Points Per 100 Possessions) * (Team Field Goal %) = A
(Team Points Per 100 Possessions with Player on the court) * (Team Field Goal % with Player on the court) = B

B - A = X

(Opponent Points Per 100 Possessions) * (Opponent Field Goal %) = C
(Opponent Points Per 100 Possessions with Player on the court) * (Opponent Field Goal % with Player on the court) = D

C - D = Y

(X * Y)/2 = On the court impact score

Re: Trying to run some stats - Where Could I Get The Data?

Posted: Mon Apr 3, 2023 2:54 am
by ijspeelman
NYG wrote:Is there any site that would provide the following data for every team and every player on the roster?

Overall Team Points Per Minute
Overall Team Shooting Percentage
Team Points Per Minute when Player is on the floor
Team Shooting Percentage when Player is on the floor
Overall Opponent Team Points Per Minute
Overall Opponent Team Shooting Pecentage
Opponent Team Points Per Minute when Player is on the floor
Opponent Team Shooting Percentage when Player is on the floor


You can use basketball-reference for all of these. I'll use Boston Celtics as the sample team for websites.

https://www.basketball-reference.com/teams/BOS/2023.html#team_and_opponent

First, I'd recommend using Offensive Rating (ORTG) or Defensive Rating (DRTG) instead of Team/Opponent Points per Minutes. Its just a calculation of Points/100 possessions and adjusts for pace. Buuuut, if you want those I'll put formulas below.

Overall Team Points Per Minute = (PTS/GM)/MINUTES_PER_GAME
Overall Team Shooting Percentage
Overall Opponent Team Points Per Minute = (oPTS/GM)/MINUTES_PER_GAME
Overall Opponent Team Shooting Pecentage

https://www.basketball-reference.com/teams/BOS/2023/on-off/

Team Points Per Minute when Player is on the floor = (ORTG*(PACE/100) <- TEAM_PTS_PER_GM // TEAM_PTS_PER_GM/MINUTES_PER_GAME
Team Shooting Percentage when Player is on the floor
Opponent Team Points Per Minute when Player is on the floor = (DRTG*(PACE/100) <- oTEAM_PTS_PER_GM // oTEAM_PTS_PER_GM/MINUTES_PER_GAME
Opponent Team Shooting Percentage when Player is on the floor

Re: Trying to run some stats - Where Could I Get The Data?

Posted: Mon Apr 3, 2023 12:55 pm
by Colbinii
NYG wrote:Is there any site that would provide the following data for every team and every player on the roster?

Overall Team Points Per Minute


Wouldn't Team Offensive Rating be better?

Overall Team Shooting Percentage


You can go to BBref > Season > Statistics and should be able to find all 30 teams.

Team Points Per Minute when Player is on the floor
Team Shooting Percentage when Player is on the floor


You can get eFG% on BBRef on the On/Off page for each team.

Overall Opponent Team Points Per Minute
Overall Opponent Team Shooting Pecentage


You can go to BBref > Season > Statistics and should be able to find all 30 teams.

Opponent Team Points Per Minute when Player is on the floor
Opponent Team Shooting Percentage when Player is on the floor


You can get eFG% on BBRef on the On/Off page for each team.