{"id":12,"date":"2019-09-30T01:29:38","date_gmt":"2019-09-30T01:29:38","guid":{"rendered":"http:\/\/www.stattosoftware.com\/consulting\/?p=12"},"modified":"2019-10-29T03:08:28","modified_gmt":"2019-10-29T03:08:28","slug":"afl-its-only-a-50-50-game-in-the-last-couple-minutes-if-its-tied","status":"publish","type":"post","link":"https:\/\/www.stattosoftware.com\/consulting\/2019\/09\/30\/afl-its-only-a-50-50-game-in-the-last-couple-minutes-if-its-tied\/","title":{"rendered":"AFL: It&#8217;s only a 50-50 game in the last couple minutes if it&#8217;s tied"},"content":{"rendered":"\n<p> While bathed in controversy, the GWS-Collingwood 2019 preliminary final was a clear case of &#8220;next goal wins.&#8221; The Pies had the last nine scoring shots, kicking 4.5 to 0.0 after the 5:30 mark of the 4th quarter. From 27:57 to the sound of the siren at 34:57, GWS held a 4-point lead.<\/p>\n\n\n\n<p>Even with Collingwood&#8217;s momentum, predictive models showed GWS were always predicted to win the match in the 4th quarter, even at a one-goal margin without any momentum (though momentum is overrated statistically.) This was a curious problem for me, as the expectation would be the match was 50%-50% late on, especially after two late behinds which would have given Collingwood a lead with another goal, but the computers always gave GWS a good 60% chance of winning at worst. Doing some fairly simple simulation, I wanted to determine whether this would be accurate &#8211; what percentage chance does a team four points down have of winning the game at a specific time?<\/p>\n\n\n\n<p>Four points is an interesting question, since it more or less removes the chance a behind would be scored that would influence the outcome of the game. Let&#8217;s look at some assumptions:<br>&#8211; 4739 goals were kicked in the first 206 games of the 2019 AFL season, or about 23 a game, nearly on the number.<br>&#8211; 3513 behinds were kicked, about 17 a game.<br>&#8211; At 23 goals\/game, the odds a goal will be kicked in a given second are 23\/4800 (number of seconds in a match), or 0.0047%, or about 1 goal every 3.54 minutes. Of course, the odds of whether a goal will be scored in a given second vary wildly based on the pitch location of the ball, but this is a nice average for simulation purposes. (If a goal is scored in one second, the next second will have a 0% chance of producing a goal, but this was not built in.)<br>&#8211; Only one goal can be scored in a given second &#8211; an easy assumption, more of a rule, perhaps.<\/p>\n\n\n\n<p>Assumptions in hand, let&#8217;s now take a single pinpoint of a match: the 17:00 mark of the 4th quarter, ignoring time on (TV time counting down from 3:00.) The away team has a four point lead, and the teams are exactly equal in strength. Running our simulation 100,000 times shows the away team will win the game 74.4% of the time, with the home team kicking the goal(s) they need to win 25.6% of the time. In 40.7% of games, no goal is kicked by either team. If my math is right (away team win probability when a goal is kicked = 74.4% &#8211; (100% &#8211; 40.7%)), that means in games where at least one goal is kicked, the team with the lead still wins 56.8% of the time.<\/p>\n\n\n\n<p> But what if the teams aren&#8217;t equal? The line on the Collingwood-GWS game was Collingwood -21.5, or about three and a half goals. That means Collingwood&#8217;s rough expected goals using the average goals\/game calculated above would be approximately 13.25 to 9.75, or a 79.5 to 58.5 win (ignoring behinds). This would weight Collingwood as having a 57% chance to score any given goal in a game.<\/p>\n\n\n\n<p>Running the simulation to give Collingwood a 57% chance of kicking a goal only decreases GWS&#8217; odds of winning to about 69.9% from 74.4%. In this simulation, &#8220;only&#8221; 40.6% of games didn&#8217;t feature a goal, functionally the same as before. This number&#8217;s important, however &#8211; if this event happens, GWS win! Even if Collingwood are weighted to kick goals 100% to 0% of the time, GWS still win the game no less than 40.6% of the time.<\/p>\n\n\n\n<p>Given the assumptions baked into the simulation, Collingwood only win 50.7% of the games in which a goal is kicked. A true 50-50 game &#8211; but only if at least one goal is kicked!<\/p>\n\n\n\n<p>Obviously there&#8217;s a lot of potential for error in this simulation, including not simulating behinds. The rate at which goals are scored may increase in high leverage situations, for one &#8211; I haven&#8217;t looked into leverage but would like to. Still, if your team is up by 4 with 3 minutes to play, and it feels like a &#8220;next goal wins,&#8221; it&#8217;s quite likely a &#8220;next goal wins&#8221;, but because of the high likelihood no goal is scored, it&#8217;s not a 50-50 game.<\/p>\n\n\n\n<p>The odds of winning also go up steadily as the number of seconds in a simulation gets closer to zero. Given a starting 52-56 scoreline, at two minutes, GWS&#8217; win rate gets up to 76.5%, at one minute it&#8217;s 86%, 30 seconds 92%, and 15 seconds remaining interestingly only 96.1% (as there&#8217;s a 6% chance of a goal being scored in any given 15-second span.)<\/p>\n\n\n\n<p>Of course, with the benefit of hindsight, if Collingwood had kicked a goal, the 2019 grand final would have been 99% more likely to be interesting to a neutral.  That being said, it does support the fact that what feels like a 50-50  game will be estimated correctly by a predictive model if it favours the winning team. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>While bathed in controversy, the GWS-Collingwood 2019 preliminary final was a clear case of &#8220;next goal wins.&#8221; The Pies had the last nine scoring shots, kicking 4.5 to 0.0 after the 5:30 mark of the 4th quarter. From 27:57 to the sound of the siren at 34:57, GWS held a 4-point lead. Even with Collingwood&#8217;s &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.stattosoftware.com\/consulting\/2019\/09\/30\/afl-its-only-a-50-50-game-in-the-last-couple-minutes-if-its-tied\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AFL: It&#8217;s only a 50-50 game in the last couple minutes if it&#8217;s tied&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[9,7],"tags":[3,2,4],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-australian-rules-football","category-sports-analytics","tag-analytics","tag-aussie-rules","tag-win-probability","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pbkw4b-c","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/posts\/12\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stattosoftware.com\/consulting\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}