I didn't realize there had been analytics done on this decision. It's pretty cool. I have a lot more respect for Matt LeFleur and his staff after reading all of this. They obviously did their homework and made the decision that gave them the highest chance of winning.
When I saw it in real time, I was confused and upset. Now I realize these guys do know more than I do about the game and are trying their best to win.
When To Go For 2, For Real | FiveThirtyEight
Going for 2 down 8 points: Explaining NFL analytics strategy - ESPN