The ‘Miracle of the Saints’ and more on Win Probabilities

The ‘Miracle of the Saints’

Embed from Getty Images

Three weeks ago, Carrara played host to a remarkable result, in what may have easily been scripted as an unremarkable match-up between 15th-placed Gold Coast and 16th-placed St Kilda at Metricon Stadium.

The off-Broadway match was one that may have easily slipped into the ether, with two no-hopers of 2018 playing in front of just over 10,000 spectators on the Gold Coast, and hardly demanding a television audience with a Saturday twilight time slot ahead of the Socceroos’ 2018 FIFA World Cup campaign launch against France.

The ScoreWorm as per the AFL Match Centre for 2018 R13 Gold Coast v St Kilda

Journalists were no doubt starting to sharpen the knives to finish off embattled coach Alan Richardson as the Saints trailed by 39 points with 26 minutes played in the third quarter. About 35 minutes – and 6.5 (41) to 0.0 (0) later – the Saints had completed the miracle with a dramatic two-point victory. It was the first match this season where a team had come back to win from a deficit of 30 points or greater.

‘Footballistics’ context

One of the 15 chapters in James Coventry’s new book ‘Footballistics’, named Win Probabilities, assesses various ‘heuristics’ or rules of thumb which are commonly adopted by the footy fan, pundit or commentator as a way to ‘call’ a victory for a particular team during a game. Thinking about it another way, this is when the individual believes that the in-game chance of victory for a particular team approaches close to 100 per cent.

In particular, the chapter considers the winning chances of teams meeting the criteria for three heuristics:

  1. Teams reaching 100 points before to their opposition (which considers only points scored)
  2. Teams with at least a 30-point lead (which considers points scored and points conceded)
  3. Teams leading by more goals than minutes remaining (which considers points scored, points conceded and time remaining – but typically relates only to the dying minutes of a match)

The winning rates of all these situations are discussed in some depth within the chapter.

The natural extension to these themes is the creation of a model which can provide an approximation to a probability of victory given point in a match – taking into consideration both scoring factors as well as time remaining. Left on the cutting room floor of the chapter were a list of the most unlikely comebacks, based on a simple logistic regression model I created at the time.

Coincidentally, the same topic was raised on Twitter over the following weekend following various throwbacks to the Bombers’ victory over the Kangaroos from a 69-point deficit in 2001.

I had dragged together much of this content following the St Kilda win over Gold Coast, but this Twitter conversation was the catalyst to (eventually) finishing the post (two weeks later).

A simple in-game model for win probabilities

Recently I have slightly updated the model to create a number of variations. One simpler but stronger combination, which I’ve named WinProb2, takes into account:

  • Percentage of game time duration remaining
  • In-game running margin of the chosen team
  • In-game running combined score (points) of both teams
  • In-game running combined scoring shots of both teams
  • In-game running difference in scoring shots of the chosen team relative to the opposition
  • Home team

For simplicity, estimate probabilities have been calculated at the time of each score, and a second prior to each score, for all in-game scoring events since 2008. In practice, what this means is that probabilities have been estimated as the ball has effectively carried through for a score but before the score has been officially recorded. It is an important point to note: the model doesn’t know where the play is situated, or what may have happened and is yet to be signalled – it only considers the simple attributes above.

The most unlikely successful comebacks since 2008

Using WinProb2 as the basis for estimate in-game win probabilities, the following lists the top 100 most unlikely successful comebacks across all AFL Premiership Season matches between Round 1 2008 and Round 16 2018 inclusive.

WP2SeasonRoundQuarterTimeTeamOpponentIn_game_marginEventual_margin
0.3%2013R13325:08Brisbane LionsGeelong-51+5
0.4%2008R4324:13Brisbane LionsPort Adelaide-47+20
0.5%2013R9415:13AdelaideNorth Melbourne-30+1
0.6%2015R6304:31St KildaWestern Bulldogs-55+7
0.7%2011R5329:33Gold CoastPort Adelaide-40+3
0.7%2011R23410:17EssendonPort Adelaide-34+7
0.8%2018R13326:06St KildaGold Coast-39+2
0.8%2008R21401:51CarltonBrisbane Lions-32+6
1.1%2013R23321:30CarltonPort Adelaide-38+1
1.2%2013R5320:00Port AdelaideWest Coast-41+5
1.2%2012R8413:42Port AdelaideNorth Melbourne-32+2
1.3%2008R7402:15MelbourneFremantle-32+6
1.5%2016R21400:19GeelongRichmond-35+4
1.5%2008R11319:06CarltonPort Adelaide-38+12
1.8%2017R15405:10Brisbane LionsEssendon-27+8
1.9%2008R17329:46RichmondBrisbane Lions-31+3
1.9%2015R1325:42SydneyEssendon-41+12
2.1%2017R2334:03GeelongNorth Melbourne-31+1
2.2%2009EF405:23Brisbane LionsCarlton-29+7
2.3%2008R17323:44CarltonWestern Bulldogs-31+28
2.4%2013R19422:01Port AdelaideAdelaide-20+4
2.6%2010R14322:25RichmondSydney-33+4
2.6%2009R17404:07GeelongHawthorn-28+1
2.7%2011R20413:48AdelaideBrisbane Lions-22+5
2.7%2014R6414:26CarltonWest Coast-24+3
3.1%2011R23319:53West CoastBrisbane Lions-29+8
3.1%2014R13305:06MelbourneEssendon-33+1
3.2%2008R6402:08GeelongFremantle-25+1
3.2%2008R5412:51North MelbourneCollingwood-21+7
3.3%2011R17315:38EssendonAdelaide-34+11
3.3%2008R11304:31SydneyWest Coast-37+5
3.3%2013R16325:02Brisbane LionsNorth Melbourne-33+12
3.4%2017R9405:30Greater Western SydneyRichmond-27+3
3.6%2013R22405:05EssendonCarlton-19+6
3.6%2013R2229:50GeelongNorth Melbourne-41+4
3.7%2011R11403:58HawthornFremantle-26+22
3.7%2017R13313:10SydneyRichmond-31+9
3.8%2015R9301:16CollingwoodNorth Melbourne-39+17
3.8%2013R14330:36EssendonWest Coast-23+7
3.9%2016R21423:57West CoastGreater Western Sydney-18+1
3.9%2013R3302:23EssendonFremantle-36+4
3.9%2015R15311:48Western BulldogsGold Coast-37+22
4.0%2015R13304:12RichmondSydney-33+18
4.0%2017R14425:13SydneyEssendon-19+1
4.1%2009R21131:48Brisbane LionsPort Adelaide-47+15
4.4%2012R16418:31Gold CoastRichmond-18+2
4.4%2017R9211:54CollingwoodHawthorn-43+18
4.5%2008R8414:00Western BulldogsFremantle-18+3
4.5%2012R22214:29HawthornSydney-38+7
4.5%2012R15219:31West CoastNorth Melbourne-35+2
4.5%2016R12316:36AdelaideWest Coast-26+29
4.6%2014R18406:38EssendonWestern Bulldogs-20+7
4.8%2015R13401:34AdelaideBrisbane Lions-24+13
5.1%2010R22417:30HawthornCollingwood-19+3
5.1%2017R14419:08MelbourneWest Coast-16+3
5.3%2012R23415:57St KildaCarlton-15+15
5.4%2008R13319:15Western BulldogsCollingwood-23+10
5.5%2008R16228:39SydneyCarlton-29+2
5.5%2011R9408:52CollingwoodAdelaide-23+43
5.6%2014R21310:35EssendonWest Coast-34+3
5.6%2008R16229:47St KildaHawthorn-34+30
5.6%2013R11315:47EssendonCarlton-31+5
5.6%2018R6401:56SydneyGeelong-22+17
5.6%2010R15210:17CollingwoodPort Adelaide-36+26
5.8%2008R9314:53North MelbourneWestern Bulldogs-24+3
5.9%2016R8416:15CarltonPort Adelaide-18+2
5.9%2011R17200:44Gold CoastRichmond-36+15
6.0%2010R6320:31St KildaWestern Bulldogs-23+3
6.2%2009R6302:34FremantleWest Coast-23+13
6.2%2012R22331:58Brisbane LionsPort Adelaide-19+11
6.2%2016R1328:26MelbourneGreater Western Sydney-22+2
6.2%2009R1210:06Brisbane LionsWest Coast-38+9
6.2%2013EF308:16CarltonRichmond-31+20
6.2%2014R22312:04HawthornGeelong-33+23
6.3%2011R1416:07FremantleBrisbane Lions-17+2
6.3%2017R4231:12FremantleMelbourne-27+2
6.3%2018R1408:38EssendonAdelaide-20+12
6.3%2017R18404:07CollingwoodWest Coast-24+8
6.3%2017R14327:01GeelongFremantle-27+2
6.3%2016R2423:12CollingwoodRichmond-17+1
6.4%2018R15327:29AdelaideWest Coast-27+10
6.4%2014R12303:15North MelbourneRichmond-35+28
6.5%2010R3330:25FremantleGeelong-21+7
6.5%2011R23315:00RichmondAdelaide-24+22
6.5%2014EF306:05North MelbourneEssendon-33+12
6.6%2009R11315:55AdelaideEssendon-21+16
6.7%2008R14209:36St KildaNorth Melbourne-33+15
6.8%2013R21210:00CarltonRichmond-30+10
6.8%2009R14206:03CarltonFremantle-36+15
6.9%2017R4307:17Western BulldogsNorth Melbourne-29+3
7.0%2017R10312:21MelbourneGold Coast-30+35
7.0%2014R4324:01Western BulldogsGreater Western Sydney-20+27
7.0%2017R8219:37MelbourneAdelaide-28+41
7.0%2012R16322:29FremantleMelbourne-20+34
7.0%2016R3401:28HawthornWestern Bulldogs-19+3
7.1%2008R19422:38SydneyFremantle-14+4
7.1%2012R10407:09Brisbane LionsWest Coast-21+2
7.2%2013R21325:09Western BulldogsAdelaide-22+17
7.2%2013R1226:52GeelongHawthorn-30+7
7.3%2008R12315:45CarltonCollingwood-24+30

The most unlikely victory across ten years was the ‘miracle on grass’ by Brisbane against Geelong once again in 2013. The Lions trailed 5.6 (36) to 13.10 (88) into time-on in the third quarter, with our model giving them just an estimated 0.3 per cent chance of victory. In what really was a remarkable result, Brisbane managed 10.7 (67) to 1.4 (10) in just over a quarter to pinch the game – and even then still needed a kick after a siren, thanks to Ashley McGrath’s effort from about 50 metres in a fairytale 200th game. Clearly an unlikely result, whether you are talking in layman’s terms or mathematically.

It is of interest that even though only three of the top ten most bleak situations occurred in the final quarter, the going was that tight that all but one still only resulted in a winning margin of a seven point or fewer. It suggests that, even with well over a quarter of play remaining in the match, many of the wins were that tight that the trailing team needed every last minute remaining. The only match which ended in comfortable result was the remarkable 2008 match between Brisbane and Port Adelaide. In that game, the Power led by 47 points during time-on in the third quarter, before the Lions somehow found 11.8 (74) to 1.1 (7) from that point onwards to eventually win easily. Given nine of the top 31 results are from that season of 2008, I am conscious that the model perhaps is too well-calibrated to a modern, more-stodgier style of game play and may overstate the chances of a large comeback required in a higher-scoring game ten years ago.

But other comebacks came from particular dire circumstances are found late in final terms. In Round 9 of 2013, the Crows were 30 points down half way through the final quarter against the Kangaroos with an estimated chance of just 0.5 per cent, but managed to win by a point in a stunning result. At 21st position on the table, another game later in that season featured Adelaide finding itself on the other side of the ledger. The Crows this time led the Power in the Showdown by 20 points well into time on, with Port Adelaide given just a 2.4 per cent chance but still able to find a way to win by four points.

And lo and behold, well entrenched inside the top ten was the St Kilda performance against Gold Coast back in Round 13. The Saints may not have had too much to get excited about this season, but that result was one of the most unlikely in over a decade.

The ‘greatest comeback of all time’

Embed from Getty Images

Casting our minds back to the Bombers’ greatest comeback of all time against the Kangaroos, I applied the WinProb2 model according to the scores at the moment prior to Essendon’s goal eating into the then-69-point margin. Intriguingly, given the length of game duration remaining combined with the high scoring rate, the model estimated the Bombers still maintained a 2.4% chance of victory – placing 20 comebacks more unlikely in the past ten years alone. One thing I must note is that match was an outrageously high scoring game for the time, never mind for the dour matches of today. Because the model has only been trained on in-game score data since 2008, the model has had very little chance at being exposed to such extreme scoring , which may weaken the level of certainty around its estimate predictions.

Possible improvements

There were other various parameters I played with but they didn’t greatly improve the model, and I liked how well this model performed against one with many other combination of parameters given its simplicity. For example, I attempted trying to control for a ‘scoring end’ (based on wind or weather conditions), by taking into account the scoring rate at each end and the time teams had played to each end. This perhaps may pick up a stronger signal in a future improved model by factoring for various grounds (say, University of Tasmania Stadium in Launceston which seems to be often dominated by windy conditions).

One other definite improvement would be to understand contextualised chances of victory based on team quality and the pre-game estimate chance of victory. The only factor in the current models which takes into account any team context is a flag for the home team (which proves to be advantageous). This would come at the cost of moving the model away from its current simplicity, but would be a natural progression from considering factors based upon merely scoring, margin and time. To get a much better understanding of the chance of winning for a specific side against a specific opponent, a team- or player-based rating model would be required. I am yet to build one of these, but you will find team ratings at excellent sites like Matter of StatsSquiggle, The Arc and a lovely player-based rating model at HPN.

Another element that needs to be modelled differently is the probability of victory within the last minutes of a match where the margin is small. The model is not well calibrated to deal with predicting results with margins tight in the last five per cent or so of matches. I’ve played with a few combinations but as yet I haven’t clocked this one, so I would hesitate to use the existing model to provide estimate probabilities on these types of matches.

Finally, the bias towards 2008 in the results may suggest that it is not adequately fitted to different modes of play across seasons earlier in the sample.

Further analysis

I am looking to build out these models and add more analysis on this topic in future weeks. To view every ScoreWorm since 2008, feel free to browse and play with my dynamic visualisation.

To read more about footy analysis driven by data, why not support great footy writing and our nation’s broadcaster by purchasing ‘Footballistics: How the data analytics revolution is uncovering footy’s hidden truths’ from the ABC Shop.

Feedback

I am very open to feedback on this or any of my analysis. I expect many readers may have a deeper grounding in statistics than myself, and love to learn. If I have missed something, made an error, or if you have any suggestions or ideas, please feel free to comment below, shoot me a direct message or hit me up on Twitter.

All data provided for analysis on this page comes thanks to AFL Tables.