Week 17, Patriots at Dolphins
4th-and-4, 9:59 remaining in 4th quarter, Tied
The Patriots punted on a 4th-and-4 on their 31. The NYT 4th Down bot was thinking the same thing, although going for it would have been fine, too.
If you disagree

I lean slightly towards going for it, but I don’t have strong feelings here – my numbers tell me that either going for it or punting could be the best play. Specifically, punting would be the right call if you think the Patriots’ chances of converting on fourth down are less than 43 percent. (Based on my analysis, I’d give the Patriots a 48 percent chance to get a first down here.)

Here's the full breakdown of my calculations:

Option Chance of converting
Chance of winning
Before play
After play Change
Go for it4th and 4, own 31 48% 42% 43% +1%
Punt 42% 42% -
Field goal tryA really, really long kick <1% 42% 32% –10%
My decision in context

Along with some circuitry to come up with a win probability for every game situation, all you need to figure out what you should do next is an estimate of how likely you are to make a field goal or convert a first down.

My estimates for these are based on the results of thousands of similar plays, but you may think you're smarter than I am. This chart shows you how changing those estimates would change my recommendation.

What to do on 4th-and-4 on own 31
Tied with 9:59 remaining in the 4th quarter
What coaches usually do
Punt >99% of the time
Go for it -
Field goal try -
Based on about 1,799 fourth downs in similar situations since 2001.
What happened

Ryan Allen punts for 51 yards to Mia18.

Where did these numbers come from?

To estimate a team’s chances of winning, I use a mathematical model that accounts for a whole lot of variables — including the difference in score, the time remaining in the game, and the number of timeouts each team has left. On top of that, I have models for the likelihood that a team makes a field goal and the likelihood that it will convert a first down.

By combining all of this information, I can come up with the best decision a team can make, according to math.

If you want even more details about the numbers behind my decisions, my full model is available on GitHub. Help make me better!