Category Archives: Uncategorized

Matching to estimate the causal effects of firing an NFL coach

I want to be Mike Lopez when I grow up.

statsbylopez's avatarStatsbyLopez

NoteThis post is a bit longer than usual. It’s part tutorial and part analysis. Feel free to jump to the conclusions, which are (I think) quite interesting. Additionally, the data and code are posted on Github.

The 2016 NFL regular season has ended, and with it has come the usual coaching carousel in which many franchises have opted to fire their head coach.

As of January 2nd, six of the league’s 32 teams have openings, with five of those coming by way of a fired predecessor (Denver’s retiring Gary Kubiak being the lone exception). But it’s not like 2016 is any type of outlier; roughly 4 coaches per year have been canned since the early 1980’s.

What’s interesting, though, is that despite the frequent, franchise-altering decisions made across the league, it’s mostly unknown whether or not this choice benefits longterm franchise prospects. (Postscript: Today, Brian Burke looks at the…

View original post 2,114 more words

NFL Picks – Week 17

New Orleans at Atlanta

Prediction: Falcons 32-29 (59.4%)

Pick: Saints +7

Total: Over 56

Baltimore at Cincinnati

Prediction: Bengals 22-20 (53.9%)

Pick: Ravens +2.5

Total: Over 41.5

Oakland at Denver

Prediction: Broncos 22-20 (54.1%)

Pick: Raiders +2.5

Total: Over 40.5

Green Bay at Detroit

Prediction: Packers 24-22 (55.5%)

Pick: Lions +3

Total: Under 47

Jacksonville at Indianapolis

Prediction: Colts 26-21 (62.1%)

Pick: Colts -4.5

Total: Under 47

New England at Miami

Prediction: Patriots 26-21 (63.4%)

Pick: Dolphins +9.5

Total: Over 44.5

Chicago at Minnesota

Prediction: Vikings 22-17 (65.1%)

Pick: Bears +5.5

Total: Under 41

Buffalo at NY Jets

Prediction: Bills 23-21 (57.0%)

Pick: Jets +6

Total: Under 44

Dallas at Philadelphia

Prediction: Cowboys 23-22 (51.4%)

Pick: Cowboys +6.5

Total: Over 42.5

Cleveland at Pittsburgh

Prediction: Steelers 27-17 (77.6%)

Pick: Steelers -7

Total: Over 44

Kansas City at San Diego

Prediction: Chiefs 23-22 (52.7%)

Pick: Chargers +4.5

Total: Over 45

Seattle at San Francisco

Prediction: Seahawks 24-18 (67.3%)

Pick: 49ers +9.5

Total: Under 43

Arizona at Los Angeles (nee St. Louis)

Prediction: Cardinals 21-16 (63.3%)

Pick: Rams +6

Total: Under 41.5

Carolina at Tampa Bay

Prediction: Panthers 23-22 (53.2%)

Pick: Panthers +6.5

Total: Under 46.5

Houston at Tennessee

Prediction: Titans 20-19 (52.8%)

Pick: Texans +3

Total: Under 40

NY Giants at Washington

Prediction: Washington Football Team 26-23 (57.9%)

Pick: Giants +8

Total: Over 44

NFL Picks – Week 16

Miami at Buffalo

Prediction: Bills 24-20 (60.1%)

Pick: Bills -3.5

Total: Over 42

Atlanta at Carolina

Prediction: Panthers 26-25 (52.0%)

Pick: Panthers +3.5

Total: Under 52.5

Washington at Chicago

Prediction: Bears 25-24 (50.5%)

Pick: Bears +3.5

Total: Over 47

San Diego at Cleveland

Prediction: Chargers 24-21 (58.3%)

Pick: Browns +6

Total: Over 44

Minnesota at Green Bay

Prediction: Packers 23-18 (63.8%)

Pick: Vikings +6.5

Total: Under 43

Cincinnati at Houston

Prediction: Bengals 21-20 (51.6%)

Pick: Bengals +2 PUSH

Total: Under 41

Tennessee at Jacksonville

Prediction: Titans 22-21 (52.4%)

Pick: Jaguars +4.5

Total: Under 44

Denver at Kansas City

Prediction: Chiefs 19-18 (51.4%)

Pick: Broncos +4

Total: Under 37.5

NY Jets at New England

Prediction: Patriots 28-18 (74.8%)

Pick: Jets +16.5

Total: Over 44 PUSH

Tampa Bay at New Orleans

Prediction: Saints 30-25 (64.1%)

Pick: Saints -3

Total: Over 52.5 

Indianapolis at Oakland

Prediction: Raiders 27-25 (58.0%)

Pick: Colts +3.5

Total: Under 53

NY Giants at Philadelphia

Prediction: Eagles 22-18 (59.5%)

Pick: Eagles +2.5

Total: Under 41.5

Baltimore at Pittsburgh

Prediction: Steelers 22-18 (59.2%)

Pick: Ravens +5

Total: Under 44

Arizona at Seattle

Prediction: Seahawks 22-19 (59.0%)

Pick: Cardinals +8

Total: Under 43.5

San Francisco at Los Angeles (nee St. Louis)

Prediction: Rams 20-18 (56.2%)

Pick: 49ers +3.5

Total: Under 43.5

Detroit at Dallas

Prediction: Cowboys 26-21 (62.5%)

Pick: Lions +7

Total: Over 43

RIPPEN 2016

So a few years ago, I proposed a measure of quarterback performance called RIPPEN, but I haven’t kept up with the updating of it.  Today, I had some time so I updated it for the past few years (with some new modifications). Below are the the results ordered from best to worst in 2016.

So right now I have Ryan, Brady, and Prescott as the top three passers in the league. I’d say that makes reasonable sense.  One of my favorite parts of this table is Eli Manning, who has dropped in all four years presented here.  Poor Eli.  Alternatively, you’ll notice that Brady has gotten better in all 4 years listed here.  Really amazing.  Considering he’s 39 years old. (Side note: I’m 34 and I feel old.  This guy is 5 years older than I am and is one of the best athletes on the planet.  Dammit.)

 
QB Team RIPPEN2013 RIPPEN2014 RIPPEN2015 RIPPEN2016
M.RYAN  ATL 19.84 22.05 20.87 27.93
T.BRADY  NE 13.63 19.06 23.80 26.30
D.PRESCOTT  DAL NA NA NA 24.98
D.BREES  NO 19.34 20.28 19.93 24.93
M.MARIOTA  TEN NA NA 21.59 24.44
K.COUSINS  WAS 7.68 23.44 19.46 23.56
J.CUTLER  CHI 22.70 18.06 21.12 23.15
J.BRISSETT  NE NA NA NA 23.10
P.RIVERS  SD 20.11 19.26 20.13 22.29
A.LUCK  IND 20.75 21.26 19.98 21.76
T.SIEMIAN  DEN NA NA NA 21.75
J.GAROPPOLO  NE NA 10.94 NA 21.67
R.WILSON  SEA 19.53 20.67 23.92 21.57
J.WINSTON  TB NA NA 22.26 20.88
R.TANNEHILL  MIA 17.26 17.53 18.18 20.52
C.KAEPERNICK  SF 23.19 19.31 15.28 20.18
A.DALTON  CIN 21.01 17.76 25.48 20.16
D.ANDERSON  CAR NA 18.92 NA 19.87
D.CARR  OAK NA 11.37 18.90 19.65
C.PALMER  ARI 22.13 18.55 26.51 19.63
M.STAFFORD  DET 17.55 16.75 19.05 19.08
C.NEWTON  CAR 18.63 18.67 22.53 18.80
B.HOYER  CHI NA 18.78 21.07 18.63
B.ROETHLISBERGER  PIT 12.04 21.80 22.06 18.20
S.BRADFORD  MIN 19.57 NA 15.88 18.16
A.RODGERS  GB 23.67 24.64 14.75 18.13
N.FOLES  KC 19.99 16.36 13.50 18.07
M.BARKLEY  CHI NA NA NA 17.70
J.MCCOWN  CLE NA 16.32 17.63 17.34
P.LYNCH  DEN NA NA NA 17.08
E.MANNING  NYG 22.38 20.58 19.95 16.94
C.KEENUM  LA NA 13.16 15.77 16.88
C.WENTZ  PHI NA NA NA 16.28
C.KESSLER  CLE NA NA NA 16.26
B.BORTLES  JAC NA 14.21 20.90 15.31
A.SMITH  KC 14.87 18.58 18.53 15.19
R.FITZPATRICK  NYJ 15.94 21.54 17.31 15.16
T.TAYLOR  BUF NA NA 21.66 14.93
B.GABBERT  SF 19.97 NA 17.79 14.13
J.FLACCO  BAL 10.56 19.00 15.72 13.96
B.OSWEILER  HOU NA NA 19.15 12.00
J.GOFF  LA NA NA NA 11.70

One other interesting aspect of RIPPEN is that you get parameters estimates for the gamma distribution of lengths of completed passed.  Below is a plot of the alpha and beta parameters estimated for each player.  You may recall from your mathematical statistics course, that the mean of the gamma distribution is alpha times beta.  So I’ve plotted lines corresponding to combinations of the parameters that result in the same mean.  So for instance, Kaepernick and Luck have about the same expected value for the yardage of a completed pass, but they do it in different ways.  There are a bunch of quarterbacks in the middle, so let’s zoom in for a closer look at that part of the graph.

Screen Shot 2016-12-23 at 8.56.03 PM.png

From here, we can see that there seems to be a pretty elite group of quarterbacks with means over 14 including Rivers, Brady, Ryan, and Mariota.

screen-shot-2016-12-23-at-8-56-13-pm

To get an idea of how these parameters change the gamma distribution, let’s look at Prescott, Brady, and Tannehill.  The plot below is the cdf function for Prescott (blue), Brady (red), and Tannehill (green).  The way this plot is read is for a specific value of yardage, the height of the curve is the probability that a pass is LESS than that specific yardage.  So, for instance, Tannehill has the highest probability of a completed pass being less than 5 yards (recall we are only looking at completed passes here).  And Brady’s probability is just slightly higher than Prescott’s at 5.  However, somewhere around 10 yards Prescott and Brady switch.  So Prescott is more likely to have a pass that is less than 20 yards than Brady is (i.e. Brady is more likely to have a completed pass go for long yardage). We can check to see how these estimated curves line up with reality by looking at the histograms of the actual data.

Screen Shot 2016-12-23 at 9.14.52 PM.png

Here Brady is red and Prescott is again blue, we can see that Brady is more likely to have passes in the 0-5 yard range, whereas prescott is more likely than Brady to have passes in the 10-20 range, but then Brady is more likely to have passes in the 30-40 range whereas Prescott has very few completed passes over 30 yards.

screen-shot-2016-12-23-at-9-15-01-pm

Kinds neat stuff.  I’m going to do something else now.

Cheers.

Continuous Line Artwork For Purchase

I love this.

December Gladden's avatarvisualtwelve

“Fruit”, Medium – Ink, Framed Dimensions – 19″ x 23″, Price – $600

Large Scale Art “Expression”, Medium – Ink, Watercolor, Marker, Dimensions – 37.5″ x 122″, Price – $1,600

People “People”, Medium – Watercolor & Ink, Framed Dimensions – 19″ x 23″, Price – SOLD

“Sunrise”, Medium – Watercolor & Ink, Framed Dimensions – 30″ x 37.5″, Price – $900

“Stilt Houses”, Medium – Watercolor & Ink, Framed Dimensions – 19″ x 23″, Price – SOLD

SANYO DIGITAL CAMERA “Sketches”, Medium – Ink, Framed Dimensions – 30″ x 38″, Price – SOLD

“Laundry”, Medium – Watercolor & Ink, Framed Dimensions – 30″ x 37.5″, Price – SOLD

Continuous Line Artwork “Faces”, Medium – Ink, Framed Dimensions – 25″ x 36.5″, Price – $800

Continuous Line Artwork “Faces & Houses”, Medium – Ink, Framed Dimensions – 21.5″ x 41.5″, Price – $900

Continuous Line Artwork “Country Life”, Medium – Ink, Framed Dimensions – 21.5″ x 41.5″, Price – $900

Continuous Line Artwork “Spring”, Medium – Watercolor & Ink, Framed Dimensions…

View original post 37 more words

NFL Picks – Week 15

Los Angeles (nee St. Louis) at Seattle

Prediction: Seahawks 24-16 (71.3%)

Pick: Rams +15

Total: Over 38.5

New Orleans at Arizona

Prediction: Cardinals 26-24 (58.1%)

Pick: Saints +2.5

Total: Over 50

San Francisco at Atlanta

Prediction: Falcons 26-21 (64.7%)

Pick: 49ers +13.5

Total: Under 51.5

Philadelphia at Baltimore

Prediction: Ravens 23-22 (54.9%)

Pick: Eagles +6

Total: Over 41.5

Cleveland at Buffalo

Prediction: Bills 24-18 (65.9%)

Pick: Browns +10

Total: Under 42.5

Green Bay at Chicago

Prediction: Packers 24-21 (57.0%)

Pick: Bears +6.5

Total: Over 42.5

Pittsburgh at Cincinnati

Prediction: Bengals 24-22 (53.1%)

Pick: Bengals +3.5

Total: Over 44 PUSH

Tampa Bay at Dallas

Prediction: Cowboys 24-20 (61.5%)

Pick: Buccaneers +7

Total: Under 46 PUSH

New England at Denver

Prediction: Broncos 23-22 (50.9%)

Pick: Broncos +3

Total: Over 44

Jacksonville at Houston

Prediction: Texans 23-18 (63.4%)

Pick: Jaguars +6

Total: Over 39

Tennessee at Kansas City

Prediction: Chiefs 24-19 (63.5%)

Pick: Titans +5.5

Total: Under 43

Indianapolis at Minnesota

Prediction: Vikings 23-21 (56.4%)

Pick: Colts +4

Total: Under 44.5

Detroit at NY Giants

Prediction: Giants 23-22 (55.0%)

Pick: Lions +4.5

Total: Over 41.5

Miami at NY Jets

Prediction: Jets 22-20 (55.8%)

Pick: Jets +2.5

Total: Over 38

Oakland at San Diego

Prediction: Chargers 24-22 (56.1%)

Pick: Chargers +3 PUSH

Total: Under 50

Carolina at Washington

Prediction: Panthers 23-22 (52.2%)

Pick: Panthers +6.5

Total: Under 51

NFL Rankings – Week 13

 
Rank Team Prosp Retro PredMargin Change SeasonHigh/Low Rank W L
1 DAL 56 73 0.684  – 1/13  11  1
2 ATL 55 67 0.492  – 2/5  7  4
3 OAK 45 64 -0.939  +2 3/27  9  2
4 NE 64 62 3.589  +2 2/13  9  2
5 KC 54 62 1.253  +3 4/25  8  3
6 DEN 63 62 2.466  -2 3/9  7  4
7 WAS 53 61 -0.751  -4 3/18  6.5  4.5
8 SEA 71 56 3.683  -1 7/19  7.5  3.5
9 SD 49 56 -0.507  +4 4/17  5  6
10 NYG 40 55 -0.312  – 10/20  8  3
11 PHI 50 55 0.084  -2 1/11  5  6
12 BUF 57 54 0.197  -1 4/26  6  5
13 NO 60 54 0.847  +4 13/27  5  6
14 PIT 58 52 1.844  +8 6/25  6  5
15 MIA 39 51 -1.207 15/30  7  4
16 DET 49 51 -0.415 15/25  7  4
17 MIN 50 50 0.192  -5 1/17  6  6
18 TEN 39 50 -2.117  +2 16/29  6 6
19 GB 58 49 2.259  +6 7/25 5 6
20 BAL 52 48 0.152  +4 8/26  6  5
21 CAR 63 47 2.270  – 3/27  4  7
22 HOU 51 47 -0.166  -4 14/22  6 5
23 ARI 55 47 1.847  -4 1/23  4.5  6.5
24 TB 44 47 -1.705  +2 24/32  6  5
25 IND 40 46 -0.794  -11 14/29  5  6
26 LA 36 43 -2.004  -3 6/26  4  7
27 CIN 55 41 1.442  – 17/28  3.5  7.5
28 NYJ 48 37 -0.577  – 11/30  3  8
29 JAC 31 34 -3.275  +1 24/32  2  9
30 CHI 45 34 -1.939  -1 24/31  2  9
31 SF 41 24 -2.671  – 28/32  1  10
32 CLE 31 24 -3.922  – 20/32  0  12

NFL Strengths by week:

NFlRankingByWeek2016.png

NFL Picks – Week 14

Oakland at Kansas City

Prediction: Chiefs 24-20 (61.1%)

Pick: Chiefs -3

Total: Under 47

Pittsburgh at Buffalo

Prediction: Bills 22-21 (50.4%)

Pick: Bills +2

Total: Under 47 PUSH

San Diego at Carolina

Prediction: Panthers 25-21 (62.3%)

Pick: Panthers -1

Total: Under 48.5

Cincinnati at Cleveland

Prediction: Bengals 24-20 (60.0%)

Pick: Browns +6

Total: Over 43.5 

Chicago at Detroit

Prediction: Lions 24-20 (59.5%)

Pick: Bears +8

Total: Over 43.5 

Seattle at Green Bay

Prediction: Packers 22-21 (50.7%)

Pick: Packers +2.5 

Total: Under 46.5 

Houston at Indianapolis

Prediction: Colts 23-21 (53.8%)

Pick: Texans +4.5 

Total: Under 46.5 

Minnesota at Jacksonville

Prediction: Vikings 21-19 (54.3%)

Pick: Jaguars +3.5 

Total: Over 39.5

Arizona at Miami

Prediction: Cardinals 23-21 (53.8%)

Pick: Cardinals +2

Total:Over 43.5 

Washington at Philadelphia

Prediction: Eagles 26-23 (57.4%)

Pick: Eagles +1

Total: Over 46.5 

NY Jets at San Francisco

Prediction: Jets 21-20 (50.5%)

Pick: Jets +1

Total: Under 46.5 

Atlanta at Los Angeles (nee St. Louis)

Prediction: Falcons 22-21 (52.6%)

Pick: Rams +6

Total: Under 45.5 

New Orleans at Tampa Bay

Prediction: Saints 25-24 (51.8%)

Pick: Saints +2.5 

Total:Under 51.5

Denver at Tennessee

Prediction: Broncos 23-20 (57.5%)

Pick: Broncos +1

Total:Under 43.5 

Dallas at NY Giants

Prediction: Giants 23-22 (52.1%)

Pick: Giants +3

Total: Under 47.5 

Baltimore at New England

Prediction: Patriots 26-20 (64.8%)

Pick: Ravens +7 PUSH

Total: Over 45.5 

Predicted NFL standings and playoff projections – Week 13

Projected Standings

AFC

AFC East 

New England: 12-4 (9-2) 11.82

Buffalo: 9-7 (6-5) 8.949

Miami: 8-8 (7-4) 8.549

NY Jets: 6-10 (3-8) 5.542

AFC North

Pittsburgh: 8-8 (6-5) 8.401

Baltimore: 7-9 (6-5) 7.045

Cincinnati: 6-9-1 (3-7-1) 6.112

Cleveland: 1-15 (0-12) 0.788

AFC South

Houston: 7-9 (6-5) 7.457

Indianapolis: 7-9 (5-6) 7.401

Tennessee: 7-9  (6-6) 7.348

Jacksonville: 3-13 (2-9) 3.52

AFC West

Kansas City: 10-6 (8-3) 10.101

Oakland: 10-6 (9-2) 9.916

Denver: 9-7 (7-4) 9.362

San Diego: 8-8 (5-6) 7.698

NFC

NFC East

Dallas: 13-3 (11-1) 12.759

NY Giants: 9-7 (8-3) 9.145

Washington: 8-7-1 (6-4-1) 8.120

Philadelphia: 7-9 (5-6) 6.577

NFC North

Detroit: 8-8 (7-4) 8.139

Minnesota: 8-8 (6-6) 7.942

Green Bay: 7-9 (5-6) 7.394

Chicago: 4-12 (2-9) 3.982

NFC South

Atlanta: 10-6 (7-4) 9.896

New Orleans: 8-8 (5-6) 7.802

Carolina: 7-9 (4-7) 7.149

Tampa Bay: 6-10 (6-5) 6.350

NFC West

Seattle: 10-5-1 (7-3-1) 10.232

Arizona: 7-8-1 (4-6-1) 7.46

Los Angeles (nee St. Louis): 6-10 (4-7) 5.565

San Francisco: 1-15 (1-10) 1.479

Team – Median Predicted Record (Actual Record) Expected Wins
Italics: Projected playoff team 

Projected Playoffs

AFC

  1. New England
  2. Kansas City
  3. Pittsburgh
  4. Houston
  5. Oakland
  6. Denver

NFC

  1. Dallas
  2. Seattle
  3. Atlanta
  4. Detroit
  5. NY Giants
  6. Washington

Wildcard Round

(6) Denver over (3) Pittsburgh

(4) Houston over (5) Oakland

(3) Atlanta over (6) Washington

(4) Detroit over (5) NY Giants

Divisional Round

(1) New England over (6) Denver

(2) Kansas City over (4) Houston

(1) Dallas over (4) Detroit

(2) Seattle over (3) Atlanta

Conference Championships

(1) New England over (2) Kansas City

(2) Seattle over (1) Dallas

Super Bowl

(2) Seattle over (1) New England

 

 

NFL Playoff Probabilities – Week 13

 
Team WinDivison MakePlayoffs MakeSuperBowl WinSuperBowl
ARI 6.8 20.9 1.4 0.7
ATL 86.5 94.0 17.4 8.2
BAL 17.1 17.5 2.1 0.8
BUF 0.9 43.7 2.9 1.4
CAR 2.0 11.3 0.5 0.3
CHI 0.1 0.1 0.1 0.1
CIN 5.4 5.7 0.7 0.2
CLE 0.0 0.0 0.0 0.0
DAL 98.5 100.0 36.2 18.3
DEN 20.0 62.0 9.2 4.9
DET 44.8 52.9 6.5 2.8
GB 21.4 26.8 3.2 1.8
HOU 36.2 36.7 4.1 2.1
IND 33.8 34.3 3.6 2.0
JAC 0.0 0.0 0.0 0.0
KC 46.0 83.1 15.2 7.6
MIA 2.8 25.6 1.2 0.3
MIN 33.7 43.5 4.9 2.2
NE 96.3 99.2 34.4 19.8
NO 10.9 29.8 2.0 1.0
NYG 1.3 76.5 4.6 1.4
NYJ 0.0 0.0 0.0 0.0
OAK 32.8 76.3 13.7 4.0
PHI 0.0 5.0 0.1 0.1
PIT 77.5 77.8 9.0 4.6
SD 1.2 7.6 0.5 0.2
SEA 93.2 96.8 20.1 12.2
SF 0.0 0.0 0.0 0.0
STL 0.0 0.0 0.0 0.0
TB 0.6 3.2 0.5 0.2
TEN 30.0 30.5 3.4 1.5
WAS 0.2 39.2 2.5 1.3