It has become common knowledge that passing is far more valuable than running in the NFL. But I have surprisingly seen very little data about how that changes as teams approach the end zone and the real estate tightens.
I found this excellent article looking at all goal-to-go plays, which found that passing is still more valuable than running and highlighted specific types of runs and passes that work better than others. But that groups plays from the 8 or 9 yard line together with plays from the 1 or 2, and those are drastically different scenarios.