Search found 50 matches

by kpascual
Thu Jan 23, 2014 4:36 pm
Forum: APBRmetrics
Topic: Talking about data acquisition
Replies: 43
Views: 39797

Re: Talking about data acquisition

Most of the time it's easy to figure out who's on the court. For the times you don't know, or if you have conflicts, you can figure out pretty well who was playing at a given moment in the game using the stats.nba.com API. Just tweak the StartRange and EndRange to the appropriate time (it's based on...
by kpascual
Sun Nov 17, 2013 12:21 am
Forum: APBRmetrics
Topic: Location Charting Tool - Rebounds, Assists, Fouls
Replies: 1
Views: 3002

Location Charting Tool - Rebounds, Assists, Fouls

I've spent the last few weeks prototyping a charting tool. As a first step, I created a tool that allows you to append the location of a rebound, assist, or foul for a given entry in an NBA game's public play by play data. Here's the tool for the Heat-Mavs game on 11/15: http://vorped.com/bball/inde...
by kpascual
Tue Oct 01, 2013 4:08 pm
Forum: APBRmetrics
Topic: Dataset: NBA Attendance by Game
Replies: 3
Views: 4535

Re: Dataset: NBA Attendance by Game

I'm missing 5 games. But regardless, here's the 2012-2013 regular season. date,away,home,attendance 2012-10-30,DAL,LAL,18997 2012-10-30,WAS,CLE,20562 2012-10-30,BOS,MIA,20296 2012-10-31,MEM,LAC,19060 2012-10-31,SA,NO,15358 2012-10-31,DAL,UTA,17634 2012-10-31,DEN,PHI,19101 2012-10-31,HOU,DET,16646 20...
by kpascual
Tue Sep 10, 2013 3:31 pm
Forum: APBRmetrics
Topic: Play by Play entry tool prototype
Replies: 3
Views: 4908

Re: Play by Play entry tool prototype

I stumbled upon your site and have to say it is quite impressive. Have you read Basketball on Paper by Dean Oliver before? It covers this pretty well and I love your idea of setting it up like this. You could include which zone the player shot from at the end of the line. If you haven't read the bo...
by kpascual
Wed Sep 04, 2013 4:15 pm
Forum: APBRmetrics
Topic: Play by Play entry tool prototype
Replies: 3
Views: 4908

Play by Play entry tool prototype

I've been prototyping a play by play data entry tool, primarily because I thought we haven't been capturing enough useful data (publicly) to do more interesting kinds of data analysis. I couldn't find many existing tools, so I selfishly created one for myself. I would LOVE feedback, because I have n...
by kpascual
Wed Aug 14, 2013 6:32 am
Forum: APBRmetrics
Topic: Zone Location Shot Chart
Replies: 3
Views: 5429

Re: Zone Location Shot Chart

https://www.dropbox.com/s/78mhp7k4h91f7lp/ncaa_men.svg

I'm assuming you mean men's NCAA basketball court. I'm also curious, what do you need it for?
by kpascual
Thu Aug 08, 2013 2:52 pm
Forum: APBRmetrics
Topic: Expected Value by Shot Location
Replies: 12
Views: 10783

Re: Expected Value by Shot Location

kpascual, Thanks for this fascinating breakdown. Do the posted expected values (points per shot) incorporate the free throws that ensue (probabilistically) as a consequence of shot attempts and shot types from these various locations? If not, do you have the capability of computing and posting a si...
by kpascual
Thu Aug 08, 2013 2:41 pm
Forum: APBRmetrics
Topic: Web Scrapers
Replies: 5
Views: 7860

Re: Web Scrapers

My scraper is open-source: https://github.com/kpascual/nbascrape

I believe I need to update the SQL schema, otherwise an error gets thrown, but once done it should work pretty easily.
by kpascual
Fri Jul 19, 2013 6:30 am
Forum: APBRmetrics
Topic: Expected Value by Shot Location
Replies: 12
Views: 10783

Re: Expected Value by Shot Location

Uh, I don't know how you get the last two data points from public data. The first two you can. Here's what's in my dev database, which has like 2 years of data or something. Shotzones are defined in the 82games style (1-5 = 3pointers, 6-10 long twos, 11-14 paint), all via NBA.com. | shot_type | shot...
by kpascual
Mon Jun 10, 2013 5:54 am
Forum: APBRmetrics
Topic: Talking about data acquisition
Replies: 43
Views: 39797

Re: Talking about data acquisition

Hi all, I'm a long-time casual reader, but this is my first post. Looking forward to joining the online community. kpascual, you gave this link for http://stats.nba.com/stats/playbyplay?GameID=0021000001&StartPeriod=0&EndPeriod=10. Can you explain how you accessed the page in that format? T...
by kpascual
Sun Jun 09, 2013 6:03 pm
Forum: APBRmetrics
Topic: Talking about data acquisition
Replies: 43
Views: 39797

Re: Talking about data acquisition

Here are my thoughts on the subject of all the hard work in data collection.... Yes, it's true that most of the work that goes into adjusted +/- is working with play by play data and organizing into something workable. It takes skill, time, and patience to do that. The results are extremely valuabl...
by kpascual
Mon May 27, 2013 3:44 am
Forum: APBRmetrics
Topic: Basketball Play-By-Play Analysis Using EventFlow
Replies: 10
Views: 8430

Re: Basketball Play-By-Play Analysis Using EventFlow

Hi Megan, That's a nice tool you've created. There are a few sites that have attempted to do play by play visualization, like NBAGraphs, Popcorn Machine. I've tried myself. I think the challenge with this kind of visualization is representing the game events in an easy-to-understand manner. The colo...
by kpascual
Thu May 16, 2013 8:29 pm
Forum: APBRmetrics
Topic: Demystifying Ridge Regression
Replies: 38
Views: 36358

Re: Demystifying Ridge Regression

My question wasn't about the stat or the statistical method itself, I understand how regularized regression works. It's really about model selection within the context of communicating it to another person so that they do something with it. Applied statistics, I suppose. It's my opinion that a simpl...
by kpascual
Thu May 16, 2013 8:39 am
Forum: APBRmetrics
Topic: Demystifying Ridge Regression
Replies: 38
Views: 36358

Re: Demystifying Ridge Regression

Is ridge regression "better" than a relatively simpler model? And by "better", I'm thinking not just in terms of predictive power, but also explain-ability. I'm sure you could prove that a ridge-regressed model has lower error/is more predictive than a vanilla OLS or even simpler...
by kpascual
Sun May 05, 2013 1:03 am
Forum: APBRmetrics
Topic: Talking about data acquisition
Replies: 43
Views: 39797

Re: Talking about data acquisition

The play by play data does exist. NBA.com has play by play data for 1997-2000. But someone has to parse out the pbp data so that there can be a APM/RAPM analysis done for the 97-2000 seaons. If it exists and you know where it is, why can't that someone be you? I'll quote DJ Patil in saying "80...