D3 Science Lab
Probability Intelligence — match probabilities
D3 Predict percentages come from a score distribution: two Poisson laws corrected for low scores, fed by the d3-strength-dc-2 strength model.
Purpose and use
Give, before a match, a probability for each outcome and for the most likely scores, using only matches already played.
The probabilities served in Production are stamped d3-strength-dc-2. The former d3-poisson-dc-1 calculation, based on raw records, is kept for internal comparison and no longer runs on the site.
Shown in the D3 Predict block of match pages and used by the D3 IA assistant. Before kick-off a card is stored; after kick-off, that frozen card is what is shown.
Data and provenance
Each item is labelled according to its nature.
- Provider dataFinished results (FT, AET, PEN) from the current and previous season: date, teams, competition and regulation-time score. Friendlies are excluded.
- D3 calculationExpected goals λ for each team, computed by the strength model (see Strength Intelligence).
- Product ruleThe ρ correction, the bounds on λ and the grid size: constants fixed in the code, not re-estimated for each match.
- Provider data
- Observation received from API-Football (API Sports), without substantive transformation.
- D3 calculation
- Deterministic result of a formula coded by D3.
- Product rule
- A D3 choice: weighting, threshold or editorial decision, not a statistical law.
- AI text
- Wording written by a language model from the facts, then checked.
Mathematical method
λ is the goal intensity the model expects from a team. It is not the shot-based xG measured by a provider.
Each team's number of goals follows a Poisson law. The two laws are combined on a grid from 0 to 10 goals per team.
The Dixon-Coles correction adjusts the four low scores 0-0, 0-1, 1-0 and 1-1, where the two teams are not independent. Each factor is bounded below by zero, then the grid is renormalised to 1.
Outcome probabilities are the sums of the corresponding cells. They are rounded with the largest-remainder method so that they total exactly 100%. The over 1.5 / 2.5 / 3.5 goals thresholds are rounded separately, and “under” is their complement.
Poisson law
P(X = k) = e^(−λ) × λ^k / k!
Score (i, j)
P(i, j) = τ(i, j) × P_home(i) × P_away(j)
Dixon-Coles correction
τ(0,0) = 1 − λh·λa·ρ ; τ(0,1) = 1 + λh·ρ ; τ(1,0) = 1 + λa·ρ ; τ(1,1) = 1 − ρ
Home win
P(1) = Σ P(i, j) for i > j
Parameters and assumptions
| Parameter | Value |
|---|---|
| ρ (Dixon-Coles) | −0.08 |
| Bounds on λ | 0.2 to 4 |
| Calculation grid | 0 to 10 goals per team |
| Displayed grid | 0 to 5 goals per team |
| Outcome rounding | largest remainder, total 100% |
Indicators produced
- 1X2 probabilities, both teams to score (BTTS), totals from 0 to 5+ goals.
- Over or under 1.5, 2.5 and 3.5 goals.
- Exact-score matrix from 0 to 5, to one decimal place, with the share of probability it covers.
- Expected goals for each team and the most likely scores.
- A confidence level (high, medium, limited) or the note “insufficient data” with no percentage at all.
Verifiable example
Fictitious intensities λ home = 1.5 and λ away = 1.2, passed through the real distribution calculation.
- λ home / λ away
- 1.5 / 1.2
- Home win
- 43%
- Draw
- 28%
- Away win
- 29%
- Both teams score
- 55%
- Over 2.5 goals
- 51%
- Share covered by the 0–5 matrix
- 99.4%
Validation
- Method implemented and identified in the codereached
- Synthetic example recomputed by the testsreached
- Recorded internal evaluationreached
- Independent validationnot established
The strength model's code records an internal tuning measured by the log loss of the 1X2 market on 1,755 matches from five leagues (2025-26 season). Each match was forecast using only earlier matches. Recorded results: 1.0027 on all matches; 1.0088 on the matches the former calculation accepted, against 1.0213 for that former calculation; 1.0690 for a no-information baseline. Lower is better.
These figures are not a validation. Settings were chosen and measured on the same matches, with no separate test sample. The no-information baseline uses frequencies from the whole season. The bench ignored cups, head-to-head and absences, which exist in Production. The data are not versioned, so the result cannot be reproduced from the repository alone.
No Brier score, calibration curve or independent evaluation has been published. A complete evaluation would separate tuning and testing in time, compare models on the same matches and publish calibration by probability band.
Limits
- The model ignores line-ups, motivation, weather and tactical changes. Only some declared absences are taken into account before the match.
- Extra time is ignored: only regulation time counts.
- Scores above 5 goals are computed but not shown in the matrix.
- The displayed confidence summarises data quality; it is not a statistical confidence interval.
Version and history
Version in Production: d3-strength-dc-2 (distribution Poisson + Dixon-Coles)
d3-poisson-dc-1 (raw records, prior of 6 matches, refusal below 30 league matches) preceded d3-strength-dc-2; it remains in the code for internal comparison. The distribution stage described here is shared by both versions.
Documentation revision: