As we enter mid-October, the identity of each NFL team’s offense has begun to emerge. Some teams, like the San Francisco 49ers, want to run the ball no matter the situation. Others, like the Indianapolis Colts, are pass-happy even when most other teams wouldn’t be. How do we know what teams’ preferred style is? It’s not as easy as looking at their basic stats: Those are shaped by factors outside of their control, like being forced to pass more when trailing. So I’ve created a way to adjust for external forces and classify teams based on how they choose to play offense regardless of the numbers on the scoreboard.

To begin, we need a measure of pass frequency. The traditional calculation lumps a team’s pass attempts and sacks together and divides that total by the team’s total number of plays (which is just pass attempts, sacks and rushing attempts). However, we can improve on this methodology with a more advanced technique by:

Counting scrambles (but not designed QB runs) as pass plays rather than runs. This is an improvement, because although a scramble is counted on the stat sheet as a run by the quarterback, the play actually signals that the team’s intention was to pass.

Eliminating kneel-downs. While these are recorded as runs in the box score, they are best simply ignored because the offense did not intend to advance the ball.

Eliminating spikes for a similar reason; these are recorded as passes in the box score but should be excluded for purposes of quantifying an offense’s identity.

We can use the following formula to calculate how pass-happy (a metric we can call Adjusted Pass Ratio) an offense is:

Adjusted Pass Ratio = (pass attempts + sacks + scrambles – spikes) / (total plays – spikes – kneel-downs)

The Jacksonville Jaguars (Adjusted Pass Ratio of 70.9 percent), Kansas City Chiefs (70.9 percent) and Indianapolis Colts (70.3 percent) rank as the most pass-happy teams in the NFL by this metric. But those three teams have trailed, often significantly, for large stretches of their games. And, of course, trailing teams tend to throw more, while leading teams rely on the ground game to run out the clock.

That’s why it’s crucial to adjust for pass ratio by something I call Game Script. A team’s Game Script, a statistic I derived in 2012, is simply its average point margin over the course of a game or season, with each second of the game given equal weight. This metric isn’t designed to tell you something you don’t already know from watching the games; on the contrary, it is designed to quantify exactly how the game played out.

This season, the New England Patriots — even without Tom Brady for four of five games — have the best average Game Script, at +7.0, meaning that the team has led by 7 points on average over the course of every minute of play this season. That’s because New England tends to get off to a hot start: The Patriots have led by 7.2 points after the first quarter of games this year, the best rate in the league.

The chart below shows the Game Script and Adjusted Pass Ratio for each team in the NFL through five weeks:

The table below presents the same information, along with a differential between our Adjusted Pass Ratio and the Adjusted Pass Ratio we’d expect a typical team to have based on its Game Script (i.e., its Expected Adjusted Pass Ratio). Here, a positive number means a team is more run-heavy, while a negative number means a team is more pass-happy.

TEAM ADJUSTED PASS RATIO AVG. GAME SCRIPT EXPECTED APR APR DIFF. 1 San Francisco 54.7 -3.2 64.8 +10.2 2 Los Angeles 57.0 -2.2 64.1 +7.1 3 Tennessee 57.1 -2.3 64.2 +7.1 4 Dallas 51.9 +6.1 58.1 +6.2 5 Houston 61.4 -4.7 65.9 +4.5 6 New England 53.9 7.0 57.4 +3.5 7 Cleveland 61.7 -3.6 65.2 +3.5 8 Minnesota 56.0 +5.6 58.5 +2.5 9 Carolina 60.2 -0.3 62.7 +2.5 10 Denver 60.3 -0.1 62.6 +2.4 11 Buffalo 57.5 +4.0 59.6 +2.1 12 Philadelphia 57.3 +5.2 58.7 +1.5 13 Arizona 61.4 +0.5 62.1 +0.8 14 N.Y. Jets 64.9 -3.1 64.8 -0.2 15 Miami 66.8 -5.4 66.5 -0.3 16 Tampa Bay 66.0 -3.9 65.4 -0.6 17 N.Y. Giants 65.3 -2.7 64.5 -0.9 18 Atlanta 59.6 +5.5 58.5 -1.1 19 Seattle 60.4 +5.7 58.4 -2.0 20 Cincinnati 67.2 -3.6 65.1 -2.1 21 Kansas City 70.9 -7.9 68.2 -2.6 22 Oakland 64.6 +0.8 61.9 -2.7 23 San Diego 60.9 +6.3 57.9 -3.0 24 Washington 67.0 -1.6 63.7 -3.3 25 Detroit 66.4 -0.8 63.1 -3.4 26 Baltimore 66.6 -0.7 63.0 -3.6 27 New Orleans 67.7 -2.1 64.0 -3.6 28 Chicago 67.7 -1.7 63.7 -4.0 29 Pittsburgh 63.0 +5.2 58.8 -4.3 30 Jacksonville 70.9 -5.0 66.1 -4.8 31 Green Bay 63.8 +6.0 58.2 -5.6 32 Indianapolis 70.3 -2.8 64.5 -5.7 Difference between expected and actual Adjusted Pass Ratio for 2016 NFL teams through Week 5 Sources: FootballPerspective.com, ESPN/TruMedia

The 49ers stand out as the most run-heavy team in the NFL. A lack of faith in the passing game is likely the biggest reason that Chip Kelly just benched Blaine Gabbert for Colin Kaepernick. The 49ers are a bad team, which would typically yield pass-heavy statistics; instead, San Francisco has the third-lowest Adjusted Pass Ratio this season before we adjust for Game Script. Note that traditional metrics (which would count a scramble as a run, not a pass) make the 49ers look even more run-heavy: The 49ers lead the league with 16 scrambles.

The Tennessee Titans also come across as very run-heavy, which isn’t surprising to fans who were expecting to watch “exotic smashmouth” football. Tennessee has become more run-heavy as the season has progressed and now looks like one of the top running teams behind running backs DeMarco Murray (92.2 rushing yards per game, 5.0 yards per carry) and Derrick Henry (a first down on 29.4 percent of his carries, second-best rate among running backs). Given that the Titans’ top two receivers were fifth– and seventh-round draft picks, a run-heavy game plan makes sense. And like San Francisco, the Titans look even more run-heavy if you treat Marcus Mariota’s nine scrambles for 87 yards as runs.

The Dallas Cowboys and Los Angeles Rams, behind superstar running backs Ezekiel Elliott and Todd Gurley, also come off as run-heavy. Dallas has the lowest Adjusted Pass Ratio in the NFL through five weeks; despite the team’s strong Game Script (+6.1), the Cowboys still clearly identify as a run-heavy team. Los Angeles, meanwhile, is blessed with Gurley but saddled with Case Keenum, owner of the lowest Total Quarterback Rating (QBR) in the NFL.

At the bottom of the list, star quarterbacks tilt the scales. Having Ben Roethlisberger, Andrew Luck, Drew Brees or Aaron Rodgers will cause a team to shift its ratio to the passing attack regardless of the score. But the presence of Chicago and Baltimore may surprise some folks.

Brian Hoyer leads the NFL in completion percentage, at 71.4 percent; he’s playing the best football of his career, which helps explain why the Bears are passing so much with their starting quarterback out. And until turning to Jordan Howard as the starter the past two weeks, Chicago had been one of the worst running teams in the NFL. Monitoring how the offense’s pass identity changes as we see more from both Hoyer and Howard will be one of the more interesting subplots of the Bears’ season.

And then there are the Ravens, who just fired offensive coordinator Marc Trestman. Some of the numbers here can help explain why. Over the past four weeks, quarterback Joe Flacco has thrown at least 40 passes in each game, despite having the worst yards per attempt average over that period of any passer. Worth monitoring this weekend against the New York Giants: whether new Ravens offensive coordinator Marty Mornhinweg switches to a more run-heavy approach.

These metrics helped identify which teams have been more likely to pass or run the ball, given the context of the score of the game. A team’s identity as a pass-happy or run-happy team can change, so we’ll revisit this idea in a few weeks to monitor those developments. But for now, this is a simple way to identify those teams that philosophically appear skewed toward the run or the pass.