Monday, June 27, 2016

NHL teams strategize when to play for overtime

Here's an article I found a year ago in the Journal of Sports Economics, but didn't get around to writing about until now.

It's by Michael Lopez, and it's called "Inefficiencies in the National Hockey League Points System and the Teams That Take Advantage." 

As is well-known, NHL teams have an incentive to get games to go to overtime. If a game is settled in regulation, the winning team gets two standings points, while the loser gets none. However, if a game goes to overtime or a shootout, the winning team gets the same two points -- but the losing team gets one point too.

An overtime game is better for teams, in general, because they get to split three points between them instead of just two. So it's no surprise than NHL teams respond to the incentive. In the first thirteen seasons after the "loser point" rule was adopted, the frequency of overtime games jumped from 20.2 percent to 23.6 percent. (Coincidentally, it's the same 23.6 percent before and after the shootout was adopted.)

Lopez's paper was able to quantify two new additional findings:

1. Games are more likely to go to overtime later in the season than earlier; and

2. Games are more likely to go into overtime when teams are not in the same conference.

These make sense, intuitively. Later in the season, some teams are fighting desperately for a playoff spot, and the extra standings point is much more important for them in terms of leverage. And, whether a team makes the playoffs depends only on the other teams in its own conference, so sharing an extra point with an other-conference opponent doesn't cost anything at all. (Well, maybe it might, rarely, cost home-ice advantage in the finals, but that's highly unlikely.)

As mentioned, 23.6 percent of games went to overtime in the shootout era. But the overtime percentage varies substantially by situation:

25.4% Inter-conference games
23.2% Within-conference games 

22.0% September-December games
23.8% January-February games
25.6% March games
29.3% April games

The conference difference is only significant at p=.08, but the month difference is significant at p=.001.

-------

But, Lopez found, the differences are actually larger than those raw percentages, because the two situations aren't independent. As it turns out, the NHL tends to schedule within-conference games late in the season. That's for drama, so that the most meaningful, high-leverage games are likely to be against historical rivals.

Because of that, the two effects partially cancel each other out. The late-season effect tends to increase overtimes, but those games tend to be within-conference, which decreases them.

Lopez separated out those factors with a regression. Calculating from his coefficients, and assuming teams of equal talent, I get:

23.5% within conference, early in season
26.2% different conference, early in season
31.8% within conference, April
35.0% different conference, April

So, the differences are a lot bigger than the raw numbers show.

---------

Something else that's interesting: the "within conference" effect is very recent.

The overall conference effect was 2.7 percentage points (26.2 versus 23.5). But, almost the entire effect came from the last two seasons in the study. For the study's first twelve years, there was almost no difference at all, on average. But in 2010-11 and 2011-12, the conference effects were 4.7 and 5.8 percentage points, respectively.

It's like teams suddenly caught on to the idea that they don't want to give points away to conference opponents.

But ... well, it seems to me that strategy doesn't really make a whole lot of sense.

Yes, it's true that you don't get an advantage against your rival by playing for three points instead of two. It almost seems like it's worse -- if you win in overtime, you only gain one point on your opponent (you get two, they get one). But if you win in regulation, you gain two points!  Except that it's symmetrical ... if *they* beat *you* in overtime, they only gain one point on you. 

The disadvantage comes not from any negative expectation -- it's symmetrical, after all -- but that the other-conference games come with a *positive* expectation.  You share three points instead of two, but your opponent's gain is not your loss, so the more points to split, the better.

So, against that particular opponent, the inter-conference overtime game is much better for you, with 50 percent more points up for grabs, and no penalty for the points the other team takes, beyond your disappointment at not getting them yourself.

The problem, though, is: that's only true for the one team you're playing against. But, you're not just competing in the standings against this one particular opponent. You're also competing against the other 12 (West) or 14 (East) teams in the conference! If you can raise the expected payoff to 1.5 points each instead of 1.0, you break even against the one same-conference opponent, but gain an expected half point against at least 12 other teams!

Sure, there's *a bit* less incentive within conference, because you stand to gain on only 12 teams, instead of 13 teams when you win an inter-conference game. But, that's so small a drop in incentive that you shouldn't even see it. 

To repeat an analogy I've used in the past: If you see a $2 coin in the street, you'll pick it up. If it's only a $1 coin, sure, you're less likely to pick it up, in theory. But, in practice? You'll still pick it up so often that nobody will be able to tell the difference. It's like a 99.99% chance compared to a 99.98% chance, or something.

-------

Also: why should there be a March/April effect?  Every game counts equally in the standings. A November game is just as important for making the playoffs, on average, as an April game.

Of course, in April you *know* how important the game is, whereas for a November game, it might, in retrospect, turn out to have been meaningless. But, since games count equally, the overall leverages have to be the same. If that's the case, then for every absolutely crucial April game, there must be an offsetting meaningless one, in order for the April average to equal the November average.

I wonder if the April effect applies only to the most important games. Maybe teams are thinking, "well, we feel a bit weird lowering our intensity to play for the regulation tie, so we're only going to do it when it's really, really important."  In other words, the probability of overtime doesn't increase smoothly with leverage -- instead, it takes a big jump when the pressure to gain points is exceptionally high. 

Maybe I'm 100% willing to steal food if I'm on the brink of starvation, but I'm not 50% willing to steal food if I'm only halfway to starving. In the latter case, the risk isn't worth it.

It could be the same thing here. Maybe teams aren't willing to play a less intense strategy (or whatever they do to play for overtime) when it's an ordinary, early-season game. But, when it's *really* important, that's when it's worth the trouble.


Labels: , , , ,

Sunday, July 18, 2010

A Pythagorean formula to predict overtime winners

There's a study in the latest JQAS where we learn something concrete about teams' probabilities of winning overtime games. It's called "Predicting Overtime with the Pythagorean Formula," by Jason W. Rosenfeld, Jake I. Fisher, Daniel Adler, and Carl Morris.

The "usual" pythagorean formula looks like

winning percentage = RS^a / (RS^a + RA^a)

where RS = runs scored (or points scored, or goals scored), RA = runs allowed, and "a" is an exponent that makes the equation work for the particular sport.

The original formula for baseball used an exponent of 2; it was later found that 1.83 was better, and there's a version called "PythagenPat" that varies the exponent according to league-average runs scoring.


Anyway, the authors start by taking a bunch of real-life games in three of the four major sports, and finding the best-fit exponent. They come up with:

NBA: 14.05
MLB: 1.94
NFL: 2.59

Those are the best exponents for full games. Now, what about overtime?

From the title of the paper, you'd think that the authors would do the same thing, but for overtime games: look at overtime runs scored and allowed, and find the best fit exponent.

But that's not actually what they have in mind. Their actual question is something like: suppose a baseball team scores 5 runs per game and allows 4 runs per game in general. Using the usual exponent of 2, that team should have a winning percentage of .610. But: what should that team's winning percentage be if we limit the sample to extra-inning games?

That is: forget how many runs that team *actually* scored in extra innings. Assume only its *expectation* in extra innings, that it will, on average, continue to score 5 runs to its opponents' 4 (after adjusting for the effects of walk-offs). What percentage of tie games do you now expect it to win in extra innings?

To figure that out, the authors use a database of actual tie games, and try to find the exponent on "regular" RS and RA that match the team's actual extra-inning record. But, for extra-inning games, you can't assume the opposing teams average out to .500. So the authors made an assumption: that you can adjust the team's RS/RA ratio by dividing it by its opposition's.

So, again, suppose our team outscores its opponents 5 to 4, but now it's in the 10th inning against a team that also outscores its opponents, 4.75 to 4.25. Our team has a RS/RA ratio of 1.25. The other team has an RS/RA ratio of only 1.18. Dividing the two numbers gives 1.06. And, so, for this particular game, our team will go into the database with a ratio of 1.06 -- as if it scores 4.24 runs for every 4.00 runs it gives up.

Having made that adjustment for each of the overtime games in the database -- 1,012 NBA, 269 NFL, and 1,775 MLB -- the authors computed what pythagorean exponent gave the best predictions. Here's what they found:

NBA: 9.22 overtime
MLB: 0.94 overtime
NFL: 1.18 overtime

So, if our baseball team scores 5 and allows 4, for a .610 winning percentage overall. What would its winning percentage be in extra-inning games? To get the result, just rerun the pythag formula with an exponent of 0.94. The answer: .552. Seems quite reasonable.

The authors do a similar calculation for teams that are .750 overall (which isn't that realistic for baseball, but never mind). The results:

NBA: a .750 team is .673 in overtime
NFL: a .750 team is .616 in overtime
MLB: a .750 team is .630 in extra-innings

------

This is good stuff and new knowledge -- an empirical result that we didn't have before. Because of that, I'm even willing to forgive the authors' not including the NHL. Actually, for hockey, you don't need empirical data to figure it out -- at least if you assume the playoff sudden-death format, where they play indefinitely until one team scores. In that case, the exponent must be very close to 1.00.

Why? Imagine that team A scores 4 goals a game, and team B scores 3. If you mix those 7 goals up in random order, and pick the first one to be the overtime winner, the probability is obviously 4/(4+3) that team A wins, and 3/(4+3) that team B wins. In other words, the pythagorean formula with an exponent of exactly 1.


It might actually be a little less -- better teams have more empty-net goals, which really should be eliminated from the overtime calculation. Also, better teams might have slightly better power plays, and, because there are fewer penalties in overtime, that might reduce their chances a bit. Still, an exponent of 1.00 is probably close.

------

The study gives us a pretty good empirical answer to the question it asks. But, to be picky, we could argue that there's not necessarily a reason that Pythagoras should work, theoretically. That's because, in MLB and the NFL, the overtime game is scored differently from the regular game.

Take football first. In an NFL overtime (ignoring this year's rule change), the first team to score wins, and it doesn't matter whether it's a field goal or a touchdown. So it's no longer a game of *points* -- it's a game of *scoring plays*. To properly predict who wins, you want to know about the teams' probabilities of scoring, unweighted by points. For instance, suppose team Q scores 28 points a game, and team R scores 20 points a game. But Q does it with four touchdowns, and R does it with two TDs and two field goals. In that case, you'd expect the two teams to have exactly equal chances of winning in overtime, since they score the *same number of times per game*. There would be no real reason to expect a pythgorean formula to work that's based on points -- you'd want a pythagorean formula that's based on scoring plays.

(Except for one complication: you'd need to somehow estimate how many extra field goals the touchdown team would score if they never went for a touchdown while in field-goal range. That is: sometimes a team will be at their opponent's 20 yard line, but they'll go for the TD instead, and, as a result, they'll sometimes lose the ball without getting any score at all. So a TD might really be the equivalent of (say) 1.2 field goals in terms of scoring plays, because, maybe for every TD scored, there's 0.2 potential FGs that they lost by failing a TD drive other times. If the ratio were 2.33, of course, then points would work perfectly, since 2.33 equals 7 divided by 3. But I suspect that it's not nearly that high.)

A similar argument applies to baseball. In the NFL, an overtime "big inning" (TD) is worth exactly the same as a "one-run inning" (FG). That's not quite the case in MLB -- it's still better to score four runs in the top of the 10th than to score just one run. But, not *much* better. In extra innings, what matters more is *your chance of scoring* in an inning, and not the average number of runs (which matters more in a full game).

Having said that, I should say that I'm not sure it matters very much at all. I'm sure that, in baseball, big-inning and small-inning teams have different pythagorean exponents too, but we don't worry about that too much. So why should we really worry about it here?

------

Finally, two questions I don't know the answers to.

First, the authors write,

"One might expect the relative alphas [overtime exponent divided by regular exponent] in these three sports to equate roughly to the square root of the relative lengths of overtime, compared to a full-length game. If so, that would suggest hat the NBA overtime alpha would be 5, not the NBA's estimated 9.22."


Is there a reason the square root argument should be true? I mean, yeah, when you talk about standard deviations, you use the square root of sample size, but, here, we're talking about the value of an exponent. So is there a mathematical argument for why it should be true anyway?

Second: on page 13 of the study, the paragraph before the section break, the authors give an calculation that, if you eliminate the NFL overtime coin flip, a .750 team's probability of winning the overtime would rise from .6116 to .6160. I don't understand the calculation, and the change in winning percentage seems low. Can anyone explain?



Labels: , , , , ,

Saturday, January 02, 2010

Gabriel Desjardins: NHL teams are playing for overtime

In the National Hockey League, the losing team gets zero points in the standings if it loses in regulation time, but one point if it loses in overtime or the shootout. Either way, the winning team gets two points. That means that, if a game is tied after 60 minutes, three points will be split between the teams instead of two. In theory, this should give teams an incentive to "play for the tie" and thus increase the joint reward by 50 percent.

To see how important that third point is, suppose that one average NHL team were to successfully collude with all the other teams to play to a regulation tie. Both teams would ensure that they didn't score in regulation, but, come overtime, both teams would now try hard to win.

What would happen? Well, if it's an average team, it would win 41 games, for two points each, and lose 41 regulation ties, for one point each. That would give it a total of 123 points on the season.

123 points would have led the league last year.

Of course, no team is going to collude to play every game to overtime. But the incentive is still high. On average, getting to overtime gets you 1.5 points. To claim 1.5 points in a regulation game requires a winning percentage of .750. So, for all but the very best teams, it's theoretically better to wait for overtime than to try to win in regulation.

Now, teams aren't actually going to act to maximize their expected points this way, for obvious reasons. First, the fans care about more than just standings points -- they want to be entertained. Paying customers and home viewers will get very upset at having to sit through 60 minutes of ragging the puck before the real action starts. Second, you could argue the idea of teams trying not to win (or even trying not to win "right now") is damaging to the integrity of the game.

Still, the incentive is there, and you should expect that teams will respond to it in whatever ways they can get away with. In a study I did about three years ago, I found that teams are playing to more regulation ties than they used to. After adjusting for the league level of scoring, there was about a 24 percent increase in the frequency of regulation ties in the NHL.

-------

Is it getting worse? Last week, in a Wall Street Journal column, hockey researcher Gabriel Desjardins found that it is, and also some striking evidence that might suggest why.

Gabriel found that in the past two years, 22.5% of games were tied after 60 minutes, almost exactly the same as in 2005 to 2007. You could conclude that the effect has levelled off. But, this year, there's been a jump. So far this year, Gabriel found, 27.9 percent of games have gone to overtime.


Why is this happening? Well, Gabriel observes, if teams are playing for the regulation tie, you'd expect them to concentrate their efforts in games where the score is tied late. After all, it's hard to play to preserve a tie in the middle of the first period: you'll have to change your style of play for 50 minutes.

So Gabriel looked at what happens in games that are tied with three minutes left in the third period. What did he find?

-- In the past four seasons, scoring in the last three minutes is at about a third less than normal;

-- This season, it's dropped even further: it's more than 60% fewer than normal!

Here are Gabriel's numbers. I've listed the "overall" rates for comparison. Numbers are goals per 60 minutes.

2005-06: 4.27 vs. 6.17 overall
2006-07: 3.04 vs. 5.89
2007-08: 4.64 vs. 5.57
2008-09: 3.43 vs. 5.83
2009-10: 2.05 vs. 5.68 (approx.)

Note the huge drop this season. Is it real?

Well, I counted 157 games that went to overtime this year so far. I'm counting 10 days later than Gabriel was, so let's lower that to 145. If we assume there were also 145 games tied in the last three minutes, that's 435 minutes of hockey, or 7.25 games. If we assume that the distribution of goals per game (in the last three minutes) is Poisson with a mean of 4 (which is roughly the average of the past four years), that means the variance is also 4 (in a Poisson distribution, the mean equals the variance). That means the standard deviation is 2 goals per game. To get the SD of the average over 7.25 games, we divide by the square root of 7.25, which gives 0.74.

So the difference between this year's figure of 2.05, and the expected figure of about 4.00, is a bit less than 3 standard deviations. That's fairly significant. It's probably a combination of something real happening, and a certain amount of luck. But even if some of it is luck, the number does jump out at you.

------

Is the NHL happy with this state of affairs, where teams are playing for a tie where they can get away with it? I think, overall, they are. From the standpoint of the league, there are both pros and cons.

On the pro side, more overtime games equals more excitement. More overtimes also means more shootouts, and fans seem to like shootouts.

More subtly, games decided in overtime are less likely to be won by the better team, since there are only five minutes in which the better team must emerge instead of 60. The same is true for shootouts. Indeed, shootouts are so random, or at least so uncorrelated with the other skills of the team, that Gabriel also found evidence that teams might also be playing for the tie in overtime, hoping to get to the shootout. Overtime scoring is also down this year, by the equivalent of about one goal per 60 minutes.

All this means that the winners are more random, which means the standings are more random, which means that more teams are in the hunt for a playoff spot. As I write this, only one team in the East is more than five points out of the playoffs, and only one team in the West is more than ten points out.

And even though the result of any given overtime may be mostly random, it's likely that the better teams are less likely to appear in overtimes, being able to beat their opponents in the first three periods. In that case, the effect is to award the "extra" third points to worse teams more often than better teams, which also has the effect of compressing the standings. I'm not actually sure how large an effect this is, but logic suggests that it must happen to some extent.

On the con side ... I guess the hockey would be a bit less exciting late in the game when both teams are playing for the tie. And, because of the randomness, you might get the most talented teams a bit less likely to move up in the standings. Those seem like pretty small cons.

So I can see why the league likes the new system ... the pros do seem to outweigh the cons, as far as fan interest goes.

But I hate it.

Part of the reason is personal taste; I don't like the idea that you can lose and still gain ground in the standings. And I don't like the idea that mediocre teams are collectively rewarded for not being able to put the other team away. As a statistician, it bugs me that some games are worth three points and some games worth two.

But the more important reason is that I don't like the incentives. When teams go into the game, from the very beginning, hoping it winds up a tie ... well, I think that's just wrong. And when the tie game gets to the third period, between two teams both fighting to make the playoffs, you know that both coaches are seriously thinking about getting to overtime, and securing themselves at least one point. You know that, if they could, they would collude to keep the game tied until the end of regulation. And, for all I know, there might already be some kind of unspoken agreement that certain things won't be done in the last few minutes of a tie game. I'm not expert enough to spot that, but the lower scoring in tie games speaks for itself.

The bottom line is that with the extra point available for the tie, teams aren't playing every instant of every game with the same strategy and desire to win that they would otherwise. And that can't be good for the game.


Labels: , , ,

Saturday, March 21, 2009

NCAA overtime probabilities

In NCAA basketball on March 12, Syracuse beat UConn 127-117 -- after six overtime periods.

At "The Daily Fix," Carl Bialik analyzes the frequency of NCAA multiple-overtime games, and finds that they happen pretty much as you'd expect from a simple probability calculation.


Labels: , ,

Thursday, January 29, 2009

Tim Harford on NFL overtime

At Slate, economist Tim Harford lends support to the "auction" suggestion for NFL overtime.

As it stands now, possession on OT is determined by a coin toss; the team that loses the toss has to kick off from their own 30-yard line. But that's too big an advantage for the receiving team. From 2000 to 2007, Brian Burke reports that teams winning the toss won 60% of games.

Harford suggests that the 30-yard line was appropriate back when the rule was created in 1974, before field-goal kickers got so good. But now, it gives too much of an advantage to the flip winner.

He suggests, as did Brian before him, that the teams themselves decide what yard line is fair. One way to do this is to flip a coin again; the loser of the flip picks a yard line, and the winner of the flip then decides whether to start on offense (at that yard line), or defense (where the other team starts at that yard line).

Another possibility is an auction. The referee will start naming off yard lines, starting at the 1 and moving up. As soon as one of the coaches is willing to take the ball on offense at that line, he throws down his challenge flag.

Either one of these options sounds reasonable to me. I prefer the first one, because, after a few tries, there will emerge a consensus wisdom on what the right yard line is, and what looks to be the fun drama of the auction will get boring pretty quick. Plus, you might need a replay to see which coach was first, if they both choose the same outcome.

Labels: , ,

Tuesday, January 15, 2008

The Edmonton Oilers: shooting for shootouts?

Here's an article, a couple of weeks old, from hockey author Jeff Z. Klein on the prevalence of regulation ties in the NHL.

Klein notes that since there is now an incentive to proceed to overtime – the teams split there points between them instead of two – teams are playing for the tie. Specifically, the Edmonton Oilers, who had 13 ties in their first 35 games – a huge number. Klein argues that the Oilers are even playing for the tie in overtime, hoping to proceed to the shootout, where they are 10-2. He says that none of the 13 ties was broken in overtime – the equivalent of 65 minutes of 0-0 hockey. (However, the
Oilers did indeed lose in overtime on December 10.)

Since the article was published, the Oilers have three more ties in nine more games. Two ended with a sudden death goal, one in a shootout.

So in 46 games, the Oilers have 16 ties. They are 1-2 in OT, and 10-3 in shootouts.

Klein suggests removing the incentive by awarding three points for a regulation win, instead of two. But he quotes Anaheim's Brian Burke as calling that a "terrible idea."



“If something ain’t broke,” [Burke] said, “there’s no reason to try and fix it.”

But it seems to me that when teams are deliberately trying not to score because of incentives the league has offered them, something is definitely broke. And people are starting to talk about the problem. I'd be surprised if the NHL doesn't change the system sometime over the next few years.

P.S. My previous study on regulation ties is described here.

Labels: , , ,