Showing posts with label NBA. Show all posts
Showing posts with label NBA. Show all posts

Tuesday, June 10, 2014

NBA Drafting

The draft for the NBA is quickly approaching.  Much effort on the part of teams goes into selecting the correct assets in a player to complement what a team needs.  Drafts also come in on much cheaper contracts than their more veteran counterparts and are therefore desirable from a value standpoint.  It becomes increasingly important then what pick a team gets and even more so how well they select their draft pick (No. 1 or No. 2 picks not always dictating a high level of performance).  In a recent interview with Bleacher Report, the head of analytics for the Denver Nuggets spoke a little about how they evaluate draft picks.  He made some interesting comments about numbers his franchise evaluates as they consider their draft picks.  Specifically, rebounds were an important metric that was actually translated as a "hustle stat".  I looked at the numbers to see if what he was saying was actually true over the last few years.  Turns out total rebounds per game is an important metric for increasing a draft's chance of being chosen as a top five pick.

I pulled draft year stats for the past 4 years for the top 30 picks from the good people at Basketball-Reference to see if their were any metrics that increased a players chances of being a top five pick each year.  Only drafts who had college stats were used for this analysis.  I wanted to see which per game metrics changed the likelihood of a top 5 selection in the draft class.  What I found is in the decision tree below.  I divided points per game, field goal attempts per game, minutes per game, and total rebounds per game into quartiles.  I lumped the bottom two quartiles together as the "Lower Quartile" and then the "Middle Quartile" and "Upper Quartile".

Decision Tree for Top Five Draft Pick for 2009-2013

As you can see from the tree above rebounds per game not in the "Upper Quartile" have a top five selection probability of .13.  The probability of being a top five pick is .33 if the draft's points per game are in the "Lower Quartile" or in the lower 50% (average or lower) of their draft class and their rebounds per game are in the "Upper Quartile".  Alternatively, if the draft has rebounds per game in the "Lower Quartile, or less than the 50th percentile, and their points per game is in the top 50th or 75th percentile their probability of being a top five pick is only .19.  Rebounds it seems are even more important than having someone who can score in the "Upper Quartile" of a draft class on a per game basis.

Alternatively, if a draft pick gets playing time per game in the "Upper Quartile" and has "Middle Quartile" or "Lower Quartile" points per game, this also yields a probability of .33 of a top five pick.  I interpret this as, if you don't have hustle but have had a lot of playing time in college, this increases the top five pick probability.  I don't interpret minutes per game in a college season to be as meaningful as rebounds simply because minutes per game is more of a college coaching decision that may or may not be relative to player performance.  Minutes are primarily a function of performance and not a stand alone performance metric.

Rebounds matter for draft picks.  Players not showing a strong "hustle stat" have a lower probability of being a top five pick within the respective draft class, unless they have happen to have played a lot of minutes, then this also had a higher top five pick probability.  The competition, shooting distances, and rules are obviously different in the NBA from college and some of the college stats may not translate into professional performance.  That being said this analysis does indicate that the "hustle stat" or rebounds are meaningful for teams other than just the Nuggets.  High performance specifically in this metric increases the probability of being selected as a top five pick in the NBA draft.

Those interested in the R code can find most of it here.

Wednesday, May 14, 2014

NBA Playoffs 1st Round Comparison


Most people I've talked to feel like they've watched an entire NBA Playoffs series after seeing the first round of this year's playoffs.  It's been amazing basketball.  I've said before, we are watching players whose numbers resemble that of other "golden eras" of the NBA.  


The first round for the most part over the past few years has meant a few games in overtime each year.  As far as this tournament goes, the first round isn't necessarily the most competitive because of the match-ups.  Teams are "seeded" based on regular season performance in each conference and in general teams that are "seeded" further apart will not have as competitive a match up in the first round, thus the advantage to perform well in the regular season to get the 1 seed.  The western conference has had some amazing games in the first round.  Several of the games have gone into overtime.  In fact, more than the last several years combined.  


Below is a simple network of playoff games that have gone into overtime 2010-2013.  Each line indicates a series that was played and each arrow is a game.  Blue=Western, Red=Eastern, and the width of the line is the margin of victory (gotta looks closely) and the arrow points to the visitor away from the home team.  



NBA Playoffs 1st Round 2010-2013




The margin of victory for instance in the Bulls-Nets game last year was 8 points (also 3OT).  For all these games, the average margin of victory was 6 points.  Most of these games you will notice are Eastern conference teams.



NBA Playoffs 1st Round 2014



2014 has been a different story.  In just the Memphis-Thunder match up we've seen 4 games go into overtime (it's been a grind).  These two teams were very competitive and did not demonstrate in general, the match up expectations we have based on "seeding".  The average margin of victory for all these games was 3 points.  The west has been very competitive in the first round.  There have been more first round match ups that have gone into overtime than the past 4 years combined and then the margin of victory has on average been half of what the margin was 2010-2013.


Stamina.  The players for the teams that have advanced are going to need it and most of the people I've talk to need it just to watch the games.  So if you feel like you've watched an entire series, those feelings are legitimate...and we're only out of the first round.

Thursday, May 8, 2014

MVP and Speech

Kevin Durant delivered an amazing MVP acceptance speech Tuesday in Oklahoma City.  The award clearly meant much to "Mr. Reliable" as he's now called in multiple media outlets.  He went player by player through his teammates discussing some of their attributes and how they have contributed to him winning the award and making him a better player.   In general, the MVP speech isn't something that I would think in general there is a lot of expectation on.  Meaning, the public feels like you can accept the award, thank a few people, and get back to business.  That's why KDs speech was so unusual.  We can compare it to Lebron's speech this last year.  The sheer difference in length is the first difference you may notice between the two MVPs.



It is interesting to note what words were used.  I chose only the top 11 words from each player to get a sense of how they focused their speech.  Both players mentioned "guys" a lot as well as "team" which gives a sense that they were both giving credit to their teammates.  Graphed against each other, the two speeches show a bit more interesting parts in terms of the frequency of words.


"Love" for instance was a big part of Durant's speech, his communicating the way he felt about his team and those around him was really important.  His speech was about thanking people, showing his appreciation for those around him.  We can also see Durant was also concerned about being "better" and can infer from the text that those around him were the people that made him better since appreciation, love, and team were mentioned so much.  If we scale the graph to only show those words mentioned 13 times or less, we can see where some words were used several times by either player and not by the other.


Here we see "team" mentioned over 10 times by Kevin Durant and only 1 time by Lebron.  Lebron referred to his team as "guys" and we can't discern just from these words that his speech wasn't about his team.  But, it is clear just from looking at word usage that Kevin's speech was clearly more about team than Lebron's without having to listen to the speeches themselves.  Those of you who watched/listened Durant's speech understand that going player by player was a clear objective for his accepting the award and that communicating the importance of his team in the journey was a priority.

As mentioned before, this speech isn't something to have high expectations for, which is why what Durant said and how he said it was so remarkable.  

Saturday, May 3, 2014

Mr. Reliable

Earlier this week a headline came out in the Oklahoman newspaper which most know by now.  The "Mr. Unreliable" headline grabbed national attention and it was perceived this small Oklahoma City market was deriding the (arguably) No. 1 player in the NBA and likely MVP of 2014 of their own team.  The writer of the article came out and apologized for the headline he was not responsible for, and dismissed the implication that OKC perceived Kevin Durant as an "unreliable" player.

I'm not sure what the headline was getting at when it described KD as "unreliable".  Maybe "unreliable" at making free-throws in that game?  We'll probably never know fully what exactly that headline was getting at.  For Kevin Durant, he was a champ about it, didn't care, basically had the "I've got a game to play" mentality that rose above the chatter, and put up 36 points.

In terms of what reliability in an NBA player is, in general I thought about it as consistency.  Is the player consistently good or can we rely on them to perform well.  To measure where we could place KD, I took the deviation of minutes and points for the top 20 scorers in the NBA and graphed them against each other.  There are plenty of other metrics, just chose minutes and points.


As you can see, there are several players in the top 40% (top 8) whose "consistency" in minutes played and points is high (or low deviation from what they averaged for the season).  Dirk Nowitzki and Monta Ellis are the most consistent by this measurement.  But obviously this isn't a necessarily impressive stat unless we know how many points they are making or how many minutes they are playing.  Consistency or reliability isn't helpful for a team if a player is consistently bad, not that these two players are at all bad.  

Below is another graph showing the total number of minutes played and the total number of points made during the regular season.  Not totally surprisingly, KD is in another realm this season in both minutes and points compared to the other top 40%.  This is important because no one else in the top 40% of consistent players in minutes and points is in the top 40% of total minutes and points except Kevin Durant and Kevin Love.  


Kevin Durant is playing an incredible amount of time and scoring an incredible amount of points.  While doing that, he's in an elite group of "consistent" or "reliable" players.  He's not only in a top tier in terms of minutes and points reliability, but is being reliable in the most awesome way.  

Friday, April 18, 2014

The Current Golden Era of the NBA

We are in the midst of what many are calling a "golden age" of the NBA.  Being in the midst of a time where attention to the sport has seemingly increased is difficult to quantify.  For most people who have had an interest in the NBA over a long period of time, the current state of the game just "feels" like a time unlike recent years.  Awareness of the calibre of game we are witnessing is important to more fully appreciating the games and the players we get to see perform.

In the last couple of years we have seen two giants in the game emerge as contenders (Durant/Lebron) that reminds many of the Bird/Magic years.  Friendship coupled with competition in the kind of way that keeps you glued to the screen when they play.  The most valuable player (MVP) distinction, I would argue is a reasonable way to see where the game is at in terms of the quality of play in the league.  The site basketball-reference provides an enormous amount of data on the sport and is a great place to begin looking at MVP as a metric for determining the "era" of current play in the NBA.

Below is a heatmap showing different statistics gotten from the website for players that were awarded the MVP in different years.  The colors show a distribution of how the players ranked compared to eachother based on these yearly stats (Red>Blue).  On the left side of the heat map is a dendrogram showing how players could be grouped based on these stats.



The stats are total games (Games), field goal % per game (FGoalPercen), free throw % (FTPercen), assists per game (Assists), rebounds per game (Rebounds), minutes per game (Minutes), average points per game (Pts), and player age (Age).  Next we take this same dendrogram and divide players into clusters using a method (kmeans) based on the above statistics.  The red lines outline the different clusters we get when creating 5 of them.  Again these groups are based on the similarity in these stats between players.



What results is a set of data where we can see how MVPs could be grouped based on the stats in the heatmap above.  Kevin Durant hasn't been awarded the MVP yet, but let's just assume he does, and his current stats don't change at all after these 81 regular season games (this is all on a per game basis).


Clearly, cluster/group 2 or what I will call the "Golden Era Group" is the largest.  Even though some players arguable shouldn't be in this group, it's mostly comprised of players that reflective NBA watchers can agree were apart of what many have called "golden age(s)" in the NBA.  Also interesting to note are the Bill Russell and Wilt Chamberlain clusters.  In the case of Wilt Chamberlain his rebound and shooting numbers were much higher than his peers, whereas Bill Russell is placed into his own group because of his free-throw % being in the 50%-60% range...or much lower than his MVP peers.

Here are other players in the "Golden Era Group" with their Points per game against the year.  Notice how comparable Durant is to other giants in the "Golden Era", and how amazing Jordan was compared to his MVP peers.



In general, we can see that recent years' MVP awards are grouped with Bird, Magic, and Jordan.  As a proxy for measuring each players' performance in the league, measuring the performance of MVPs seems to indicate that the current level of play of the best in the NBA could be associated with these by-gone eras of greatness.  In many ways knowing that the current level of play is comparable is intuitive without looking at the numbers, just by watching the game.  In support of feeling like it's a "golden age" of the NBA there are numbers to support it.

Time for the playoffs.....

Thursday, February 20, 2014

Most Entertaining NBA Teams


In a previous post I highlighted the Thunder keeping more of their games closer (within 3 points) than anyone else in the NBA.  As the season has progressed, this has changed.  The Thunder are still in the top five of most close games as of 2/19/2014, but the Mavericks, Warriors, and Hawks have more.  If a game is close, by itself that doesn't say necessarily much about either team that was in the match-up or that their match-up is particularly good.  This isn't necessarily indicative of the ability of teams (more close games=better team or vice versa), but I think it does indicate entertainment value of the games or stress incurred by fans.  Below is a bar graph showing each team and how many games they have had that ended with each team being within 3 or less points.


The network below shows who the match-ups were with.  Again, the Pacers having only 3 games within 3 points isn't indicative of their current No. 2 rank at 41-13.




























Here I'll propose a metric that attempts to capture the entertainment value of the games a team plays, with a few assumptions:  we are more entertained the more teams win and close games are fun to watch.  Below shows a graph with close games against total wins of a team.  The points are sized according to a "team entertainment" metric or (No. Close Games/Season Losses).  This communicates a team's ability to win as well as to provide entertaining games along the way (close games being entertaining).


























The Thunder rank the highest on this metric with the Trail Blazers, Heat, Warriors, and Mavericks also ranking high.  Arguably, this makes the Thunder the most entertaining team to watch...at least this far in the season.

Saturday, December 7, 2013

OKC Thunder: Too close for comfort?

The Thunder this season have already played some pretty exciting/anxiety-causing basketball.  Not just the excitement of watching new and old players return to the court, but the games seem to have been back-to-back nail-biting.  Peering around on the data from the good people at basketball reference, I wanted to see if this feeling actually was supported by data comparing this season so far to last season.  What better way to visualize it than with the rgexf package in R.

So this season the Thunder have had some close games.  So have many other teams in the West.  Most pundits can agree the West is stacked and there are a lot more close games to come.  But what is interesting is that so far the Thunder have had way more games than last season where the point differential between the two teams is 3 or less.  In fact as of 12/4/2013 they have the most in the NBA.
















Here is a visualization of the match-ups.  2012 the Thunder had two by early December:  Pistons and Spurs. We have had two games with the Warriors within 3 already (as most may recall).  Also interesting to note where western teams are when comparing 2012 to 2013 so far.  In general it will be interesting to see how this year pans out with this season starting out this way.  OKC fans have been biting their nails this season....perhaps more than any other fans and definitely more than last season around this time.  So in general fans...the data supports the emotion :-)

*Few notes on the networks:  Thunder away games are in blue, Thunder home in black along with every other NBA game.  Warriors had two games against the Thunder in 2013 but only one edge represented in the network (sorry couldn't work that one out).  

2012 Match-ups within 3 
2013 Match-ups within 3