<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adetunji Odedina on Medium]]></title>
        <description><![CDATA[Stories by Adetunji Odedina on Medium]]></description>
        <link>https://medium.com/@tunjidina12?source=rss-a694bc7c3e63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xV-DR2v6PstmNdWYHmBOhw.png</url>
            <title>Stories by Adetunji Odedina on Medium</title>
            <link>https://medium.com/@tunjidina12?source=rss-a694bc7c3e63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:55:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tunjidina12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Quiet Conversations That Shape How We Think About AI]]></title>
            <link>https://medium.com/@tunjidina12/the-quiet-conversations-that-shape-how-we-think-about-ai-f0ee27ba29a2?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0ee27ba29a2</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 18:23:19 GMT</pubDate>
            <atom:updated>2026-08-06T18:23:19.661Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LK1KO7LMHJB_Yb1FMwVLzg.png" /></figure><p>I went to a networking event expecting to make connections. I left having to refine an opinion I had held for some time.</p><p>When I accepted an invitation to Monzo’s <em>Beyond the Data</em> event, I had the usual objectives in mind: expand my network, hear from people doing interesting work, maybe learn something about where financial services is heading. What I did not expect was for a conversation yesterday to sharpen a view I thought I would already worked out.</p><p>Having spent years in business aspect of banking before moving into data and AI, I have always been drawn to the tension between innovation and regulation. Like a lot of people working in this space, I had formed my own read on the pace of AI adoption in regulated industries, broadly, that UK and European financial institutions were moving more cautiously than their counterparts elsewhere. It felt like a reasonable, well-evidenced position.</p><h4>The Room, Not Just the Stage</h4><p>The event itself delivered on the usual fronts, but what struck me most was not what happened on stage. It was the room. People from different industries, disciplines, and career paths, all there out of genuine curiosity about data, technology and where financial services is going. A useful reminder that the best ideas rarely come from a single lane, they come from the friction between different ones.</p><h4>Purposeful vs. Responsible</h4><p>The highlight of the evening was a conversation during the networking session with Nathaniel, Monzo’s Data Director for Marketing. It picked up on themes I had written about before, but pushed me to think harder about them. The exchange made something click: conversations about AI adoption are rarely about the technology itself. They’re about how organisations choose to adopt it responsibly, within the regulatory and operational realities they actually operate in.</p><p>That conversation didn’t overturn my thinking. It refined it.</p><p>I had been framing AI adoption as a question of fast versus slow. What I started to see instead was a better distinction: purposeful versus responsible. In a sector like financial services, innovation was never going to be measured by speed alone. It is measured by governance, by the trust customers place in an institution, by regulatory expectation, and perhaps most tellingly, by whether the value being created is real and measurable, not just fast to ship. “Slow” is not necessarily the opposite of innovative. Sometimes it’s what disciplined innovation looks like from the outside.</p><h4>A Different Pressure, Outside Financial Services</h4><p>A separate conversation with another attendee, from an industry well outside financial services, added a useful counterweight to that view. Their experience was not one of caution — it was the opposite. In their organisation, the expectation that AI should make everyone faster had translated into a steady rise in output demands, to the point where it felt overwhelming. AI had not just changed how the work got done; it had reset what “normal” output looked like, regardless of whether the tools or the processes around them were actually ready for that pace.</p><p>Set against the Monzo conversation, it was a striking contrast. In financial services, regulation forces a kind of discipline around AI adoption — slower, perhaps, but deliberate. Outside it, in the absence of that same structure, the pressure can move in the other direction: adoption driven less by readiness and more by assumption, with people absorbing the gap between the two. It reinforced that “responsible” adoption is not only about compliance. It’s also about organisations being honest with themselves about what AI can realistically deliver, and not letting expectation outrun capability.</p><h4>What the Conversations Leave You With</h4><p>Both conversations stayed with me after the event ended. They are a reminder that some of the most useful professional moments do not come from the keynote. They come from the exchanges afterward that make you question something you thought was settled or see a familiar problem from an angle you had not considered.</p><p>Networking events get sold on outcomes like the next role or the next connection. Those matter. But this one reminded me they offer something just as valuable and far less talked about: the chance to have your thinking tested and improved by people who see the same problem from different angles.</p><h4>Where This Leaves the Conversation</h4><p>As AI continues to reshape how organisations work, I think the real conversation is shifting. It’s less about whether organisations should adopt AI and more about how they do it responsibly matching expectation to capability, whether that discipline is imposed by regulation or chosen deliberately in its absence.</p><p>This is not the deep-dive I usually publish, it is just a reflection I felt was worth sharing while it was still fresh.</p><p>How do you see AI adoption playing out in your industry? Is caution holding innovation back, is expectation running ahead of readiness, or is something more balanced taking shape? I would be interested to hear how others are thinking about this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0ee27ba29a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Collapse of the Lobour Economy]]></title>
            <link>https://medium.com/@tunjidina12/the-collapse-of-the-lobour-economy-a6bce8c69dac?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6bce8c69dac</guid>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[capitalism]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Mon, 27 Jul 2026 22:34:29 GMT</pubDate>
            <atom:updated>2026-07-27T22:34:29.300Z</atom:updated>
            <content:encoded><![CDATA[<p><em>AI is not just disrupting capitalism, it is severing the labour‑driven demand loop that keeps the economy alive.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QE0wXhSVnSczxdUdeCzjvw.png" /><figcaption>AI Generated Image</figcaption></figure><h4>The moment the Lobour Economy breaks</h4><p>For two centuries, the global economy has been powered by one simple engine:</p><blockquote>Labour → Income → Demand → Production → More Labour</blockquote><p>This loop is the beating heart of capitalism.</p><p>But AI, especially autonomous agentic AI, is about to snap this loop in half.</p><p>Not gradually. Not gently. But structurally.</p><p>We are entering an era where intelligence becomes capital and capital no longer needs human workers to generate output. When that happens, the labour economy does not decline, it collapses.</p><h4>The Labour Market Was Never Designed for Non‑Human Workers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*WYg4eB0wQJ-8Ftf7LvSJpA.png" /><figcaption>Supply-Demand Cycle (Simplified)</figcaption></figure><p>The modern labour market assumes:</p><ul><li>humans perform tasks</li><li>humans earn wages</li><li>wages fund consumption</li><li>consumption drives GDP</li></ul><p>This is why:</p><ul><li>governments obsess over unemployment</li><li>recessions are defined by job losses</li><li>productivity is tied to human effort</li></ul><p>But AI breaks every assumption:</p><ul><li>AI performs tasks</li><li>AI does not earn wages</li><li>AI does not consume</li><li>AI does not create demand</li></ul><blockquote>AI can produce <strong>supply</strong>, but it cannot produce <strong>demand</strong>.</blockquote><p>This is the paradox that destabilizes the entire system.</p><h4>The First Crack: AI Replaces Tasks — Until It Replaces Jobs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*Gx14oIqGAJznuJ9tqYsqFw.png" /><figcaption>AI Agents Performing Human jobs</figcaption></figure><p>Economists often comfort themselves with:</p><blockquote>“AI replaces tasks, not jobs.”</blockquote><p>That was true for automation. It is <strong>not</strong> true for autonomous AI.</p><p>AI agents can now:</p><ul><li>write code</li><li>design products</li><li>negotiate contracts</li><li>manage logistics</li><li>run marketing campaigns</li><li>perform legal analysis</li><li>diagnose medical conditions</li><li>operate machinery</li><li>generate creative content</li></ul><blockquote>These are not tasks. These are <strong>jobs</strong>.</blockquote><p>Once AI becomes cheaper, faster and more reliable than humans, the incentive to hire humans evaporates.</p><h4>The Second Crack: Wages Disappear Before Jobs Do</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i0i3ApXhDBZor6_kju6UiA.png" /><figcaption>Paycheck Downward Trend</figcaption></figure><p>Even before full automation, wages begin to fall:</p><ul><li>high‑wage roles replaced by AI</li><li>remaining roles become low‑paid “human oversight”</li><li>gig‑style micro‑jobs replace stable employment</li><li>productivity rises but wage share of GDP falls</li></ul><p>This is already happening.</p><p>When wages fall, demand falls. When demand falls, the labour economy weakens. AI accelerates the decline.</p><h4>The Third Crack: Capital Absorbs All Productivity Gains</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sm11WvVKbtzlHZYoam577w.png" /><figcaption>Callapse of Labour income</figcaption></figure><p>In a traditional economy:</p><ul><li>labour and capital share gains</li><li>wages rise with output</li><li>workers benefit from growth</li></ul><p>In an AI economy:</p><ul><li>capital owns the AI</li><li>AI produces the output</li><li>capital captures the gains</li><li>labour receives nothing</li></ul><p>A handful of AI owners become trillionaires. Everyone else becomes economically irrelevant.</p><p>This is not a moral argument. It is a <strong>mathematical</strong> one.</p><h4>The Collapse Point: When Labor Stops Being the Source of Demand</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wm351A-3TvqqUSVnRf6YeA.png" /><figcaption>Severed Labour-Demand Loop</figcaption></figure><p>The labour economy collapses when:</p><ul><li>labour no longer earns income</li><li>income no longer drives demand</li><li>demand no longer sustains production</li></ul><p>You cannot have:</p><ul><li>infinite supply</li><li>zero wages</li><li>zero demand</li><li>and a functioning market economy</li></ul><p>This is the collapse point, the moment capitalism must evolve or implode.</p><h4>What Collapse Looks Like in Real Life</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tq40cXascxrUTGvuigxhYw.png" /><figcaption>Collapsed System</figcaption></figure><p>Collapse is not dramatic. It is silent, gradual, structural.</p><p>It looks like:</p><ul><li>rising unemployment</li><li>falling wages</li><li>shrinking middle class</li><li>declining consumer spending</li><li>deflationary pressure</li><li>corporate consolidation</li><li>political instability</li><li>social fragmentation</li></ul><p>It looks like abundance without access.</p><h4>Why Collapse Is Inevitable — Unless We Redesign the System</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dG2UT5C2bq7mhnwiqLMBwA.png" /><figcaption>Broken Economic Architecture</figcaption></figure><p>The labor economy collapses because:</p><ul><li>AI replaces labour</li><li>labour loses income</li><li>income loses purchasing power</li><li>purchasing power loses demand</li><li>demand loses relevance</li><li>production loses purpose</li></ul><p>This is not a crisis of jobs. It is a crisis of <strong>economic architecture</strong>.</p><p>The system must evolve from:</p><blockquote><strong>Labour → Income → Demand → Production</strong> to <strong>AI Production → Redistribution → Demand → Stability</strong></blockquote><p>Without this evolution, collapse is guaranteed.</p><h4>The Transition: From Labor Economy to AI Wealth Economy</h4><p>Part 1 ends here — at the collapse point.</p><p>Part 2 will explore the next phase:</p><ul><li>How AI-generated wealth can be redistributed</li><li>How demand can be sustained without wages</li><li>How new institutions must emerge</li><li>How humans remain economically relevant</li><li>How capitalism transforms into something new</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJvxwzC69Loj8-oY5avxZA.png" /><figcaption>The bridge</figcaption></figure><p>Keep reading and keep growing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6bce8c69dac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 2026 World Cup Knockout Stage: A Data Story from Round of 32 Shocks to Spain’s Victory]]></title>
            <link>https://medium.com/@tunjidina12/the-2026-world-cup-knockout-stage-a-data-story-from-round-of-32-shocks-to-spains-victory-a0343c24d451?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0343c24d451</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Thu, 23 Jul 2026 06:43:29 GMT</pubDate>
            <atom:updated>2026-07-23T06:43:29.091Z</atom:updated>
            <content:encoded><![CDATA[<p>How the forecasting model fared across the entire 2026 World Cup knockout stage from Round of 32 to the Final.</p><p><em>Spain are champions. The model said so. It also thought France would beat England for bronze and England won 6–4. Both of those facts matter and together they tell the real story of forecasting football.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cSwsw-zR9iqNZ04CDSkBSQ.png" /></figure><p>When Spain lifted the World Cup trophy in New Jersey, the story was not just on the pitch, it was also in the data.</p><p>Across the entire knockout stage, this transparent statistical model tracked every tie from the Round of 32 to the Final. It was not perfect (no honest model is), but it was calibrated, disciplined and crucially it picked the right champion.</p><p>And watching the Final live made its predictions feel even more real.</p><h4>Watching the Final Through Human Eyes</h4><p>As I sat and watched the Final between Spain and Argentina, I could not help thinking about how differently humans and models “see” a football match.</p><p>Spain’s dominance was visible from the first whistle: sustained pressure, controlled possession, and repeated attacking waves that forced Argentina deeper and deeper. Argentina spent most of the night intercepting, blocking, surviving, registering only a handful of meaningful attempts compared to Spain’s relentless output.</p><p>What struck me was how closely this mirrored what the model had been signalling for days:</p><blockquote>Spain at 60% — a narrow but meaningful edge built on the tournament’s best defence and a stable attacking engine.</blockquote><p>Watching Spain dictate the game while Argentina clung on made the model’s probability feel less like a prediction and more like an explanation of what was unfolding in real time.</p><h4>How the Model Performed Across the Knockout Stage</h4><p>Across 32 knockout matches, the model delivered as posted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*L-h3PDtLBWyRQPzHYAOgeA.png" /><figcaption>Model Performance Evaluation</figcaption></figure><p>It was not flawless. Penalty shootouts and one chaotic 6–4 bronze match dragged down the metrics. But the model stayed honest: it never pretended to know what nobody could.</p><p>And when it mattered most, it crowned the right champion.</p><h4>How the Model Works</h4><p>If you have read my earlier articles, the methodology in the image below will already feel familiar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4dR3CD-RWiiZTtkVEvWwOg.png" /><figcaption>Model Methodolgy</figcaption></figure><p>The model updates round‑by‑round using real results, but never uses a match to predict itself, no lookahead, no shortcuts. It’s pure statistics: no betting‑market inputs, no subjective adjustments.</p><h4>Round-by-Round Review</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*3zZFKCZrvBEZR2JwPw1hwg.png" /><figcaption>Round by Round Review</figcaption></figure><p>In addition to the table above, the following is noteworthy:</p><p>Round of 32 — Model in its element 14 of 16 favourites advanced (Brier 0.138). The only misses were two penalty shootouts, exactly the kind of coin‑flip outcomes the model never over‑commits to.</p><p>Round of 16 — Chaos arrived Accuracy dipped to 5/8 (Brier 0.223). Norway stunned Brazil, England edged Mexico, and all three co‑hosts crashed out. Underdogs simply delivered.</p><p>Quarter‑finals — Perfect round 4/4 correct (Brier 0.086). Clear favourites, clear outcomes — the model at its most clinical.</p><p>Semi‑finals — One right, one toss‑up Argentina won as expected. Spain beat France in a true 53/48 coin‑flip, barely a “miss.”</p><p>Bronze Final — The model’s worst call England beat France 6–4 despite France’s 76% rating. A loose, experimental match and compressed ratings made this the outlier (Brier 0.581).</p><p>Final — The mic‑drop Spain were 60% favourites and won 1–0 in extra time. A tight, low‑scoring match — exactly the profile the model anticipated.</p><h4>Tournament-Wide Insights</h4><ul><li>Strong model: 78% hit rate, 0.170 Brier, AUC 0.835. A stable, well‑calibrated statistical forecasting.</li><li>Over‑performers: Spain, Norway, Morocco, England, plus the penalty‑specialists (Paraguay, Egypt, Switzerland).</li><li>Under‑performers: Brazil, Germany, France, and all three co‑hosts (USA, Mexico, Canada).</li><li>Predictability: Argentina followed the model perfectly until the Final; Norway and shootout teams were pure volatility.</li><li>Model behaviour: No “learning” — statistical models apply deterministic and fixed rules. Round‑to‑round swings were variance; calibration stayed solid.</li></ul><h4>Model Strengths</h4><ul><li>Calibrated honesty: When it said 70%, it meant 70% — rare and valuable.</li><li>Strong discrimination: AUC 0.835 — reliably separated stronger from weaker sides.</li><li>Called the champion: Spain at 60%, backed by a defence‑first xG rationale.</li><li>Volatility awareness: Correctly flagged most coin‑flip matches as chaotic.</li></ul><h4>Model Weaknesses</h4><ul><li>Penalties are unforecastable: ~19% of ties went to shootouts; the model treats them as coin‑flips, so they inflate error by design.</li><li>Bronze‑match chaos: The 6–4 England–France game (France 76%) was the model’s worst miss. The third‑place playoffs are loose, low‑signal fixtures the model can’t encode.</li><li>Small‑field distortion: Final‑four min‑max scaling compressed ratings and deflated England; a global scale or z‑scores would fix this.</li><li>Proxy xG: Without shot‑level data, “xG” was score‑derived; real xG would sharpen attack/defence separation.</li><li>No venue adjustment: Model assumed neutral venues throughout, missing host and location effects.</li></ul><h4>What the Model Saw Coming</h4><ul><li>Spain’s defensive supremacy — one goal conceded in seven matches</li><li>Argentina’s predictable march to the Final</li><li>Every quarter‑final winner</li><li>The Final’s shape — tight, low‑scoring, decided by a single moment</li></ul><p>The model did not just get results right but also it got the <em>context</em> right.</p><h4>What Surprised the Model</h4><p>Football reminded us why it’s football:</p><ul><li>Norway knocking out Brazil</li><li>Germany falling to Paraguay on penalties</li><li>All three co‑hosts exiting in the Round of 16</li><li>England beating France 6–4 in a bronze‑game thriller</li></ul><p>Every shock lived in the model’s “chaos zone” — coin‑flip matches, penalty shootouts, or low‑stakes fixtures where structure dissolves.</p><p>Surprised? Yes. Wrong? Not really.</p><h4>The Bigger Lesson: Forecasting Football Is Humility in Motion</h4><p>A good model does not fight uncertainty. It embraces it.</p><p>It tells you when Spain vs France is a coin‑flip. It warns you when Australia vs Egypt is chaos waiting to happen. It quantifies edges without pretending they are certainties.</p><p>And when Spain finally scored in extra time, it felt like the numbers and the football agreed, just for one night.</p><h3>Final Verdict</h3><p>Grade: A−. It’s a calibrated, transparent, reproducible statistical model that beat professional benchmarks and correctly picked the eventual champions.</p><blockquote>That grade is not a formal modelling standard, but it communicates clearly to non‑technical readers what the results show.</blockquote><p>Its weaknesses were the right weaknesses: penalties, freak scorelines and small‑sample distortions — all inherently hard to forecast.</p><p>With real shot‑level xG and better late‑stage scaling, it would sharpen further. Even so, the core story holds: the model got the champion right, football delivered the drama and that’s exactly the balance we want.</p><h4>What’s Next</h4><p>This concludes the World Cup 2026 series — an exciting project from start to finish and one that genuinely opened my eyes to a range of new possibilities I will be sharing in future work. As promised, I will now begin exploring areas beyond football, which I have already started doing if you read my last article, while still dropping the occasional football piece when the moment demands it. If you’ve enjoyed this journey, follow to stay connected to everything coming next.</p><p>Keep learning and keep growing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0343c24d451" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Silicon Valley Bank’s Balance Sheet Was Telling Us — A Year Before It Failed]]></title>
            <link>https://medium.com/@tunjidina12/what-silicon-valley-banks-balance-sheet-was-telling-us-a-year-before-it-failed-950ad6a7ba68?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/950ad6a7ba68</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 15:02:46 GMT</pubDate>
            <atom:updated>2026-07-17T15:02:46.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWlY5ftVVOlcSvOBm-YjwA.png" /></figure><p><em>A research on 858 U.S. bank failures, a Cox survival model and what Silicon Valley Bank’s balance sheet looked like a year before it collapsed</em>.</p><p>With more than a decade in banking and a later qualification in data science and AI, I have learned that the most powerful risk insights often come from pairing domain intuition with transparent, public data. That belief led me to test a simple idea:</p><blockquote>Could an analyst, using only what regulators already publish, have flagged the risk in Silicon Valley Bank, Signature Bank, and First Republic a year before they failed?</blockquote><p>When Silicon Valley Bank collapsed in March 2023, followed two days later by Signature Bank and then First Republic in May, the familiar refrain echoed across the industry: <em>how did nobody see this coming?</em></p><p>But I kept coming back to a different question. Was it truly invisible? Or was the warning sitting quietly in a free government API the entire time?</p><p>That curiosity and honestly, a bit of frustration, is what sent me down this rabbit hole.</p><p>Not “can I build a state‑of‑the‑art bank‑failure model?” Plenty of academic work has done that with proprietary datasets and massive samples.</p><p>A narrower, more honest question:</p><blockquote>Using nothing but data anyone can pull from a free government API right now, how far can a careful analyst actually get?</blockquote><p>Every U.S. bank failure since 1934 sits in a public dataset. So does every quarterly Call Report ratio that quietly signalled it. I built an early‑warning model on top of that data to find out.</p><h4>Finding the Data and Building the Panel</h4><p>The FDIC’s BankFind Suite API is one of the most overlooked public datasets in banking. It contains every U.S. bank failure since 1934 — all 4,115 of them — along with failure dates, resolution types, balance‑sheet size, and the cost to the Deposit Insurance Fund. It’s completely open: no API key, no restrictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*3EblnnqEdlkJAy5PBFP8gQ.png" /><figcaption>Figure 1. U.S. bank failures by year, 1992–2023 (FDIC BankFind Suite, n=858), with the savings-and-loan aftermath, 2008 global financial crisis, and 2023 regional-bank crisis eras shaded</figcaption></figure><p>The same API also provides decades of quarterly Call Report ratios for every U.S. bank — capital, ROA, noncurrent loans, net interest margin — the core metrics examiners rely on. Combined with macro data from the Federal Reserve’s FRED database, you have everything needed to ask a simple question:</p><blockquote>Did the numbers already know?</blockquote><p>To explore that, I built a 297‑institution panel spanning every major U.S. bank‑failure cycle since 1992:</p><ul><li>the savings‑and‑loan aftermath</li><li>the 2008 financial crisis</li><li>the 2023 regional‑bank crisis</li></ul><p>The panel pairs 151 failed banks with 146 survivors, each represented by a snapshot of its CAMELS‑style financial ratios roughly a year before its fate was decided.</p><blockquote>All data used in this study comes from publicly available U.S. government sources (FDIC BankFind Suite API, FDIC SDI Call Report data and Federal Reserve FRED). These datasets are public domain and impose no restrictions on academic or analytical use.</blockquote><p>The takeaway is straightforward: the warning signs were not hidden. They were sitting in public data the entire time.</p><h4>What the Numbers Actually Show</h4><p>Before any modelling, the distress is already visible in the raw data. The table below compares key Call Report ratios for banks that survived versus those that failed, using snapshots taken roughly twelve months before their eventual outcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*s1Sn3n2YXnPU2DDXlfTmJA.png" /><figcaption>Table 1. Summary statistics of Call Report ratios by eventual outcome, twelve-month pre-failure/matched snapshot (n=297: 146 survived, 151 failed)</figcaption></figure><p>Even a quick glance shows how sharply the two groups diverge:</p><ul><li>Return on Assets (ROA): surviving banks sit around +1.0%, while failed banks are already at –3.7%</li><li>Capital ratios: survivors hold 9.5%, failed banks just 3.5%</li><li>Noncurrent loans: failed banks show levels almost ten times higher</li><li>Equity: nearly 10% of failed banks already had negative equity a year before collapse</li></ul><p>This is not a subtle signal buried in noise. It is loud. And it is sitting in public data, updated quarterly, for every bank in the country.</p><h4>Two Models</h4><p>Two components — deliberately simple and explainable.</p><h4>1. Logistic Regression + Gradient Boosting</h4><p>I kept the first model deliberately simple and not a black box.</p><p>The goal was straightforward: predict whether a bank is likely to fail within 12 months using only public Call Report ratios.</p><p>Despite the simplicity, the performance was strong:</p><ul><li>Cross‑validated AUC: 0.99</li><li>Out‑of‑time AUC (trained only on failures through 2014, tested on 2019 + 2023 banks): 0.94–0.98</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*FODgTcaeppLZHI3bxSWRsg.png" /><figcaption>Figure 2. Out-of-time ROC comparison, logistic regression versus gradient boosting, trained on failures through 2014 and tested on the 2019 and 2022–2023 cohorts (n=27), including SVB, Signature Bank and First Republic Bank.</figcaption></figure><p>That out‑of‑time test is the real benchmark. It is the only honest way to ask:</p><blockquote>Does this model generalize to a failure mode it has never seen before?</blockquote><p>And that matters, because the 2023 failures were driven by interest‑rate shocks and deposit‑run dynamics which is very different from the credit‑loss‑driven failures dominating the training data. Even with that blind spot, the model still held up.</p><p>In short, a simple, transparent model using only public ratios can reliably flag elevated failure risk a year ahead even for banks caught in a crisis the model was not trained on.</p><h4>2. Cox Proportional‑Hazards Survival Model</h4><p>This is where the analysis becomes genuinely interesting. Most bank‑failure models since Meyer &amp; Pifer (1970) treat the question as binary — <em>will this bank fail or not?</em> That is useful for triage, but it does not tell supervisors anything about urgency.</p><p>To capture this, I fit a Cox survival model, treating each surviving bank as censored at 12 months and each failed bank’s failure date as the event.</p><blockquote>The output is not a probability. It’s a predicted survival time.</blockquote><p>The hazard‑ratio summary shows the drivers clearly: strong capital and earnings slow down failure risk, while high noncurrent loans and large size accelerate it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*sK0PzFRpgviaNa4Dkt8NtQ.png" /><figcaption>Table 2. Cox proportional-hazards model: hazard ratios (per one-standard-deviation covariate increase) and Wald p-values, n=297, concordance index = 0.863.</figcaption></figure><p>The survival‑curve plot makes this intuitive. Healthy banks stay stable across the full year. “Weak” banks see their survival probability fall quickly. “Critical” banks drop below the 50% threshold within just a few months.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*2e4gKgix2GgKRm00lOkEww.png" /><figcaption>Figure 3: Cox model predicted survival curves for Healthy, Weak (early-warning), and Critical (near-failure) illustrative bank profiles.</figcaption></figure><p>The cumulative‑hazard view shows the same pattern from the opposite angle: risk builds slowly for healthy banks and rapidly for distressed ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*O3vLuCJHkbizkgEH-Cj3lg.png" /><figcaption>Figure 4: Cox model cumulative hazard functions for the same three illustrative profiles.</figcaption></figure><p>Overall performance is strong (concordance: 0.86). A “weak” bank profile has roughly 10 months of runway; push those ratios deeper into distress and that shrinks to about 4 months.</p><p>In short, the Cox model turns a risk score into a timeline — something supervisors can actually act on.</p><h4>The Stress Test</h4><p>To see how the model behaves under pressure, I ran a CCAR‑style “severely adverse” scenario on the most recent surviving‑bank cohort (December 2022). I shocked three core ratios:</p><ul><li>unemployment +4 points</li><li>capital –4 points</li><li>noncurrent loans +6 points</li></ul><p>Under normal conditions, the model predicts an average failure probability of about 3%. Under the stressed scenario, that jumps to 99% — as the table below shows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*2M6REz86RSvfWwBuv0mKnA.png" /><figcaption>Table 3. Severely-adverse macroeconomic stress test: baseline versus shocked predicted 12-month failure probability, December 2022 surviving cohort (n=10).</figcaption></figure><p>That result should make anyone suspicious. It made me suspicious.</p><p>The jump is too extreme to be a calibrated real‑world estimate. The case‑control design creates a sharp divide between “healthy” and “distressed,” which makes the model oversensitive once inputs move toward distress. In other words: the model reacts correctly in direction, but too aggressively in magnitude.</p><blockquote>A production‑grade version would need proper calibration like Platt scaling before those percentages can be interpreted literally.</blockquote><p>The important point is not the exact number, but the behaviour: when conditions deteriorate, the model responds sharply. The discomfort comes from recognising that the response is qualitatively right, but quantitatively exaggerated — and being honest about that.</p><h4>What I would Build Next</h4><p>I have other articles and projects underway, but if I kept developing this one, the path is clear.</p><p>I would start by pulling the full quarterly history for all failed and surviving banks and loading it into a SQL database — unlocking trend features like capital erosion and liquidity drift.</p><p>Next, I would add SVB‑style structural risks already visible in public data: funding concentration, uninsured‑deposit share, HTM exposure, and similar vulnerabilities.</p><p>Finally, I would build an full supervisory workflow that pulls the latest quarter, scores the bank, retrieves exam history and news and drafts a supervisory memo.</p><p>The model is only a small part of the system. The real leverage comes from retrieval and synthesis, turning raw public data into something supervisors can act on.</p><h4>What This Project Really Shows</h4><p>This research shows how far a careful analyst can get using nothing but free public data. With only the FDIC and Federal Reserve APIs, it is possible to build a reproducible panel of U.S. banks across three decades of distress, train a failure classifier that performs strongly even on recent high‑profile collapses, and fit a survival model that produces practical runway estimates; roughly 10 months for early‑warning cases and 4 months for critical ones.</p><p>The limits are real and must be stated plainly: case‑control sampling inflates calibration, large failures introduce a size bias and severe stress tests produce sharper responses than reality. These issues are structural and must be addressed before any operational deployment.</p><p>But the core finding stands.</p><blockquote>The raw material for earlier failure detection already exists in public quarterly filings. With proper calibration, reframing the output from a static risk flag to a time‑to‑event estimate would materially improve supervisory triage and intervention timing — all built from data anyone can download today.</blockquote><p>If you found this work valuable, stay tuned — I expect to develop this project further and prepare it for journal publication, which I will share once completed. Follow me for more research‑driven pieces like this.</p><p>Keep learning, and keep growing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=950ad6a7ba68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[World Cup 2026: Round of 16 Is Set]]></title>
            <link>https://medium.com/@tunjidina12/world-cup-2026-round-of-16-is-set-2b8ec167f4d0?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b8ec167f4d0</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[sports-statistics]]></category>
            <category><![CDATA[football-analytics]]></category>
            <category><![CDATA[world-cup-2026]]></category>
            <category><![CDATA[predictive-modeling]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Sat, 04 Jul 2026 18:10:00 GMT</pubDate>
            <atom:updated>2026-07-04T18:21:53.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cUQDtKEExzQYv8ISDET0EA.png" /><figcaption>Model Workflow</figcaption></figure><p>The bracket has been refreshed with real results — and the entire model has been rebuilt from scratch.</p><blockquote>Three penalty‑shootout upsets (Paraguay, Morocco, Egypt) survived the Round of 32, reshaping the path ahead. With those shocks absorbed, the transparent framework now projects the last 16.</blockquote><p>This edition walks through how the model updated, what the new numbers say and where the round’s real volatility lies.</p><h4>How the Model Updated</h4><p>Every advancing team’s recent‑form score was recalculated to include its Round‑of‑32 performance. From there, the full pipeline was re‑run:</p><ul><li>refreshed form</li><li>recomputed team strength</li><li>updated expected‑goals profiles</li><li>new Poisson scorelines</li><li>penalty logic</li><li>10,000‑run simulation</li></ul><blockquote>R32 results → refreshed form → new strength → xG → Poisson → 10,000 sims</blockquote><p>Long‑term ratings remain the pre‑tournament anchor, ensuring R32 results aren’t double-counted. No betting markets, no subjective tweaks — just statistical xG driving the engine.</p><h4>The Probabilities</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*oenyljoKtQNsL1LqMM-jRQ.png" /><figcaption>R16 Monte Carlo Simulation Results</figcaption></figure><p>The round is defined by three heavy favourites, one standout model lean and a cluster of genuine coin‑flips.</p><h4>Match‑by‑Match Breakdown</h4><p>Paraguay vs France — xG 0.53–2.98 France (92%) stand as the round’s strongest favourite. Paraguay’s penalty heroics don’t survive contact with the best recent‑form side left.</p><p>Canada vs Morocco — xG 1.32–1.43 A genuine toss‑up (Morocco 54% / Canada 46%). Morocco arrive off a shootout upset; Canada’s tournament form keeps the hosts fully alive.</p><p>Brazil vs Norway — xG 2.19–1.10 Brazil (73%) are clear but not untouchable. Norway’s squad quality gives it a real puncher’s chance.</p><p>Mexico vs England — xG 1.30–1.00 The model’s standout lean: Mexico 57% over higher‑rated England, powered by superior group‑plus‑knockout form. High penalty exposure.</p><p>Portugal vs Spain — xG 0.82–1.25 Spain (62%) favoured in the Iberian derby. Portugal’s pedigree keeps it dangerous — one of the round’s likeliest shootouts.</p><p>USA vs Belgium — xG 1.54–1.62 The tightest tie on the board (Belgium 52% / USA 48%). Essentially level.</p><p>Argentina vs Egypt — xG 2.32–0.85 Argentina (80%) strongly favoured. Egypt’s upset path leaves it a long shot, but not zero.</p><p>Switzerland vs Colombia — xG 0.96–1.14 Colombia edges it (55% / 45%) in a low‑scoring matchup with the round’s highest penalty probability.</p><h4>Key Insights</h4><p>Clear favourites: France (92%), Argentina (80%), Brazil (73%).</p><p>True coin‑flips: USA–Belgium, Canada–Morocco, Switzerland–Colombia — all inside 52/48.</p><p>Model lean: Mexico over England (57%) — the standout call against the ratings grain.</p><p>Penalty hotspots: Switzerland–Colombia (~30%), Portugal–Spain (~29%), Mexico–England (~28%), Canada–Morocco (~25%).</p><p>Wide open: Across 10,000 runs, the eight ties produced 241 distinct outcome sets (of 256). The most common set appeared just 3.0% of the time.</p><p>This round is built for chaos.</p><h4>What’s Next</h4><p>Quarter‑finals run from July 9–11. Once all eight Round‑of‑16 matches are final, the model will refresh again — form updated, strength recomputed, simulation re‑run. Pending that outcome I will release full analysis of the model performance for round of 32.</p><p>Follow me for more.</p><p>Keep learning and keep growing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b8ec167f4d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Forecasting the 2026 World Cup Round of 32]]></title>
            <link>https://medium.com/@tunjidina12/forecasting-the-2026-world-cup-round-of-32-a4c84aeb72a6?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4c84aeb72a6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[world-cup]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[sports]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Tue, 30 Jun 2026 09:52:48 GMT</pubDate>
            <atom:updated>2026-06-30T09:54:27.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7oky7jmO32856cm9buNGHw.png" /><figcaption>AI generated Image</figcaption></figure><p><em>A transparent, reproducible model — from squad sheets to 10,000 simulations</em></p><p>This week’s edition breaks down how the first knockout round was converted into calibrated probabilities — and what the numbers actually say about who progresses.</p><h4>Introduction</h4><p>The 2026 World Cup introduces a new challenge: a Round of 32. Sixteen knockout matches, no margin for error, and a structure designed to produce volatility. My goal here isn’t to deliver a “perfect” bracket. It’s to produce defensible, reproducible probabilities for every match.</p><p>Predicting knockout football is inherently difficult. Three issues dominate:</p><ul><li>Teams enter with only three group matches — the sample is thin.</li><li>Draws go straight to penalties, which behave like coin flips.</li><li>Variance rules the format — even a 70% favourite still loses 30% of the time.</li></ul><blockquote>The aim isn’t to eliminate uncertainty. It’s to quantify it honestly.</blockquote><p>This is where a modular workflow matters. Each stage reads clean data, writes clean data, and can be audited or replaced without breaking the chain.</p><h4>Data Pipeline</h4><p>The model layers multiple independent signals:</p><ul><li>Five years of competitive matches</li><li>Elo ratings</li><li>FIFA rankings</li><li>2026 group-stage results</li><li>Squad-quality metrics (league and club strength for every player)</li></ul><p>Before modelling, all inputs pass through anomaly correction. Blowouts are trimmed, soft fixtures are down-weighted and short-term form is anchored to long-term strength. Clean inputs are non-negotiable.</p><h4>Team-Strength Ratings</h4><p>Each team’s rating is built from three independent components:</p><ul><li>Long‑term strength — a blend of Elo and FIFA points</li><li>Recent form — opponent‑adjusted results from the 2026 group stage</li><li>Squad quality — league and club pedigree across the full roster</li></ul><p>These are combined into a single composite score using a simple weighted structure:</p><ul><li>40% long‑term strength</li><li>35% recent form</li><li>25% squad quality</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*H5PdoPac11ae2Q09ayAJfQ.png" /><figcaption>Basic Team-Strength Model</figcaption></figure><blockquote>The weighting ensures balance: high‑pedigree squads (e.g., Portugal) retain credit even after a subdued group stage, while form-driven teams (e.g., Mexico, USA) are rewarded for outperforming expectations.</blockquote><p>You can optimise these weights if you want to chase marginal gains, but for now we stick with the straightforward, transparent basic version.</p><h4>Expected Goals (xG)</h4><p>Every downstream calculation relies on one value per team per match: expected goals (xG).</p><p>We generate xG using a statistical model built from the team‑strength ratings, with regularisation to prevent extreme outputs. This edition uses purely statistical xG values — no market inputs, no synthetic betting lines, just the model’s own calculations.</p><h4>Poisson Scoreline Predictions</h4><p>With xG in place, a Poisson model generates the full distribution of possible scorelines. From that, we derive:</p><ul><li>Win probability</li><li>Draw probability</li><li>Loss probability</li></ul><p>Draws trigger penalties, modelled as near 50–50 events. The model also identifies each match’s most likely scorelines.</p><h4>Monte Carlo Simulation</h4><p>To capture the full range of outcomes, the entire round is simulated 10,000 times. Each run resolves all sixteen matches, including simulated shootouts where required.</p><p>From these runs we extract:</p><ul><li>Advancement probability</li><li>Upset frequency</li><li>Volatility scores (highest for evenly matched ties)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*It-XQI-xRkpop5-yACNE0g.png" /><figcaption>Monte Carlo Simulation at 10,000 runs</figcaption></figure><h4>Key Insights</h4><p>A clear top tier emerges:</p><ul><li>France, USA, Argentina — each advance in ~84% of simulations</li><li>Spain, Switzerland, Colombia, England, Mexico — strong secondary tier</li></ul><p>The volatility sits in the middle:</p><ul><li>Australia–Egypt and Côte d’Ivoire–Norway are genuine coin-flips</li><li>Credible upsets: Morocco over Netherlands, Senegal over Belgium, Japan over Brazil</li><li>Most penalty-prone ties: Australia–Egypt, Colombia–Ghana, Mexico–Ecuador</li></ul><p>The standout finding: across 10,000 simulations, the model produced 6,000+ distinct brackets. The most common bracket appeared 0.28% of the time. There is no “likely” bracket — only a distribution.</p><h4>Round of 32 Predictions</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtO3evqlcu9SpsnJtZdbEA.png" /><figcaption>Round of 32 Predictions (Educational Purpose only)</figcaption></figure><p>The Round-of-32 results indicate strong favourites alongside substantial irreducible uncertainty. The framework demonstrates that reproducible, assumption-transparent methods can characterise knockout football probabilistically.</p><h3>What’s Next</h3><p>The next step is straightforward: we carry these advancement probabilities into the Round of 16 model and run the same workflow again for confirmed fixtures. The codes are being hosted on Github for technical readers.</p><p>You can also follow me on Linkedin <a href="https://www.linkedin.com/in/adetunjiodedina/">https://www.linkedin.com/in/adetunjiodedina/</a> where this is published as newsletter and was released earlier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c84aeb72a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Free Football Data to Forecasting: Building a Reproducible World Cup 2026 Pipeline]]></title>
            <link>https://medium.com/@tunjidina12/from-free-football-data-to-forecasting-building-a-reproducible-world-cup-2026-pipeline-00273a29ec9d?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/00273a29ec9d</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 19:30:48 GMT</pubDate>
            <atom:updated>2026-06-27T19:30:48.540Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6UxyJdsl8HDZY-RWYywHmw.png" /></figure><p>This article builds on concepts such as Expected Goals (xG), Elo Ratings, Bayesian Updating, and Monte Carlo simulation, but it is written to stand entirely on its own. Even if you haven’t read any of my previous work, you can start here without missing any essential context.</p><p>Today, we move from theory to implementation by focusing on the most important component of any forecasting model: the data.</p><p>Every prediction is only as good as the data behind it. Before we can estimate expected goals, simulate tournaments, or calculate winning probabilities, we first need a reliable, reproducible data pipeline.</p><p>Our goal is simple:</p><blockquote>Build a fully reproducible World Cup 2026 forecasting pipeline using only free, publicly available data.</blockquote><p>No paid data feeds. No proprietary APIs. No enterprise infrastructure. Just transparent, open, and reproducible football analytics.</p><h4>Why This Matters</h4><p>Modern football analytics is often hidden behind commercial data providers, private datasets, and closed-source models. While those products are incredibly powerful, they can also make the field seem inaccessible to students, hobbyists and aspiring data scientists.</p><p>Forecasting doesn’t have to be that way.</p><blockquote>With the right methodology and realistic expectations — anyone can build a credible prediction model using publicly available data.</blockquote><p>This article demonstrates how.</p><h4>Step 1 — Building the Dataset</h4><p>The first step is assembling a dataset that anyone can reproduce.</p><p>To keep this project accessible, every data source must satisfy four principles:</p><ul><li>Free to access</li><li>Publicly available</li><li>Properly citable</li><li>Rebuildable by anyone</li></ul><p>The table below summarises the datasets used throughout this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpE7vFCQyksxCNTGkfj1zg.png" /><figcaption>Data Souces, Not exhaustive</figcaption></figure><p>Rather than chasing perfect data, we work with what is realistically obtainable.</p><p>That philosophy keeps the project transparent and fully reproducible.</p><h4>How We Store the Data</h4><p>The project deliberately uses lightweight tools that are familiar to most Python users.</p><ul><li>CSV files for team and match data</li><li>JSON files for StatsBomb event data</li><li>Pandas DataFrames for cleaning and analysis</li><li>Jupyter notebooks for experimentation</li></ul><p>Professional analytics departments often rely on cloud databases, streaming pipelines, and proprietary infrastructure.</p><p>We don’t need any of that.</p><p>Our goal is clarity, reproducibility and education and not enterprise-scale engineering.</p><p>In future article, we may explore more advanced architectures and automated pipelines concept, but for this World Cup project, we intentionally keep the stack lightweight, transparent, and reproducible.</p><h4>Understanding the Limits of Free Football Data</h4><p>One of the biggest misconceptions about football analytics is that all data is freely available.</p><p>It isn’t.</p><blockquote>Historical results, player information, and tournament statistics are widely accessible. However, the most valuable predictive datasets remain commercial products.</blockquote><p>Examples include:</p><ul><li>Live expected goals (xG)</li><li>Player tracking data</li><li>Real-time event feeds</li><li>Proprietary forecasting models</li><li>Betting market intelligence</li></ul><p>These limitations don’t prevent us from building a prediction model.</p><p>They simply determine what can and cannot be reproduced using open data.</p><h4>What You Cannot Download for Free</h4><p>Some datasets simply do not exist in the public domain.</p><p>These include:</p><ul><li>Live World Cup 2026 xG</li><li>Bulk FBref or Opta exports</li><li>Transfermarkt APIs or downloadable databases</li><li>Official Elo downloads</li><li>Pre-match expected goals for every World Cup fixture</li></ul><h4>Why Pre-Match xG Doesn’t Exist</h4><p>There is currently no publicly available dataset that provides pre-match expected goals for every World Cup 2026 fixture.</p><p>Not from FIFA. Not from FBref. Not from StatsBomb. Not from Understat. Not from any free provider.</p><blockquote>Most public websites publish post-match xG, calculated after the game has been played.</blockquote><p>Pre-match xG is different.</p><p>It represents a prediction of how many goals each team is expected to score before kick-off — and that prediction has significant commercial value.</p><p>As a result, sportsbooks, analytics companies and professional clubs build these models internally rather than releasing them publicly.</p><h4>So How Do Analysts Estimate Pre-Match xG?</h4><p>Instead of downloading it, analysts generate it themselves.</p><p>Common approaches include:</p><ul><li>Poisson models</li><li>Elo-based rating systems</li><li>Historical expected-goals models</li><li>Bayesian updating</li><li>Market-implied probabilities</li><li>Monte Carlo simulation</li></ul><p>This project follows exactly that philosophy.</p><p>Rather than relying on proprietary forecasts, we generate our own using transparent, reproducible methods.</p><h4>Step 2 — Estimating Team Strength</h4><p>Since fixture-level pre-match xG is unavailable, we first estimate the underlying strength of each team.</p><p>Our composite rating combines three complementary signals:</p><ul><li>Elo ratings for long-term team strength</li><li>Recent xG difference as a measure of current performance</li><li>Squad quality, including age profile, international experience, and club level</li></ul><p>Together, these produce a balanced assessment of each team’s ability.</p><h4>Generating Pre-Match Expected Goals</h4><p>Once team strengths have been estimated, we can generate expected goals for each fixture.</p><p>There are two common approaches.</p><h4>Method 1 — Market-Implied Expected Goals</h4><p>Bookmakers publish two prices that contain surprisingly rich information:</p><ul><li>Total Goals (Over/Under)</li><li>Asian Handicap</li></ul><p>Together, these estimate both the expected number of goals in the match and the expected goal difference between the teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DiUEeFIUpGOR-7nz51ysiA.png" /><figcaption>Implied Expected Goal</figcaption></figure><h4>Method 2 — Statistical Modelling</h4><p>A fully independent approach is to build the model yourself.</p><p>The process is straightforward:</p><ol><li>Gather historical international matches.</li><li>Estimate attacking and defensive strengths.</li><li>Adjust for neutral venues.</li><li>Generate expected goals.</li><li>Feed those values into a Poisson model.</li></ol><p>Although more computationally intensive, this approach is completely reproducible.</p><h4>Step 3 — Predicting Individual Matches</h4><p>With expected goals estimated for every fixture, match prediction becomes straightforward.</p><p>For each game we:</p><ul><li>estimate expected goals</li><li>calculate scoreline probabilities using the Poisson distribution</li><li>derive home win, draw, and away win probabilities</li></ul><p>These probabilities form the foundation of the tournament simulation.</p><h4>Step 4 — Simulating the Tournament</h4><p>As introduced in The Math Behind Football-Part 3, we use Monte Carlo simulation to model uncertainty rather than predicting a single deterministic outcome.</p><p>By simulating the tournament 10,000 times, we estimate:</p><ul><li>Group qualification probabilities</li><li>Knockout progression</li><li>Tournament paths</li><li>Overall World Cup winning probabilities</li></ul><h4>Looking Ahead</h4><p>This article focused on building the forecasting pipeline — the data, the structure, and the methods that make the model possible.</p><p>The next step is to put that pipeline to work.</p><p>By the time the next article is published:</p><ul><li>the group stage will be complete</li><li>team ratings may be updated using real tournament results</li><li>the knockout bracket will be finalised or even underway</li><li>the model will generate predictions using confirmed fixtures</li></ul><p>Those forecasts — including expected goals, match probabilities, and full tournament simulations — will be based on real tournament data, not pre‑tournament assumptions.</p><p>That is where the mathematics becomes reality.</p><p>Follow me, like and comment and let’s keep learning together.</p><p>Keep learning and keep growing!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00273a29ec9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Math Behind Football (Soccer) Predictions — Part 3: Monte Carlo Simulations and Exploring…]]></title>
            <link>https://medium.com/@tunjidina12/the-math-behind-football-soccer-predictions-part-3-monte-carlo-simulations-and-exploring-8f2df0710ea6?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f2df0710ea6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[world-cup]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[football]]></category>
            <category><![CDATA[sports-analytics]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Mon, 15 Jun 2026 20:18:22 GMT</pubDate>
            <atom:updated>2026-06-15T20:18:22.961Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Math Behind Football (Soccer) Predictions — Part 3: Monte Carlo Simulations and Exploring Thousands of Possible Futures</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ecKFoQQ1hoGKomf9sU-Lw.png" /><figcaption>AI Generated Image</figcaption></figure><p>In Part 1, we explored how Expected Goals (xG) and Poisson models estimate shot quality and goal probabilities, the mathematical foundation of modern football forecasting systems. In Part 2, we introduced Bayesian Updating and Elo Ratings: tools that allow models to continuously revise their beliefs as new evidence arrives and translate team strength into match-winning probabilities.</p><p>But one big question remains:</p><p>How do analysts turn those match probabilities into full tournament forecasts?</p><p>This is where Monte Carlo Simulations come in.</p><h3>What Is a Monte Carlo Simulation?</h3><p>Football is not a maths exam with one correct answer. It is unpredictable like I said earlier in the series. A deflection. A missed penalty. A goalkeeper’s error. A red card. Any of these moments can completely change the outcome of a match.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRtArccmjGoJ9AiSpqvCzw.png" /><figcaption>The analogy: casino vs football</figcaption></figure><p>Rather than pretending otherwise, Monte Carlo simulation embraces that uncertainty directly.</p><blockquote>Instead of predicting a match once, the model simulates it thousands, sometimes millions, of times, allowing chance to play out slightly differently in each simulation.</blockquote><p>The name comes from the Monte Carlo Casino in Monaco.</p><p>Just as a casino cannot predict the result of any single spin of a roulette wheel but can model the distribution of outcomes across thousands of spins, football analysts model the distribution of possible match and tournament outcomes across thousands of simulations.</p><h3>A Single Match Example</h3><p>Imagine the World Cup Final: Spain vs Brazil.</p><p>Drawing on team strength (Elo ratings), Expected Goals (xG), recent form, injuries, and historical head-to-head data, the model first estimates the match probabilities:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*3ueAwGqj30lezvWZjDGD4w.png" /><figcaption>The model’s starting estimate — before simulations begin.</figcaption></figure><p>Think of it like replaying the same match inside a computer over and over again, each time letting chance play out slightly differently</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*9sjR6GIEQPcYkCaDNJI_sQ.png" /><figcaption>A result of possible outcomes</figcaption></figure><p>Each simulation produces a different result because football always contains uncertainty — a deflection, a missed penalty, an injury in the 10th minute. The model doesn’t suppress that uncertainty. It embraces it.</p><h3>Counting the Outcomes</h3><p>After running all 100,000 simulations, the model simply counts what happened:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ckvAnYg63wQxsnQJBIXy1A.png" /><figcaption>Output probability distribution</figcaption></figure><p>The mathematics is straightforward:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*um6DOt6xpgPx0UhZv2Mp2A.png" /><figcaption>The core formula</figcaption></figure><p>Notice something important: the model never tries to predict one exact future. Instead, it explores many possible futures and measures which outcomes appear most often. That is the core intuition behind Monte Carlo simulation.</p><p>For readers who want to dive deeper into the mathematics of Monte Carlo, here are a few starting points:</p><ul><li><a href="https://en.wikipedia.org/wiki/Monte_Carlo_method">Wikipedia</a></li><li><a href="http://www-stat.wharton.upenn.edu/~steele/Courses/900/Library/MCMCHistory.pdf">Peer-Reviewed Article</a></li></ul><p>For non‑technical readers, the ideas will become clearer in the next series, where we apply these concepts to real match data.</p><h3>The Law of Large Numbers</h3><p>Why run 100,000 simulations rather than just 100?</p><blockquote>Because of the Law of Large Numbers: the more simulations a model runs, the more stable and reliable its probability estimates become.</blockquote><p>With only 100 simulations, random noise can distort the results significantly. Spain might “win” 45 out of 100 purely by chance, overstating their true probability. With 100,000 simulations, those random fluctuations average out and the estimates converge toward the true underlying probabilities.</p><p>This is why modern forecasting systems run millions of simulations rather than thousands. Computational power has made this possible and the payoff in accuracy is huge.</p><h3>From One Match to an Entire Tournament</h3><p>The real power of Monte Carlo simulation emerges when it is applied not to a single match, but to an entire tournament. A model can simulate all matches of the World Cup.</p><p>From those simulations, analysts can estimate:</p><ul><li>Probability of qualifying from the group stage</li><li>Probability of reaching the quarter-finals</li><li>Probability of reaching the final</li><li>Probability of winning the World Cup</li><li>Most likely tournament paths for each team</li></ul><p>The example below illustrates one possible pathway Spain might take through the tournament.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdERpcdZtTw_qV0BCYzCtg.png" /><figcaption>Illustrative Image Only: Spain’s 2026 World Cup Tournament Progression</figcaption></figure><blockquote>The figure above is for illustration only and should not be used for financial engagement.</blockquote><p>In this scenario, Spain might emerge from the simulations with an 18.2% chance of lifting the trophy. That number is not a gut feeling or a pundit’s hunch. it is the proportion of 100,000 simulated tournaments in which Spain finished as champions.</p><h3>Why This Matters</h3><p>Traditional forecasting asks: <em>What will happen?</em></p><p>Monte Carlo simulation asks: <em>If we replayed this tournament thousands of times, what outcomes become most likely?</em></p><blockquote>Monte Carlo simulations don’t try to ignore unexpected events. They build uncertainty into the method itself, producing not a single prediction but a distribution of possible futures, each weighted by how likely it is.</blockquote><h3>What the 2026 World Cup adds</h3><p>The 2026 edition raises the stakes for every forecasting model. With 48 teams, 104 matches, and a new Round of 32, the tournament is longer, more complex, and more uncertain than any previous edition.</p><p>Spain enter as favourites (18.2% win probability) according to current prediction markets, but that also means there is an 81.8% probability that someone else lifts the trophy in North America on 19 July 2026. This is illustrated below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vN5o1QOB7H9A-Qi-DYtRQ.png" /><figcaption>Spain’s path through the 2026 World Cup as a decision tree</figcaption></figure><blockquote>Monte Carlo simulation is exactly the tool built for moments like this. Seven wins required. Twelve groups. Thirty-two knockout matches. Thousands of possible paths to the final.</blockquote><p>The model does not pick one. It maps all of them.</p><h3>What comes next</h3><p>Understanding the mathematics is only half the journey.</p><p>The other half is the data.</p><p>Every probability in this series — every xG value, every Elo rating, every match outcome fed into a simulation — had to come from somewhere. Someone collected it, cleaned it, structured it and made it queryable. And with the 2026 World Cup group stage live right now, there has never been a better moment to get your hands on real football data and start exploring it.</p><p>That is exactly what the next two parts of this series are about.</p><blockquote>No expensive subscriptions. No enterprise contracts. Just real, publicly available data, ready to power everything we have discussed in this series.</blockquote><p>And if you have made it this far through the series — thank you. Football analytics sits at the intersection of the sport we love and the mathematics that quietly governs it. The goal has always been to make that intersection accessible, rigorous and a little bit exciting.</p><p>If this made football analytics clearer for you, follow me and let’s keep learning together.</p><p>Keep learning and keep growing!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f2df0710ea6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Math Behind Football (Soccer) Predictions -Part 2 : How Models Learn, Rank Teams and Simulate the…]]></title>
            <link>https://medium.com/@tunjidina12/math-behind-football-soccer-predictions-part-2-how-models-learn-rank-teams-and-simulate-the-a6b51b3c95d8?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6b51b3c95d8</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 06:52:56 GMT</pubDate>
            <atom:updated>2026-06-11T06:52:56.396Z</atom:updated>
            <content:encoded><![CDATA[<h3>Math Behind Football (Soccer) Predictions -Part 2 : How Models Learn, Rank Teams and Simulate the World Cup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cfRAx4iLmfNnzwz8OqAp4w.png" /></figure><p>Last week in Part 1, we explored the foundations of football prediction models — Expected Goals (xG) and Poisson modelling. These two concepts explain <em>shot quality</em> and <em>goal probability</em>, forming the base of every modern forecasting system.</p><p>But football prediction does not stop there. Football is a living game. Teams improve. Players get injured. Managers change tactics. Underdogs go on unexpected runs.</p><blockquote>To forecast matches accurately, analysts rely on deeper mathematical tools that update probability in real time, measure team strength and simulate multiple possible outcomes.</blockquote><p>This second part of the series covers two key building blocks of modern football prediction systems:</p><ul><li>Bayesian Updating</li><li>Elo Ratings</li></ul><p>Together, they allow models to learn from new data and measure team strength consistently.</p><h3>Bayesian Updating : How Predictions Change During a Match</h3><p>Imagine the World Cup match is about to begin and Spain is playing Germany.</p><p>Before Kickoff (The Prior)<br>Based on team rankings, historical performance, recent form, player quality, and other factors, a prediction model estimates:</p><p>Spain win probability: 58%<br>Germany win probability: 42%</p><p>These estimates represent the model’s prior belief before any new match information becomes available.</p><h3>After 30 Minutes (The Evidence / Likelihood)</h3><p>Thirty minutes into the match, Spain is dominating possession and creating the better chances.</p><p>The live match data shows:</p><ul><li>Spain xG: 0.8</li><li>Germany xG: 0.1</li></ul><p>In other words, Spain has already created chances worth 0.8 expected goals, while Germany has created chances worth only 0.1 expected goals.</p><p>This new information acts as evidence for the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfm2eRb4OLE06LxUf6FC-Q.png" /><figcaption>Figure 1: Bayesian Updating</figcaption></figure><h3>Bayesian Updating</h3><p>The model combines its prior belief with the new evidence and updates its predictions:</p><ul><li>Spain win probability: 68–72%</li><li>Germany win probability: 28–32%</li></ul><p>The model becomes more confident in Spain because the events unfolding on the pitch support its original expectation. But if Germany had scored early or begins creating the better chances despite low xG, the posterior would shift sharply, signalling that the model’s assumptions need adjusting.</p><p>In both cases, the model learns from the result. This can also be useful in predicting teams progression through the entire tournament. This idea sits at the heart of Bayesian Updating.</p><blockquote>Bayesian updating is how prediction models revise their beliefs as new information arrives — shot by shot, minute by minute.</blockquote><p>After the match, the model updates its beliefs using fresh evidence such as:</p><ul><li>Goals scored</li><li>Expected Goals (xG)</li><li>Possession statistics</li><li>Shots on target</li><li>Injuries</li><li>Player availability</li><li>Recent form</li></ul><p>While the actual mathematics is more sophisticated, Bayes’ Theorem, shown in figure 1, provides the framework that allows prediction models to continuously learn from every match played.</p><h3>Elo Ratings: Measuring Team Strength Over Time</h3><p>Elo Ratings provide a simple way to quantify football team strength and turn it into match probabilities. Unlike static rankings, Elo updates after every match based on performance and opponent strength.</p><p>Originally developed for chess by physicist Arpad Elo, the Elo Rating system has become one of the most widely used foundations in modern football forecasting.</p><h3>Global Elite Snapshot (Elo-Based Ratings)</h3><p>Even at the top level, small rating differences (10–50 points) can separate teams that are otherwise very evenly matched. as can be seen in Figure 2 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*zJWr9mvlY9O6JyqdZGz42g.png" /><figcaption>Figure 2: Elo-based performance ratings for the current top 10 men’s national teams. (Global FootallRankings)</figcaption></figure><h3>How Elo Converts Ratings into Win Probability</h3><p>The expected probability of Team A winning is calculated as:</p><p>P(A) = 1 / (1 + 10^((R_B — R_A)/400))</p><p>Where:</p><ul><li>(R_A), (R_B) = team ratings</li><li>Output = probability of Team A winning</li></ul><h3>Elo Rating Difference → Win Probability</h3><p>This S-shaped curve in Figure below is the key intuition:</p><ul><li>Equal teams → 50/50</li><li>Small gap → slight advantage</li><li>Large gap → strong favourite</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*-LIWoW07SgAiKHq3iQe7Tw.png" /></figure><h3>How Elo Learns from Matches</h3><p>After each game, ratings update based on surprise vs expectation:</p><p>R_{new}=R_{old}+K(S-E)</p><p>Where:</p><ul><li>(S) = actual result (win/draw/loss)</li><li>(E) = expected probability</li><li>(K) = sensitivity factor</li></ul><p>Upsets cause large rating shifts while expected results cause small adjustments.</p><h3>Why This Matters for World Cup Predictions</h3><p>Once every team has an Elo rating:</p><ol><li>Convert ratings → match probabilities</li><li>Simulate fixtures repeatedly</li><li>Build full tournament outcomes</li></ol><p>This is the foundation of modern FIFA World Cup forecasting models — turning team strength into probabilities, and probabilities into thousands of simulated tournament outcomes.</p><h3>Summary Insight</h3><p>Elo is powerful because it connects everything in one loop:</p><p>Ratings → Probabilities → Results → Updated Ratings</p><p>This feedback system is what allows prediction models to stay “alive” across the entire tournament.</p><h3>What Comes Next: From Team Strength to Full Tournament Simulation</h3><p>In Part 2, we explored how modern models measure and update team strength using Bayesian Updating and Elo ratings. With these tools, we can estimate team strength and match-winning probabilities.</p><p>In Part 3, we move to the next layer of football forecasting: Monte Carlo simulation.</p><p>Follow for Part 3 on Monte Carlo simulation which is highly intuitive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6b51b3c95d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Math Behind Football (Soccer) Predictions -Part 1: The Models Powering World Cup Forecasts]]></title>
            <link>https://medium.com/@tunjidina12/the-math-behind-football-soccer-predictions-part-1-the-models-powering-world-cup-forecasts-3e3913fddfd2?source=rss-a694bc7c3e63------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e3913fddfd2</guid>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Adetunji Odedina]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 12:50:44 GMT</pubDate>
            <atom:updated>2026-06-02T08:29:59.118Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_00v8dhrDUTU5cwjd88yg.png" /><figcaption>AI Generated Image</figcaption></figure><p>Football — or soccer, depending on where you live — is the world’s most beloved sport because it feels beautifully unpredictable. One moment of brilliance, one mistake, one deflection can change everything.</p><p>But as the World Cup approaches, something fascinating happens behind the scenes: analysts, bookmakers, and AI systems begin running millions of simulations to forecast what might happen.</p><p>Here’s the surprising truth:</p><p><strong>Football looks chaotic, but the math behind it is remarkably structured.</strong></p><p>This first part of the series breaks down the core mathematical foundations behind <strong>football analytics</strong>, focusing on <strong>Expected Goals (xG)</strong> and <strong>Poisson models</strong>, two of the most widely used tools in modern <strong>football prediction systems</strong>.</p><h3><strong>Expected Goals (xG): The Probability Engine of Modern Football</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*Ww3q54jlsm_CLLAtlQUCZg.jpeg" /><figcaption>AussieBet — Expected Goal (xG) explanation Graphic</figcaption></figure><p>In modern football analytics, <strong>Expected Goals (xG)</strong> has become the gold standard for evaluating chance quality and predicting long‑term performance.</p><p>xG answers one simple question:</p><p><strong>“Given this shot, what are the chances it becomes a goal?”</strong></p><p>Each dot in an xG map represents a shot taken from a specific location on the pitch. By analysing thousands of historical shots and their features, analysts estimate the probability that a similar shot will result in a goal. That probability becomes the <strong>xG value</strong>.</p><p><strong>The Math Behind xG</strong></p><p><strong><em>xG </em>= <em>P </em>(Goal ∣ Shot Features)</strong></p><p>Shot features typically include:</p><ul><li>Distance from goal</li><li>Shooting angle</li><li>Body part used (foot, head, etc.)</li><li>Type of assist (cross, through ball, cutback)</li><li>Defensive pressure</li><li>Goalkeeper positioning</li><li>Shot speed</li><li>Match context</li></ul><p>Models such as <strong>logistic regression</strong>, <strong>random forests</strong>, or <strong>XGBoost</strong> assign each shot a probability between 0 and 1.</p><p><strong>Why xG Matters for Predictions</strong></p><p><em>Teams that consistently create higher xG than their opponents tend to win more over time, even if they lose individual matches.</em></p><p>This makes xG a foundational input for more advanced football prediction models, betting algorithms and AI‑driven forecasting systems.</p><h3>Poisson Models: Predicting Scorelines with Statistics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9PZO7m58YgZgpyNdOfKvEQ.png" /></figure><p>Before machine learning took over, the <strong>Poisson distribution</strong> was the backbone of football score prediction — and it’s still widely used today. The Poisson distribution is the classic mathematical tool for forecasting football scores.</p><p>If a team expected goals is xG, then the probability they score <em>k </em>goals is:</p><p>P(Goals = k) = (e^−xG × xG^k) / k!</p><p>where:</p><p>P(Goals = k) = probability of scoring exactly k goals<br>xG = expected goals<br>e ≈ 2.71828<br>k = number of goals scored (0, 1, 2, 3, …)</p><p><strong>Example (Illustrative Only — Not Financial Advice)</strong></p><p>If a team has an xG of <strong>1.9</strong>, the model calculates the probability of scoring:</p><ul><li>probability of 0 goals</li><li>probability of 1 goal</li><li>probabilty of 2 goals and so on</li></ul><p>The same calculation is performed for the opposing team.</p><p>By combining the two probability distributions, the model can estimate:</p><ul><li>win probability</li><li>draw probability</li><li>loss probability</li><li>most likely scoreline</li></ul><p>This simple but powerful model still underpins many <strong>World Cup prediction systems</strong> and football analytics tools.</p><h3>Coming Up Next: Bayesian Updating, Elo Ratings &amp; Monte Carlo Simulations</h3><p>In <strong>Part 2</strong>, I’ll break down three of the most important statistical tools used in modern football forecasting:</p><ul><li><strong>Bayesian Updating</strong> — how new match data continuously reshapes probability estimates</li><li><strong>Elo Ratings for football</strong> — a dynamic way to measure team strength based on opponent quality</li><li><strong>Monte Carlo simulations</strong> — running thousands of simulated matches to estimate outcomes like win probability, group qualification odds, and tournament paths</li></ul><p>These methods build on the foundations of xG and Poisson models to create more accurate and adaptive prediction systems, especially for major tournaments like the World Cup.</p><p>Follow me to get <strong>Part 2</strong>, along with future parts in this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e3913fddfd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>