Football Match Quantitative Analysis
Paste the following prompt into your AI chat to install this skill:
Please follow the installation guide at https://skillhub.cn/install/skillhub.md to install @user_fa4d9372/football-match-analysis.
About this skill
Core Problem: Moving from Intuition to a Verifiable Framework
Football match prediction often relies on subjective experience, static standings, or bookmaker odds, lacking a repeatable, traceable path for quantitative analysis. Whether evaluating a single fixture, upset likelihood, or advancement probability, it is essential to integrate multi-dimensional variables—such as team strength, tactical style, real-time form, and tournament context—into a transparent, calibratable computational framework, rather than offering vague conclusions.
How It Works: Data Models & Multi-dimensional Analysis
This skill provides a verifiable analysis framework built on data models. Its core function is to abstract a football match into calculable variables.
1. Core Capabilities & Data Foundation
- Single-Match Analysis: Calculates win-draw-loss probabilities using Elo ratings and xG (Expected Goals) models, and incorporates correction factors like home advantage, injuries, and altitude to output structured predictions and most likely scorelines.
- Upset Analysis: Evaluates upset potential through three-layer criteria:
- Style Mismatch: E.g., a defensive “park-the-bus” team countering a strong attack but weak defense.
- State Variables: Such as internal strife or key player absence.
- Tournament Dividend: Factors like first-match uncertainty or the expanded 48-team World Cup format.
The system calculates an adjusted upset probability and tier classification (Tier 1/2/3).
- Advancement Probability: Uses Monte Carlo simulation (e.g., 100,000 runs) to project the probability of a team advancing through each tournament stage.
- Odds Discrepancy Detection: Fetches bookmaker odds, calculates the implied probability after removing the “vig” (juice), and compares it with the model’s probability to identify pricing gaps of ≥3% as value signals.
2. Key Workflow (Single-Match Analysis Example)
1. Parse & Load: Identify the two teams, then load their data from local files (elo_ratings.json, team_stats.json).
2. Context Judgment: Determine the match type (group stage/knockout) to decide whether to activate special rules like extreme defensive regression to the mean.
3. Build Correction Factors: Construct influence parameters based on the user-provided match_context (e.g., whether it’s the first match, rotation risk).
4. Engine Calculation: Call prediction_engine.py to compute core probabilities and scorelines.
5. Value-Add Analysis: If requested by the user, call odds_fetcher.py to fetch real-time odds for value detection.
6. Output & Disclaimer: Output structured analysis results, accompanied by a risk disclaimer that clarifies the framework’s boundaries.
Boundaries & Calibration
Clear Red Lines: This skill provides an analysis framework and never directly recommends betting. All calculations are executed via code with no data fabrication. Significant divergences between model and market probabilities are explicitly flagged with uncertainty. The system does not predict penalty shootout outcomes.
Continuous Calibration: Analysis results are logged (prediction_log.md) and post-match verified across three dimensions: directional outcome, scoreline, and xG. Discrepancy data drives adjustments to model parameters (e.g., correction factors), enabling iterative optimization. During major tournaments (e.g., 2026 World Cup), pre-match and in-tournament dynamic calibration is performed to account for real-time variables like injuries and rotations.
Use Cases
- As a sports content editor writing a World Cup preview article, needing to quickly obtain Elo comparison, xG data, and model-based win-draw-loss probabilities between two teams to support analytical points.
- As an independent football data researcher needing to test a hypothesis about how the 'tournament dividend' affects upset probabilities, using the skill's three-layer upset correction model for quantitative analysis.
- As a sports data service provider needing to batch-process Monte Carlo simulation results for each team's group stage advancement probabilities for a client-facing application, used for dynamic visualization.
- As a sports media analyst needing to compare the bookmaker implied odds for a specific match against a proprietary model's probability to identify pricing gaps of ≥3% as potential value stories.
Best For
- Sports journalists or content editors: need rapid access to structured quantitative data for writing professional, data-driven match analysis or preview reports.
- Independent football data researchers or quantitative analysts: need a verifiable, scalable analysis framework and code for building proprietary prediction models or conducting academic research.
- Sports data service providers or product development teams: need a reliable underlying prediction engine and data interfaces for building data analysis tools or subscription services for end-users.
- Sports betting industry analysts (market research focus): need tools to compare model probabilities against market odds for researching market efficiency and identifying mispricing.
Related Skills
A universal base component that automatically launches the Edge browser and connects the BrowserSkill extension, ensuring readiness for web scraping and browser automation tasks.
A fully local-run WeChat chat analysis tool with MBTI personality inference, sentiment analysis, risk detection, relationship health assessment, and conversation prediction, emphasizing privacy.
Fetches the top 20 A-share stocks by trading volume from Wencai, including ranking, price changes, and sectors, with sector analysis.
Performs project discrimination, classification, and structured extraction on bidding documents, outputting standardized data with support for manual review.