Blog Stats by Numbers

Processing Data, New Scores And Schedule Pages, And The Story Of Stats By Numbers

Written By Bobby Oster

Processing Data

I said that I’d give an update when I was about a week into the process of getting the old data launched back on the site. We’ve finished compiling all of the data necessary to run our game simulators and crank through all the statistics. It turns out that there were about 1.64 million plays and 90,524 player box score line entries over the course of the last three seasons. Right now, we’re in the middle of categorizing and processing data on these plays so that we can give you the advanced box scores and play by plays that were on the site before.

New Scores And Schedule Pages

In the meantime, the site has been updated with the new scores page:

Updated Scores Page

The updated scores page with a weekly carousel and date selector.

This is a huge improvement over the previous incarnation of the page, where you could only move to and from the previous days games.  For a frame of reference, here is a screenshot of the old interface:

Old Scores Page

The old scores page that was pretty sparse and made it difficult to get to a specific date.

Finally, we’ve separated the scores page from the schedule in order to create a few ways to get at the information you’re looking to find. The schedule will contain all the game for a season, sortable by month. The scores page will contain the latest box scores and play by plays that we have on the site after we finish processing data for that day.

Updated Schedule Page

The improved format for the schedule page with games viewable by month.

Origins Of Stats By Numbers

While we’re still processing data for the start of the season, I thought I’d take the time to share more about the origins of Stats by Numbers. The site started with my own desire to access statistics that weren’t readily available. It was the 2006-2007 season and Lakers were being crushed by the Suns in the 1st round playoff series. The consensus among the media and fans was that Lamar wasn’t the Robin that Kobe’s Batman needed. I remember thinking this was totally off base as their two-man statistics were great in the 2005-2006 and 2006-2007 series. LO averaged 19+ PTS, 12 REB, 3.5 AST, and 1+ BLK per game over the course of the playoffs. Not that bad for a second option; it was the rest of the team that was lacking. In order to make my point, I remember coming up with a crazy Excel spreadsheet that had all the game performances and splits – so I could bolster my case that Lamar wasn’t the cause of the problem. I spent a great deal of time processing data and getting my numbers put together, but I still didn’t have them organized in a way that I could really do anything with them.

At the time, I thought to myself that it was silly that there wasn’t a better way for me to access the statistics that I wanted; this was the genesis of Stats by Numbers. I started tracking game data in a database instead of a spreadsheet and that is when things changed. I realized that there was a wealth of basketball statistics available that weren’t being processed. The data was right there, but no one was doing anything with it. One of my biggest pet peeves is the possessions equation:

0.5 * ((Tm FGA + 0.4 * Tm FTA – 1.07 * (Tm ORB / (Tm ORB + Opp DRB)) * (Tm FGA – Tm FG) + Tm TOV) + (Opp FGA + 0.4 * Opp FTA – 1.07 * (Opp ORB / (Opp ORB + Tm DRB)) * (Opp FGA – Opp FG) + Opp TOV))

Look at all that nonsense. Really!? The number of possessions that a team has each game is a very calculable thing – you just count how many possessions each team has based on the play by play. The Possessions statistic has been available since the 1970s and I think that is part of the reason that they use an estimate; back then, you couldn’t exactly parse the play by play to find out the real number of possessions.  With the amount of information and processing power available today, there is no reason to estimate a statistic that you can calculate and know with certainty.

The goal of Stats by Numbers is to provide a new set of raw statistics that can be used to derive a better understanding of basketball. I hope that by providing the stats and splits I myself was looking for, I can provide that same information to others who want to use it. By creating a set of new stats like Time of Possession and tracking the actual number of Possessions, you can also come up with interesting new derived stats like Average Time Per Possession. There is one somewhat big – not so new – idea that I have for the site for this season. I’m keeping it under wraps until we get closer to the start of the season, but rest assured it will be a new take on a way to measure performance. That’s all for now…back to processing data for the 1.64 million plays.

Stats List Published For Players and Teams

Written By Bobby Oster

I’ve been able to work throughout the weekend and get the stats list published for players and teams.

Updated Stats Page

The updated stats page with descriptions for every statistic.

If any of the statistics in the stats list don’t make sense, or if you have any questions – please email and let us know! You can view the complete lists with the links below (click on the different categories to see the complete stats list):

In addition to the box score and play by play game views, you will also be able to view the game, daily, and season totals of each statistic for a player. Each of the stats will be ranked against the other players that in that game, players for that day, or players that played that season. There are actually a few less statistics than there were on the previous site – although, they will be getting added back over time. The current count is 456 unique NBA statistics, with many of those being exclusively found at Stats by Numbers.

Some of the exclusive stats you’ll find here are shot types; not only do we track a players field goal and free throw percentage, we also track their jump shots, hook shots, layups, dunks, tip shots, and of course 3-point field goals.  Tracking these stats lets us take a look at just how many of Dwight Howard’s points come from dunks, or how many layups Derrick Rose makes.  We also dive deeper into some of the standard statistics categories like free throws, assists, and blocks.  Want to know how many 3-point play free throws Kobe Bryant takes?  How about the number of dunk assists LeBron James dishes out?  We track all of those statistics and many more.  Finally, we also have a set of stats that you will only find here such as jumpballs, chance points, and time of possession.  Check out our stats list and let us know what you think via twitter @StatsByNumbers.

The next stage in the process of the getting the site relaunched is to get the data for the 2009-2010 season back up on the site. This involves running our game simulator again to track all of the stats and create our box score and play by play views. This may take a couple weeks, but I will post an update in about a week on the status. In other NBA news, it is now less than 50 days until the start of the 2012-2013 season!

Returning For The NBA 2012-2013 Season

Written By Bobby Oster

Welcome to the new and improved Stats by Numbers, returning for the NBA 2012-2013 season. If you haven’t noticed or are new to the site, it has undergone a dramatic change over the course of the last week. Since I’m both a fan and the developer of the site, I’ll break down what is going on with an imaginary conversation between myself and…myself:

Updated Teams Page

The updated team selection page, returning for the 2012-2013 season.

Fan Bobby: “WTF! You took all the stats off the site and made it useless!”

Developer Bobby: “I know, that sucks. I’m sorry – but it’s a change that is necessary to get the site ready for the new season! You want new stats right?”

Fan Bobby: “Yea, new stats would be nice. Not updating the site over the last couple years was pretty whack. Is it going to be easier to find stuff?”

Developer Bobby: “That is definitely the goal of the new site – to deliver more stats in a more meaningful way. There are still going to be a bunch of different splits like starter versus bench statistics, and you’ll also be able to view the stats by different periods like just 1st half assists or 4th quarter scoring.”

Fan Bobby: “I liked it before but it was way too complicated to get to anything so I mainly looked at the box scores, play by plays, and leaderboards.  Are you still going to have those?”

Developer Bobby: “Those were some of the most popular pages and they will be coming back in a new improved visual form. The most important part to getting those pages working is getting the data up to date.”

Fan Bobby: “What’s the deal with that? It isn’t exactly the 2009-2010 playoffs anymore – why haven’t there been any updates to the site?”

Developer Bobby: “Since all of the statistics that are presented on Stats by Numbers are generated using our own basketball game simulator technology that tracks and calculates stats, it can be a difficult task keeping the data up to date. That is going to change as there is now a new system for data acquisition and processing that is going into effect this season. Using the new system, the plan is to have game data available the following morning after the games occur.”

Fan Bobby: “Wow, that sounds great and very complicated!”

Developer Bobby: “It is. We’ll see how well it works and it will continue to evolve as the season goes on. The other major change is that the only range that will be tracked for rankings for the time being are: daily and season.”

Fan Bobby: “That’s all I really cared about anyway, the other ones-”

Developer Bobby: “-will be coming back. They haven’t gone forever, they have just been put on the back burner until the data is updated consistently and daily. The number one priority is being able to process new games on a daily basis.”

Fan Bobby: “Alright, that seems like a reasonable goal. So what is there new now?”

Developer Bobby: “Did you see that the Nets moved to Brooklyn and changed their colors to black and white. They’re now the only two color team in the league! You can still see all the pretty colors from the team history on their page.”

Fan Bobby: “So that’s it? Pretty colors.”

Developer Bobby: “I’m trying here. I did add the blog and will continue to add more content as it gets finished.”

Fan Bobby: “Okay, what’s next? Something good right – not some paint swatches.”

Developer Bobby: “Next up is the complete list of stats!”

Fan Bobby: “Given your rate of updates, I’m not holding my breath. I’ll believe when I see it.”

Developer Bobby: “No, really! It’s coming soon.”

Fan Bobby: “You have one week before I start getting impatient.”

Developer Bobby: “Fair enough.”

Stats by Numbers: Site Update

Written By Bobby Oster

Well, I thought it was about time for an update on the site since it’s been almost two years since my last post. As you can gather from the front page, there haven’t been any updates to the data since the 2010 NBA Playoffs. That isn’t to say that I haven’t been working on building cool sports products in the meantime – I’ve just been doing it at a different place.

Shortly after I launched Stats by Numbers I began working with As what generally happens with sites like this (building/writing/contributing to a site is one of the best ways to break into the industry) I started doing sports statistics work full time.

You can check out – specifically the NBA section – to get the latest and greatest analysis and statistics for: NBA, College Basketball, NFL, College Football, and MLB. You can find me listed under the Meet the Nerds section of the site.

Just because Stats by Numbers is on hold doesn’t mean that I’m not still making cool new NBA web products. We just recently released our 2012 NBA Playoffs section at where we breakdown all the first round series matchups. Once the playoffs finish, new content will be added to the site.

Thanks for visting!

2009-2010 ECF – Game 1 : What Happened?

Written By Bobby Oster

In the first game of the Eastern Conference Finals, the Orlando Magic experienced their first proverbial punch to the gut. Up to now, the competition that they had faced hadn’t been able to fully test the team; even before the playoffs began, they hadn’t experienced a loss since the beginning of April. The good news, for Magic fans, is that the team was able to come back from a 20 point deficit and play an inspired 4th quarter to make the game seem like it was competitive in the end. The bad news is that the Celtics never trailed in the game and were incredibly effective at shutting down the Orlando offense.

“I didn’t think that we played with either great energy or very good focus…”

-Stan Van Gundy

The Celtics put on the pressure from the outset quickly earning a 9-5 advantage in the first three minutes of the game. By the end of the first period, the lead had ballooned to eight and it was beginning to look like the Magic were going to let the game get out of hand. After Rasheed Wallace drained a three at 9:44 in the second quarter, Stan Van Gundy called a timeout to stop the bleeding and refocus his team. The pep talk seemed to work as the Magic went on to rally back to within a three point deficit, bringing the score to 43-40.

At this point, Doc Rivers, sensing that his team was about to let the strong road lead they’d built up slip away, called a timeout to attempt to right the ship. Whatever he said to his team inspired them immediately; as if a switch had been flipped, Kevin Garnett and Paul Pierce drained three straight perimeter shots to push the Celtics lead back to eight. In the next series of plays, the Magic watched all the gains they’d made disappear: Pierce three made freethrows, Rondo made bank jumper, Allen made three, Timeout Magic.

“We’re not giving ourselves a chance to win with 18 turnovers.”

-Stan Van Gundy

Despite the fact that the Magic had eighteen turnovers in the game, it was their lack of offense that contributed most to their loss. The Celtics relied on team offense to get easy looks putting up a 21-10 assist advantage. Three point shooting had been a staple for the Magic this post season accounting for 33.04% of their total points – more than any other team. However, when facing the Celtics defense, the Magic were only able to make 22.73% of their threes, well below their 38.36% post season average. Dwight Howard had an especially rough game, struggling to establish a post presence (3-10 FG, 58.33 FT%) and scoring only one field goal in the first half.

“Nothing will come easy in this series.”

-Stan Van Gundy

In order to get back into the series, the Magic are going to need to exhibit significantly more energy and effort than they showed in the first game. For the Celtics, who’ve already taken away home court advantage, a win tonight would put the Magic into a spot they probably couldn’t recover from. With their post season aspirations likely on the line, will the Magic be able to bounce back and even the series?

2009-2010 Mid Post Season Awards

Written By Bobby Oster

We’ve reached the point in the post season where the contenders have separated themselves from the pretenders and players have made a name for themselves through persistent performance. The playoffs are a time for the greatest athletes to further establish themselves as dominate over their peers and earn a place in NBA history. With the four remaining conference finalists decided, I present the Mid Post Season Awards:

The Sharpshooter

Winner :: Rashard Lewis

Total 294:56.3 47-87 15-22 7-11 24-52 13-15 131
Per Game 36:52.0 5.9-10.9 1.9-2.8 0.9-1.4 3-6.5 1.6-1.9 16.38
54.02% 68.18% 63.64% 46.15% 86.67%

When the playoffs start, a shooter knows that they have only one job: make baskets. Contracts can live or die by the results of an athlete when it matters most, on the biggest stage of all. To this point, Lewis has exemplified everything you could want from a shooter this post season. Not only is he scoring 16.38 ppg and shooting 54.02% from the field, he also leads active post season jump shooters at 68.18% on 2.75 attempts a game. What’s more impressive is that the only stat bringing down his shooting percentage is his 46.15% three percentage, good for third amongst the top 20 players in three shot attempts. Just for good measure, he is shooting a stellar 86.67% free throw percentage on 13 of 15 attempts, rounding out an efficient first half of the post season.

Honorable Mention:

Per Game Min FG% JP% LY% 3P% FT% PTS
Jason Richardson 33:01.0 50.99% 28.95% 64.86% 51.52% 77.5% 21.9
Jameer Nelson 33:19.3 51.85% 54.55% 66.67% 40.43% 80.49% 20.5
Ray Allen 37:04.1 46.85% 46.51% 53.85% 42.47% 81.25% 17.36
Dirk Nowitzki 38:50.5 54.72% 51.19% 73.33% 57.14% 95.24% 26.67

The Bruiser

Winner :: Dwight Howard

Total 254:49.5 31 22 68 90 38 28 123
Per Game 31:51.2 3.88 2.75 8.5 11.25 4.75 3.5 15.38

Have you ever been playing a pickup game, and you’re standing below the basket with great position, and all of a sudden this hefty, hustle guy pushes his way in, steals your position and grabs your rebound? With either overwhelming size or strength, the big men on this list have made a name for themselves with their aggressive play this post season. Despite being limited to around 32 minutes per game due to foul trouble, Howard has been a dominating force in the paint with a league leading 31 blocks in only eight games. How does that compare to the competition? The next blocker on the list, Andrew Bynum, has only 20 blocks on an additional 24 minutes of play. Howard is also collecting 11.25 boards a game, 2nd amongst active players, and leads all starters with 14.13 rebounds per 40 minutes. He isn’t limited to only being a defensive enforcer either, he also ranks third in dunk points at 3.5 a game and first in scoring for all Centers.

Honorable Mention:

Joakim Noah 37:37.8 1.4 4 9 13 4 2.4 14.8
Josh Smith 35:38.7 1.73 3.36 5.64 9 2.73 2.36 14.09
Pau Gasol 37:36.8 1.9 4.2 8.9 13.1 2.3 1.6 20.2
Andrew Bynum 27:48.5 2 2.7 6.2 8.9 2.3 3.8 10.3

The Sixth Man

Winner :: Lamar Odom

Total 269:08.9 32-72 81 18 14 4 9 85
Per Game 26:54.9 3.2-7.2 8.1 1.8 1.4 0.4 0.9 8.5
44.44% 2 AST:TO | 1.1806 PTS:FGA

Coming off the bench can be a difficult proposition for a player, it usually means you’re an up-and-comer or have already seen the best time in your career. It takes a special type of player to be able to check their ego and take on the responsibility of leading the second unit. This can become even harder in the playoffs when rotations shorten and bench players are asked to step up and prove their value. Odom has been the most productive bench player this post season, giving a starter caliber contribution when he takes the court. His 8.5 PPG places him third for active bench players, but it’s his impact in other categories that show his true value. He leads all active bench players in rebounding and blocks, while at the same time dishing the ball as a point forward for 2 assists per turnover and coming in 7th in bench assists overall.

Honorable Mention:

Tony Allen 18:25.2 53.45% 2.36 0.73 0.64 1.45 1 7.45
Kyle Korver 21:01.3 52.46% 1.1 1.3 0 0.5 2.2 8.3
Goran Dragic 14:17.2 43.55% 1.6 2 0.1 0.2 1.1 7.7
Mickael Pietrus 22:03.9 46.3% 1.88 1 0.5 0.63 1.88 10.25

The Most Dominant Team

Winner :: Orlando Magic

W-L Time w/ Lead Time Trailed* REB +/- PTS +/- PTS
Total 8-0 312:26.2 59:15.8 41 138 808
Per Game 39:03.3 7:24.5 5.125 17.25 101
* Time Trailed = Opposing Team (Time w/ Lead – Time Tied w/ Lead)

This award is a no-brainer. There is no other team that even comes close to matching the dominance of the Magic this post season. Their undefeated record doesn’t tell the whole tale of how they’ve cruised through the playoffs so far. Their starters have yet to take the floor and lose a point, with all five putting up positive PTS +/- in every game this post season. The 17.25 point margin of victory is nearly double the next team. They have two wire-to-wire victories in their last two games, both away. They also lead all teams in REB +/-, proving that they have the heart to gain the edge. The Magic are on a mission and they’ve shown that up to this point, no one can match their intensity and drive.

Honorable Mention:

Phoenix Suns

W-L Time w/ Lead Time Trailed* REB +/- PTS +/- PTS
Total 8-2 302:57.1 152:08.8 28 99 1058
Per Game 30:17.7 15:12.9 2.8 9.9 105.8
* Time Trailed = Opposing Team (Time w/ Lead – Time Tied w/ Lead)

The Most Valuable Player

Winner :: Rajon Rondo

Total 460:53.8 74-151 29-68 34-62 6-15 44-62 122 69 23 1 79 198
Per Game 41:54.0 6.7-13.7 2.6-6.2 3.1-5.6 0.5-1.4 4-5.6 11.09 6.27 2.09 0.09 7.18 18
49.01% 42.65% 54.84% 40% 70.97% 3.2973 AST:TO | 1.3113 PTS:FGA

Nothing speaks louder than the game 4 performance Rondo had against the Cavaliers. When faced with the prospect of going down 3-1 and meeting certain defeat, Rondo put up the best performance of his brief playoff career: 29 PTS, 18 REB, 13 AST, 2 STL, 4 TO. Mike Brown promised to not let him have his way with the team again; someone forget to tell Rondo when he was shooting 58.33% in game 5, quarterbacking the Celtics to the lead for nearly 31 minutes. He leads all players in assists with 11.09 a game and is third in steals with 2.09. However, it isn’t just Rondo’s raw statistics that make him the most valuable, it’s his ability to step up to the occasion in the big games. To paraphrase Kevin Garnett in his post game interview at the end of game 6 “At some point in the series we had to adjust to Rondo taking over the team…”. Rondo has taken control and become the leader of the Celtics this post season, earning his spot as the MVP of the first half of the playoffs.

Honorable Mention:

Per Game Min FG% JP% LY% 3P% FT% AST REB STL BLK PTS +/- PTS
Jameer Nelson 33:19.3 51.85% 54.55% 66.67% 40.43% 80.49% 5.25 2.63 1.63 0 14.75 20.5
Pau Gasol 37:36.8 56.39% 49.15% 56.52% 0% 80% 3.3 13.1 0.3 1.9 4.7 20.2
Steve Nash 34:02.5 51.24% 44.12% 75% 46.43% 89.13% 9 3.1 0.3 0 9.2 17.8

Copyright © 2010-2012 Stats by Numbers