Saturday, April 2, 2011

Run / Pass Play Selection: First Down (Part 2)

As I talked about in my previous post, the run / pass play ratio (for first down, as you can read in the title) depends on field position, time remaining, and point spread.  The field position aspect seems to vary pretty independently; no matter what was the point spread or time remaining, the run / pass play ratio was pretty much that curve you can see below.  Time remaining was only a factor in the second half, and for the last two minutes of the first half.  Also, the relationship of the run / pass play ratio to the point spread depended on time remaining (but again, only in the second half and final two minutes of the first).  If you look at all the curves in my previous post, 0.50 is the midpoint of everything, midfield, 0 point spread, lazy time in the first half, so my predicted run / pass play ratio (for a given scenario) started there.  So through trial and error, here's the model I came up with:

First Half
Predicted Run / Pass Play Ratio = 0.5 + f(Field Position Factor) + f(Point Spread)

Second Half (and Last Two Minutes of the First)
Predicted Run / Pass Play Ratio = 0.5 + f(Field Position Factor) + f(Time Remaining, Point Spread)

f(Field Position Factor) and f(Time Remaining, Point Spread) were both second-order functions.  If anyone's really interested I can show the numbers.

So the question I posed last time was, do run plays work better in pass scenarios, and vice versa?  I have a graph below, showing the average and median run yardage, plotted up against the predicted run / pass play ratio (from all my formulas above).

Run plays work a bit better in passing scenarios (and a bit worse in running scenarios), but it's not an overall strong bias.  And you can see why I included both average and median run yardage per play, averages are universally higher than median values.  It's pretty easy to understand, long-yardage runs weight the average higher.  So while on average the yards per run play is around 4-5 yards, the odds that a run play is going to be longer than 3 yards is about 50/50.  The sheer bias demonstrated above leads me to believe that average yard-per-play is kind of a meaningless statistic.  I mean, think about it this way: say it's third down with 2 yards to go.  The average run yardage is, let's say, 4 yards.  Hey, a pretty good chance at a first down.  However, that average run yardage is based on a bunch of plays that go 1 yard, and a handful of plays that go much longer.  So, on average, your run play will go 4 yards, but that's not the same thing as saying that, yes, on average, you'll convert the third down.

For pass plays, I have two graphs, one is the incompletion rate (per predicted run/ pass play ratio), and the other is average and median pass yardage, assuming it's a completed pass.

The behavior is a little different for pass plays; the success of a pass play doesn't get that worse in passing scenarios, just more chaotic.  In running scenarios, I assume that teams aren't going for long passes. Below I combine the two graphs, average and median pass yardages (assuming, of course, that an incomplete pass is 0 yards).

So if you kind of squint at the data, median yardages for both pass and run plays falls around 3-4 yards.  And this makes sense, generally the run / pass play ratio is 50%, I assume if there was a bias in run / pass yardage that one would be more prevalent than the other.  And finally, this is all for first down; my next posts will cover second and third down.

Thursday, March 24, 2011

Run / Pass Play Selection: First Down

With all this individual play data at my disposal, I've been looking at the trends of play selection, particularly run v. pass (i.e., I'm not looking into field goal / punt frequencies).  My end goal is to come up with a way to roughly estimate under which scenarios a team would pass / run, and the certainty of that estimate.  Once I have a model which works fairly well, it'll allow me to do a few things: (1) I can determine, mathematically, what is a run scenario vs. a pass scenario.  Then, I can look at how well teams perform in each of these scenarios.  For instance, my off-hand example is during a definite passing scenario (down by two scores with 2 minutes left, for example), if a team runs the ball they can probably get about, what, 5 yards or so?  Basically, I can build a basic game theory grid: avg. pass yards vs pass defense, avg. pass yards vs. run defense, etc.  And (2) if I know when, on average, teams pass, I can determine which teams / coaches like to buck the trend, and see if bucking the trend is successful or not.

I'm going to consider modeling run / pass ratios for each down separately.  Logically, I'm starting with the 1st down.  Provided below is average run ratios, broken down by starting field field position.


So you can see a second-order relationship between field position and this ratio.  Also, it looks like the relationship changes around 65 yards, with the slope being more gradual from 65 to 0 yards.  For my purposes, I'll model these two portions of the field separately (0-65, and 65-100).

Next, the relationship between time and run ratio.

 There's a pretty big break at the end of each half, can't tell if there's a big difference between the end of the half and end of the game, right around 10 minutes left.  For now, I'm going both halves the same, except for the last ten minutes (break those out separately).
And finally, here's the relationship between point spread and run ratio.

Pretty linear relationship, breaking down when the spread hits thirty points.  Teams really give up when down by 40 or more.  In fact, I'm just going to go ahead and throw out all these values.

So, in summary, here's what I'm looking at: when the field position is greater and less than 65 (second order relationship); first 20 and last 10 minutes of the half (linear for the first 20, second-order for the last 10); and point spread up/down to 30 (linear).  In the near future, I'll develop some linear regressions through all of these scenarios, so, stay tuned.  I doubt the regressions will say anything earth shattering, but, you know, I can mathematically say how often teams run the ball in the last two minutes.

Sunday, March 13, 2011

Going for it: The Numbers Against Punting

There's this high school football coach somewhere who will always go for it on fourth down.  I can see his reasoning pretty clear in high school, every punt is this adventure of teenage-level talent, of bad kicks and bad coverage and botched long snaps and botched blocking.  He would just rather risk giving the other team the ball at the thirty, and like his chances of converting a fourth-and-whatever.  And in certain situations I can side with him.  I mean, how likely is it that an offense will convert a fourth and inches?  At the very least, I kind of like the wacky play where a team will fake going for it to just draw the other team offsides.  If they fail, take the delay of game penalty.  The scene is a quarterback yelling like mad while all the players pretend to be involved.  I don't know, it's something.  Anyway, in this post I'll go into all the statistics I can think of for when a team should punt or go for it.  If anyone's curious, the data I'm using are from all NFL games from 2002 on, throwing out meaningless plays (taking a knee, hail marys at the end of halves, etc).

Below I've plotted up the average net change in yards (the distance of the punt minus the return yardage) based on field position.  My frame of reference is yards to go for a touchdown; so if a team's on their own 20, then the yards-to-go would be 80.

On average a team will gain roughly 40 yards in field position if they punt.  Things start to break down around 55 yards as touchbacks begin to occur.

So, if a team doesn't go for it, and punts instead, what are the odds that the opposing team would make it back to that original ling of scrimmage anyway?  I've plotted out the odds that the opposing team makes it back to the original punting location, again, broken down by the kicking team yards-to-go.  This data is all based on average drive lengths from a given field position (in this case, the field position dictated by a punt).  I define "making it back" to the original line of scrimmage as the opposing (or receiving) team having a first down past the punting line of scrimmage, or scoring a touchdown.

For the most part, there's about a 35% chance that punting (instead of failing on a fourth-down conversion attempt) will make no difference in net yardage, and a 65% chance that punting is worth it.  Things start to tick up right around mid-field (pretty soon after we start seeing touchbacks appear).  So, generally, the benefit a team sees in punting (instead of just going for the 4th down attempt) starts decaying at mid-field.

Now all the data above is predicated on failure.  What are the odds that a team will actually convert on fourth down?  There's really not enough fourth down attempts to achieve a statistically significant result, so below I've plotted out the third down conversion rates for a number of different yards to go for a first down.  I looked at fourth down conversion rates, and when I exclude the red-zone area, there's not much of a difference from third down.  I went ahead with the third down numbers, as it's a bigger sample set.

 
So for anything a yard or shorter to go, there's nearly a 70% chance that the down is converted, and for anything shorter than 3 yards, that percentage drops to 50%.  If you kind of squint at the data, if a team only has a yard to go they should always go for it.  After that, it's a gray area; but if a team's on the opponent's side of the field, they should more or less never punt if there's only 1-3 yards to go.



Saturday, March 5, 2011

Recent Developments

Obviously it's been awhile since I updated anything.  And with the coming labor disputes, lock-outs, all that, it's an open question when I'll be able to produce any weekly power rankings.  So, with all this time on my hands, I'm going back to the beginning.

I've stumbled across a source of play-by-play data, and worked out a way to bring in all that data and manipulate it.  Average drives, scoring percentages, totaling up runs longer than 10 yards, negative yardage plays, all of that.  In the coming weeks, I'll be able to churn out alot of different statistics, analyses, data models, etc.  So stay tuned.

Tuesday, January 4, 2011

Final Power Rankings (and Playoff Picks)

Below serve my final power rankings of the year.  I decided to take into account week 17 games, there were a number of teams resting their starters at points, but no big swings in win / losses (Jets losing to Buffalo or Atlanta losing to Carolina, for instance).

Rank Team Power Ranking
1 New England Patriots 1.000
2 Atlanta Falcons 0.874
3 Chicago Bears 0.839
4 New York Jets 0.826
5 Baltimore Ravens 0.821
6 Pittsburgh Steelers 0.817
7 Green Bay Packers 0.797
8 Philadelphia Eagles 0.756
9 New Orleans Saints 0.708
10 Indianapolis Colts 0.701
11 Tampa Bay Buccaneers 0.687
12 New York Giants 0.684
13 Kansas City Chiefs 0.654
14 San Diego Chargers 0.654
15 Miami Dolphins 0.652
16 Tennessee Titans 0.643
17 Cleveland Browns 0.640
18 Oakland Raiders 0.629
19 Jacksonville Jaguars 0.629
20 Minnesota Vikings 0.614
21 Detroit Lions 0.613
22 St. Louis Rams 0.597
23 Washington Redskins 0.594
24 Seattle Seahawks 0.586
25 Dallas Cowboys 0.586
26 Houston Texans 0.583
27 San Francisco 49ers 0.558
28 Arizona Cardinals 0.535
29 Buffalo Bills 0.535
30 Cincinnati Bengals 0.529
31 Denver Broncos 0.519
32 Carolina Panthers 0.442


As for playoff picks: I'm basing this solely on power rankings.  No previous years' experience, no home field advantage, no resting of starters, etc.

Saints over Seahawks
Jets over Colts
Packers over Eagles
Ravens over Chiefs

All visiting teams wins, book it.

Tuesday, December 21, 2010

Power Rankings (Week 16)

Rank Team Power Ranking
1 New England Patriots 1.000
2 Atlanta Falcons 0.922
3 New York Jets 0.836
4 Pittsburgh Steelers 0.820
5 Baltimore Ravens 0.817
6 Philadelphia Eagles 0.815
7 Chicago Bears 0.791
8 Green Bay Packers 0.757
9 New Orleans Saints 0.707
10 Tennessee Titans 0.701
11 San Diego Chargers 0.697
12 New York Giants 0.697
13 Miami Dolphins 0.692
14 Kansas City Chiefs 0.687
15 Jacksonville Jaguars 0.685
16 Indianapolis Colts 0.679
17 Cleveland Browns 0.678
18 Oakland Raiders 0.646
19 Tampa Bay Buccaneers 0.641
20 Seattle Seahawks 0.613
21 St. Louis Rams 0.601
22 Houston Texans 0.593
23 Minnesota Vikings 0.585
24 Washington Redskins 0.582
25 Dallas Cowboys 0.577
26 San Francisco 49ers 0.574
27 Detroit Lions 0.565
28 Arizona Cardinals 0.550
29 Buffalo Bills 0.547
30 Denver Broncos 0.540
31 Cincinnati Bengals 0.496
32 Carolina Panthers 0.452

Tuesday, December 14, 2010

Power Rankings (Week 15)

This Week:
Ranking Team Power Ranking
1 New England Patriots 1.000
2 Atlanta Falcons 0.957
3 Pittsburgh Steelers 0.869
4 New York Jets 0.841
5 Baltimore Ravens 0.822
6 Philadelphia Eagles 0.821
7 Green Bay Packers 0.813
8 Chicago Bears 0.798
9 New Orleans Saints 0.761
10 New York Giants 0.747
11 Miami Dolphins 0.740
12 Jacksonville Jaguars 0.727
13 Cleveland Browns 0.725
14 Tennessee Titans 0.717
15 San Diego Chargers 0.707
16 Kansas City Chiefs 0.697
17 Tampa Bay Buccaneers 0.684
18 Indianapolis Colts 0.670
19 Oakland Raiders 0.664
20 Seattle Seahawks 0.658
21 St. Louis Rams 0.641
22 Minnesota Vikings 0.632
23 Houston Texans 0.625
24 Washington Redskins 0.623
25 San Francisco 49ers 0.623
26 Arizona Cardinals 0.603
27 Dallas Cowboys 0.583
28 Denver Broncos 0.572
29 Detroit Lions 0.562
30 Buffalo Bills 0.536
31 Cincinnati Bengals 0.487
32 Carolina Panthers 0.451

Tuesday, December 7, 2010

Power Rankings (Week 14)

This week's:

Rank Team Power Ranking
1 New England Patriots 1.000
2 Atlanta Falcons 0.997
3 Pittsburgh Steelers 0.912
4 New York Jets 0.908
5 Green Bay Packers 0.851
6 Chicago Bears 0.846
7 Philadelphia Eagles 0.839
8 Baltimore Ravens 0.829
9 New York Giants 0.776
10 Tennessee Titans 0.767
11 Cleveland Browns 0.765
12 New Orleans Saints 0.757
13 Kansas City Chiefs 0.734
14 Jacksonville Jaguars 0.727
15 Miami Dolphins 0.726
16 Oakland Raiders 0.719
17 Seattle Seahawks 0.706
18 San Diego Chargers 0.701
19 Tampa Bay Buccaneers 0.694
20 Houston Texans 0.682
21 St. Louis Rams 0.680
22 Indianapolis Colts 0.669
23 Washington Redskins 0.654
24 Minnesota Vikings 0.651
25 Denver Broncos 0.635
26 Dallas Cowboys 0.611
27 Arizona Cardinals 0.603
28 San Francisco 49ers 0.601
29 Detroit Lions 0.582
30 Buffalo Bills 0.534
31 Cincinnati Bengals 0.493
32 Carolina Panthers 0.464

So let's take a look at the magnitudes of the power rankings.  The Falcons and the Patriots are neck and neck, then a gap, then the Jets and Steelers, then a gap, and then the rest.  The Colts are getting hammered, while the Browns are still hanging around.  One of the failures of my rankings is how to judge a team like the Titans, which came strong out of the gate, and now is kind of falling apart due to quarterback issues.

Tuesday, November 30, 2010

Power Rankings (Week 13)

Pretty good shake-up at the top.  Here we go:

Ranking Team Power Ranking
1 Atlanta Falcons 1.000
2 New England Patriots 0.991
3 New York Jets 0.977
4 Pittsburgh Steelers 0.929
5 Baltimore Ravens 0.869
6 Chicago Bears 0.855
7 Green Bay Packers 0.854
8 Philadelphia Eagles 0.849
9 Tennessee Titans 0.782
10 Kansas City Chiefs 0.775
11 New Orleans Saints 0.773
12 Cleveland Browns 0.773
13 New York Giants 0.769
14 Miami Dolphins 0.757
15 San Diego Chargers 0.752
16 Tampa Bay Buccaneers 0.739
17 Houston Texans 0.732
18 Seattle Seahawks 0.728
19 Indianapolis Colts 0.727
20 Jacksonville Jaguars 0.727
21 Oakland Raiders 0.704
22 St. Louis Rams 0.688
23 Washington Redskins 0.682
24 Minnesota Vikings 0.645
25 Denver Broncos 0.631
26 San Francisco 49ers 0.622
27 Arizona Cardinals 0.617
28 Detroit Lions 0.602
29 Dallas Cowboys 0.576
30 Buffalo Bills 0.576
31 Cincinnati Bengals 0.521
32 Carolina Panthers 0.485

Tuesday, November 23, 2010

Power Rankings (Week 12)

This week I looked at home field advantage.  My metric was pretty simple, from 2004-2009, I summed up all the win ratings for home games, and divided it by all the win ratings from away game.  In the end I have a percentage, the average percentage increase for home games (compared to away games).  I'm not truly measuring the advantage a home stadium provides, but rather, the difference in how well a team plays at home vs. on the road.  For instance, I'm not determining if a team's a good home team or a bad road team.  Anyway, below are the breakdowns (ranked highest to lowest):

Team Home Field Increase
Minnesota Vikings 40.59%
Kansas City Chiefs 39.60%
Houston Texans 37.42%
Arizona Cardinals 35.76%
Baltimore Ravens 29.16%
Tampa Bay Buccaneers 25.09%
Buffalo Bills 23.19%
Chicago Bears 23.17%
Cleveland Browns 19.23%
Seattle Seahawks 18.51%
Washington Redskins 17.62%
Pittsburgh Steelers 16.80%
Dallas Cowboys 16.66%
Detroit Lions 16.30%
San Diego Chargers 15.28%
New Orleans Saints 15.13%
St. Louis Rams 14.84%
Indianapolis Colts 14.65%
Atlanta Falcons 11.94%
Tennessee Titans 11.80%
Denver Broncos 10.81%
San Francisco 49ers 10.35%
New York Jets 8.84%
Green Bay Packers 6.32%
Oakland Raiders 5.53%
New York Giants 4.38%
Jacksonville Jaguars 3.67%
Cincinnati Bengals 3.34%
Miami Dolphins 2.19%
Carolina Panthers 0.63%
Philadelphia Eagles -0.50%
New England Patriots -3.76%

Can't say I'm too surprised by the numbers.  For instance, 3 of the top 5 home field advantages are domes (providing advantageous playing conditions as well as keeping in the noise); and one of the other top 5 home field advantages is that noted Kansas City crowd.  On the other end of the scale, the Eagles and the Patriots actually play better on the road.  Now for these numbers, I only did one regression, that is, I didn't take into account the home / away disparity for the team a team was playing.  For instance, if Minnesota is a noted bad road team, I did not take that into account when they played Green Bay @ Green Bay (I know, sounds a little convoluted, but like my normal power rankings, I would like to incorporate some recursion).  Another odd note, adding a home field advantage component when trying to pick games using my Power Rankings doesn't help; the pure weekly rankings are still the best way to go.  I'll explore the recursion problem in the near future, and see if I can get the prediction a little better.  And, as always, this week's rankings:

Rank Team Power Ranking
1 New York Jets 1.000
2 New England Patriots 0.989
3 Pittsburgh Steelers 0.940
4 Atlanta Falcons 0.936
5 Philadelphia Eagles 0.885
6 Green Bay Packers 0.877
7 Baltimore Ravens 0.860
8 Tennessee Titans 0.810
9 Chicago Bears 0.794
10 Indianapolis Colts 0.765
11 Jacksonville Jaguars 0.763
12 Cleveland Browns 0.751
13 New Orleans Saints 0.733
14 Kansas City Chiefs 0.728
15 Tampa Bay Buccaneers 0.723
16 Miami Dolphins 0.722
17 New York Giants 0.721
18 Seattle Seahawks 0.714
19 Oakland Raiders 0.704
20 San Diego Chargers 0.703
21 Washington Redskins 0.699
22 Houston Texans 0.688
23 St. Louis Rams 0.651
24 Denver Broncos 0.637
25 Minnesota Vikings 0.611
26 Arizona Cardinals 0.596
27 Detroit Lions 0.594
28 San Francisco 49ers 0.576
29 Dallas Cowboys 0.568
30 Buffalo Bills 0.545
31 Cincinnati Bengals 0.510
32 Carolina Panthers 0.441

What's surprising is Cleveland is getting a lot of love, best 3-6 team ever.  Raiders took a dive, and still no love for the Chargers.

Tuesday, November 16, 2010

Power Rankings (Week 11)

So how good is my ranking system, based solely on points per yard (and then put through the regressive formula)?  Well, the obvious metric is how well the ranking system picks winners, how many times the higher ranked team wins.  Below, I iterate through 6 seasons (calculate the power rankings each week, and see how well those rankings pick winners).  I compare it against the most simple ranking system I could think of, based solely on wins / losses (if two teams have the exact same record, I just randomly picked one to win).  Also, I throw out the first two weeks (can't really calculate wins / losses with so few games).  Enjoy:


Year Picked Correctly
Simple Ranking My Ranking
2004 60.7% 70.1%
2005 64.3% 68.3%
2006 58.5% 61.6%
2007 65.6% 69.6%
2008 61.8% 67.9%
2009 62.1% 66.1%


So, as you can see, I'm slightly better than just always picking the team with more wins.  I'm right about 67% of the time, vs. 60% for the simple approach.  Apparently, 2006 was a screwy year.  And below, this week's ranking:

Rank Team Power Ranking
1 New York Jets 1.000
2 New England Patriots 0.964
3 Atlanta Falcons 0.940
4 Pittsburgh Steelers 0.934
5 Baltimore Ravens 0.878
6 Philadelphia Eagles 0.862
7 Green Bay Packers 0.850
8 Tennessee Titans 0.821
9 Indianapolis Colts 0.803
10 Cleveland Browns 0.774
11 Chicago Bears 0.760
12 Seattle Seahawks 0.759
13 New York Giants 0.746
14 Oakland Raiders 0.741
15 Miami Dolphins 0.740
16 Tampa Bay Buccaneers 0.728
17 Jacksonville Jaguars 0.722
18 New Orleans Saints 0.707
19 Kansas City Chiefs 0.701
20 Houston Texans 0.701
21 St. Louis Rams 0.679
22 Denver Broncos 0.678
23 San Diego Chargers 0.675
24 Washington Redskins 0.657
25 Arizona Cardinals 0.633
26 Detroit Lions 0.628
27 Minnesota Vikings 0.623
28 San Francisco 49ers 0.606
29 Cincinnati Bengals 0.548
30 Dallas Cowboys 0.517
31 Buffalo Bills 0.506
32 Carolina Panthers 0.452


Tuesday, November 9, 2010

Power Rankings (Week 10)

And here we go:

Rank Team Power Ranking
1 Pittsburgh Steelers 1.000
2 New York Jets 0.951
3 Atlanta Falcons 0.914
4 Baltimore Ravens 0.891
5 New England Patriots 0.888
6 Tennessee Titans 0.842
7 Green Bay Packers 0.819
8 Philadelphia Eagles 0.816
9 Indianapolis Colts 0.804
10 New York Giants 0.796
11 Cleveland Browns 0.788
12 Tampa Bay Buccaneers 0.758
13 Houston Texans 0.740
14 Oakland Raiders 0.736
15 Kansas City Chiefs 0.732
16 Seattle Seahawks 0.726
17 Chicago Bears 0.719
18 St. Louis Rams 0.718
19 New Orleans Saints 0.716
20 San Diego Chargers 0.680
21 Miami Dolphins 0.674
22 Washington Redskins 0.671
23 Arizona Cardinals 0.666
24 Detroit Lions 0.661
25 Jacksonville Jaguars 0.652
26 Minnesota Vikings 0.632
27 Denver Broncos 0.607
28 Cincinnati Bengals 0.571
29 San Francisco 49ers 0.550
30 Carolina Panthers 0.458
31 Buffalo Bills 0.454
32 Dallas Cowboys 0.445

Still surprising that the Jets still sit up so high.  And it's still showing the AFC's dominance over the NFC.  Lo and behold....the Cowboys are the worst team.  No complaints here.