My stats page
<snip>
Basically, you're looking for the "best-fit" line right?
Unfortunately, statistics and graphs aren't my strong suit, so we're
screwed (the only way I got an A- in statistics was blind stupid luck).
I'm sure it'd be easier to do in a math package than Excel, if it's even
possible to do (easily) within Excel.
<snip>
The ideal thing would be getting the gamelogs, and calculating the stats
from those (then I could get all the normal stuff, plus stupid things like
lineup stats (like that URL you gave earlier), or average passes per
possession, or meta-assists (passes to the person who gets the assist, or
passes to someone who draws a foul and makes a free throw), exact number
of possessions, etc.). I'd store this in a database of course. Then I
could run queries on it, finding league averages in things like average
time before taking a shot per possession, etc. The fun part of this one,
besides the parsing, would be having some natural language parser for
querying...
Barring that, the next ideal way would be to download the boxscores,
record the info in a database permanently (so I'd only have to download at
most 15 pages per day), and then calculate the stats from there (including
defensive stats which I don't have now). Then I could run queries on it,
like top 5 Manley Credit games in November (you know, the relevant
stuff).
The worst case scenario is tweaking the script as-is and making sure it works
this year.
My guess is I'll do the middle one, but I won't have time for a few weeks
to work on it at best, probably longer.
--
Ron Coscorrosa
http://coscorrosa.com
|