« Scraping from NFL.com | Main | John Kitna versus the World »

July 25, 2008

The Week Score (by position)

Using my game-by-game data (all games since 2001), the first statistic I set out to determine was a week-by-week comparison of how every player compared with every other player. Using total fantasy football points (using the Yahoo! rules) as an index, I was able generate a z-index (standard score). Mathematically, the stat works like this

For every player in every game, we can loop through and generate the z-value. Our population sample used is every other game played by other players at the same position.

For example, here's the week 5 of 2007 top 5 players:

+-------------+----------+---------------+------+--------+--------+
| name        | position | pop_score_pos | week | season | points |
+-------------+----------+---------------+------+--------+--------+
| T. Brady    | qb       |          1.78 |    5 |   2007 |     27 | 
| P. Rivers   | qb       |          1.11 |    5 |   2007 |     21 | 
| G. Frerotte | qb       |          1.11 |    5 |   2007 |     21 | 
| J. Campbell | qb       |          1.00 |    5 |   2007 |     20 | 
| P. Manning  | qb       |          0.78 |    5 |   2007 |     18 | 
+-------------+----------+---------------+------+--------+--------+
5 rows in set (0.05 sec)

And here's the bottom five:

+---------------+----------+---------------+------+--------+--------+
| name          | position | pop_score_pos | week | season | points |
+---------------+----------+---------------+------+--------+--------+
| V. Young      | qb       |         -1.34 |    5 |   2007 |     -1 | 
| B. Gradkowski | qb       |         -1.34 |    5 |   2007 |     -1 | 
| B. Leftwich   | qb       |         -1.34 |    5 |   2007 |     -1 | 
| B. Volek      | qb       |         -1.23 |    5 |   2007 |      0 | 
| J. Kitna      | qb       |         -1.23 |    5 |   2007 |      0 | 
+---------------+----------+---------------+------+--------+--------+

This stat (which I refer to as pop_score_pos) tells me on a week-by-week basis how a player performed compared to a large population of all past games. I think this might be the most valuable when looking at how a player performs against a given team (which I'll cover in a future post)

Posted by haydenth at July 25, 2008 11:08 PM

Comments

Login to leave a comment. Create a new account.