Advanced Stats for Basketball

Below are all the posts from June 2008. Click here to view all posts.

June 12, 2008


Posted by Eli in Other

I’ve got good news and bad news. The good news is that I’ve accepted an offer to work for an NBA team doing statistical analysis along the lines of the work I’ve posted on this site. The bad news is that the future research I do will be just for that team and won’t be something that I can publish and share with everyone (even Amir Johnson himself!).

So for the foreseeable future, I won’t be posting any of my original basketball research on this blog. My old posts will still be here, the links page will still be here (I’ll try to keep it updated), and I still may make occasional blog posts on other topics (perhaps just linking to other people’s work).

Thanks to everyone who has posted comments or sent me emails regarding past posts. And going forward if anyone has any thoughts or questions about old posts feel free to comment or email and I’ll try to respond.

June 3, 2008

Offensive and Defensive Adjusted Plus/Minus

Posted by Eli in Advanced Stats, Plus/Minus

I mentioned in my last post on calculating adjusted plus/minus that the next thing I wanted to do was split it into offensive and defensive adjusted plus/minus. Lior and Cherokee_ACB had some good suggestions about how to do that in the comments, but first I wanted to see if I could replicate Dan Rosenbaum’s original methodology. This was a little tricky because Dan didn’t spell out his process in detail, but after some trial and error I think I’ve been able to duplicate what he did. As a result, I’m able to calculate 2007-08 player rankings for offensive and defensive adjusted plus/minus, metrics that have not been available publicly since Rosenbaum last presented them in 2005.

(Read More…)

June 1, 2008

Calculating Adjusted Plus/Minus

Posted by Eli in Advanced Stats, Plus/Minus

Adjusted plus/minus is a way of rating players first developed by Wayne Winston and Jeff Sagarin in the form of their WINVAL system (more here). The basic idea is simple. For each player, it starts with the team’s average point differential for each possession when they are on the court (sometimes referred to as the player’s on-court plus/minus). This gives a number showing how effective the player’s team was when they were in the game. The problem with using this to evaluate individual players is that it is biased in favor of players who play alongside great teammates (and players who play against weak opponents). This can be seen by looking at the 2007-08 leaders in on-court plus/minus, which can be seen here (the Overall Rtg, On column) or here (the On Court/Off Court, On column). Kendrick Perkins rode his teammates’ coattails to the second highest mark in the league. Adjusted plus/minus uses regression analysis to control for these biases by controlling for the quality of the teammates a player played with and the opponents he played against.

That sounds easy enough, but it’s actually kind of complicated, and the specifics of WINVAL were never made public (Mark Cuban reportedly was paying a handsome sum to use the system for the Mavs). Thankfully, in 2004 Dan Rosenbaum spelled out the details of the methodology in an article. He called his version adjusted plus/minus, and released a series of analyses using the metric (here and here). Eventually Dan was hired to consult for the Cleveland Cavaliers, but because he had spelled out the methodology others were able to duplicate his work for future seasons. David Lewin published rankings for the 2004-05 and 2005-06 seasons, and Steve Ilardi and Aaron Barzilai have done the same for the 2006-07 and 2007-08 seasons (up-to-date ratings can be found here).

I always wanted to try to calculate adjusted plus/minus on my own, but I was intimidated. I figured that I didn’t know enough about running regressions and that I didn’t have the data, software, or computing power to run such a large analysis. But I finally sat down and tried to do it a few days ago, and I discovered that it’s not that difficult. Using Dan Rosenbaum’s description of his method, publicly available data from BasketballValue, Excel 2007, and the free statistics program R, I was able to set up and run the whole thing in less than an hour. Here’s how I did it.

(Read More…)