<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hillary Ododa</title>
    <description>The latest articles on DEV Community by Hillary Ododa (@hillary_ododa_e04a42aed58).</description>
    <link>https://dev.to/hillary_ododa_e04a42aed58</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3256165%2Fe6af6e62-d290-46cb-8a5e-3138000107ab.png</url>
      <title>DEV Community: Hillary Ododa</title>
      <link>https://dev.to/hillary_ododa_e04a42aed58</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hillary_ododa_e04a42aed58"/>
    <language>en</language>
    <item>
      <title>Estimating Win Probabilities for Premier League Teams Using Binomial Probability</title>
      <dc:creator>Hillary Ododa</dc:creator>
      <pubDate>Thu, 31 Jul 2025 14:21:24 +0000</pubDate>
      <link>https://dev.to/hillary_ododa_e04a42aed58/estimating-win-probabilities-for-premier-league-teams-using-binomial-probability-3bd6</link>
      <guid>https://dev.to/hillary_ododa_e04a42aed58/estimating-win-probabilities-for-premier-league-teams-using-binomial-probability-3bd6</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Football fans are constantly asking: &lt;em&gt;“What are the odds of my team winning the next match?”&lt;/em&gt; While match outcomes depend on a mix of unpredictable factors — player form, strategy, injuries — we can still make meaningful estimations based on historical data.&lt;/p&gt;

&lt;p&gt;In this article, I share how I calculated the win probabilities of all Premier League teams in the 2024 season using binomial probability. The data was sourced from the Football Data API and processed with Python.&lt;/p&gt;




&lt;h3&gt;
  
  
  Pulling Real-Time Standings from the Football Data API
&lt;/h3&gt;

&lt;p&gt;To start off, I connected to the Football Data API and fetched the current standings for the Premier League 2024 season. The response included each team's number of games played, wins, losses, draws, goal differences, and total points. After validating the API response, I extracted the standings and prepared them for analysis.&lt;/p&gt;




&lt;h3&gt;
  
  
  Structuring the Data for Analysis
&lt;/h3&gt;

&lt;p&gt;Once the data was retrieved, I organized it into a structured table format using a DataFrame. This table included each team’s position, name, games played, wins, draws, losses, points, and goal difference — a clear snapshot of their performance up to that point in the season.&lt;/p&gt;




&lt;h3&gt;
  
  
  Understanding Binomial Probability
&lt;/h3&gt;

&lt;p&gt;To estimate the probability of a team winning games based on its current form, I used the &lt;strong&gt;binomial probability formula&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In statistics, binomial probability helps calculate the likelihood of getting a fixed number of successful outcomes (wins) in a series of independent trials (matches), assuming each trial has the same probability of success.&lt;/p&gt;

&lt;p&gt;For this case:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The number of trials was the number of games played.&lt;/li&gt;
&lt;li&gt;A success was defined as a win.&lt;/li&gt;
&lt;li&gt;The probability of success in a single trial was estimated by dividing wins by games played.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This method assumes every match is an independent and identical trial — a simplification, but still a useful analytical lens.&lt;/p&gt;




&lt;h3&gt;
  
  
  Calculating Win Probabilities
&lt;/h3&gt;

&lt;p&gt;After computing the binomial probability for each team, I added a new column to my table called “Win Probability.” This value tells us how statistically likely a team’s number of wins is, given its performance rate.&lt;/p&gt;

&lt;p&gt;For example, if a team had won 18 out of 30 games, the binomial probability calculation estimates how likely it is for that to happen by chance, assuming a consistent win rate throughout.&lt;/p&gt;

&lt;p&gt;In some rare cases, the calculation results in extremely small numbers or causes computational overflows. In such cases, the win probability was set to zero for safety.&lt;/p&gt;




&lt;h3&gt;
  
  
  Output and Next Steps
&lt;/h3&gt;

&lt;p&gt;I saved the final table — now including win probabilities — as a CSV file. This allowed for easy sharing, visualization, and further analysis using tools like Power BI or Excel.&lt;/p&gt;

&lt;p&gt;The final dataset included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Team Name&lt;/li&gt;
&lt;li&gt;Position&lt;/li&gt;
&lt;li&gt;Games Played&lt;/li&gt;
&lt;li&gt;Wins, Draws, Losses&lt;/li&gt;
&lt;li&gt;Points&lt;/li&gt;
&lt;li&gt;Goal Difference&lt;/li&gt;
&lt;li&gt;Win Probability&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Limitations
&lt;/h3&gt;

&lt;p&gt;Of course, this model is not perfect. It makes a few major assumptions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every game is independent and identical in difficulty.&lt;/li&gt;
&lt;li&gt;It ignores external factors such as injuries, transfers, and fixture difficulty.&lt;/li&gt;
&lt;li&gt;It does not consider home/away advantage or goal margins.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Still, the method offers a data-informed view of team performance, helping to separate consistency from chance.&lt;/p&gt;




&lt;h3&gt;
  
  
  Future Improvements
&lt;/h3&gt;

&lt;p&gt;To build on this analysis, I’m considering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Visualizing the probabilities with charts and graphs.&lt;/li&gt;
&lt;li&gt;Comparing actual results to expected goals (xG) metrics.&lt;/li&gt;
&lt;li&gt;Using a Bayesian model to factor in uncertainty and prior performance.&lt;/li&gt;
&lt;li&gt;Adding match-level data to simulate upcoming fixtures.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Final Thoughts
&lt;/h3&gt;

&lt;p&gt;Combining live sports data with statistical tools like binomial probability opens up fascinating ways to analyze team performance. While no model can predict the beautiful game with complete accuracy, they do bring clarity and context to team success.&lt;/p&gt;

&lt;p&gt;If you're interested in football analytics, this is just the tip of the iceberg. Try applying similar methods to other leagues, historical seasons, or even player-level stats.&lt;/p&gt;




&lt;h3&gt;
  
  
  Follow Along
&lt;/h3&gt;

&lt;p&gt;I’ve published the full code and dataset on my GitHub for those who want to explore or fork the project:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;em&gt;[&lt;a href="https://github.com/ododaspov/EPL_Predictions/tree/main" rel="noopener noreferrer"&gt;https://github.com/ododaspov/EPL_Predictions/tree/main&lt;/a&gt;]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading — and may your favorite team always defy the odds!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How Excel's Performance is Booming In Real-World Data Analysis.</title>
      <dc:creator>Hillary Ododa</dc:creator>
      <pubDate>Wed, 11 Jun 2025 07:00:39 +0000</pubDate>
      <link>https://dev.to/hillary_ododa_e04a42aed58/how-excels-performance-is-booming-in-real-world-data-analysis-7e5</link>
      <guid>https://dev.to/hillary_ododa_e04a42aed58/how-excels-performance-is-booming-in-real-world-data-analysis-7e5</guid>
      <description>&lt;p&gt;Excel is a powerful application tool that comes in form of a spreadsheet. It has become a crucial tool in the world of data analysis. Its user-friendly interface makes it accessible for both beginners and professionals in different fields of work. In real-world scenarios, for instance, Excel is used in several ways that enhance decision-making processes across industries.&lt;/p&gt;

&lt;p&gt;One significant application of Excel is in business decisions. Companies assimilate Excel in their day to day programs to analyze sales data, track employee performance and foresee future trends. With the aid of Excel, organizations can make informed choices that thrive in growth and efficiency. Another field where Excel is applied is in financial reporting, in that Excel allows employees under the finance department to compile budgets, analyze expenditures and generate reports that summarize financial health effectively. Lastly, marketing performance analysis is made possible using Excel’s array of features such as creating interactive dashboards and decision making thus businesses are able to market strategically and aggressively.&lt;/p&gt;

&lt;p&gt;Among the many features of Excel that are irreplaceable in the world of data analytics are PivotTables, VLOOKUP functions and conditional formatting. PivotTables allow users to summarize large datasets quickly, I personally found it easier to identify patterns and gain insights without a lot of overwhelming detail. The VLOOKUP function serves as a powerful tool for cross-referencing information from different tables or sheets which I found ideal for linking customer data with their  specific records. Conditional formatting, not to forget, enhances visual interpretation. This is done by highlighting key figures and trends based on a specific criteria of the data.&lt;/p&gt;

&lt;p&gt;Reflecting back on my journey as a learner, Excel has been transformative; it has fundamentally changed how I perceive data. What once seemed like an array of numbers that was impossible to figure out now seems more of like an easy puzzle waiting to be uncovered. The analytical ability I acquired from Excel's diverse tools has not only helped me in effective manipulation of data, but it has also empowered me to draw insights and to communicate them compellingly using its in-built visualization features which is a skill that will undoubtedly serve me well in any professional field moving forward.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
