Data Analyst and Data Scientist
Proficient in Python, R, SQL, TensorFlow and Scikit-learn
Dungeons & Dragons nerd, founder of DnDwithToph.com
View My LinkedIn
View My Articles on Medium
This project involved analyzing the relationship between red cards and goal-scoring in football matches using Python in Jupyter Notebooks. The analysis explored trends and patterns in match outcomes, leveraging statistical modeling and data visualization to uncover insights into the impact of red cards on goal-scoring dynamics.
The objective was to determine whether red cards influence goal-scoring in football matches, focusing on both the overall effect and the timing of red cards. The analysis aimed to provide statistically valid insights into game dynamics and trends.
The datasets used contained detailed information from 19,294 football matches and 54,451 in-game events over five seasons from 10 European national leagues. Key features included match identifiers, goals scored, red card events, and event timing.
Key Metrics:
The analysis aimed to assess the relationship between red cards and goal-scoring using statistical models. Specific hypotheses tested included whether red cards lead to more goals overall, and whether the timing of a red card affects total goals scored.
Derived features included:
This analysis demonstrated a nuanced relationship between red cards and goal-scoring, with evidence suggesting that red cards influence short-term scoring dynamics. While no statistically significant overall impact was found, timing plays a critical role. These findings offer actionable insights for football strategy and in-play betting scenarios.