# Expected goals: experiment methods and results

These results combine exact specified probability examples with a bounded original replication on lawfully reusable historical football data. None validates Cateo's live production forecasting models, identifies a betting edge, or establishes a new statistical identity.

## A. Exact experiments

`reproduce.py` runs on Python's standard library. All finite Bernoulli calculations use rational numbers; logarithms, exponentials and Poisson terms use ordinary double precision. It uses no random sampling. Sampling confidence intervals and random seeds are therefore inapplicable. Structural assumptions and uncertain real-world inputs remain the substantive uncertainty. `results.json` includes numeric and exact rational results.

### Equal totals do not identify goal distributions

Treat each shot list as exogenous and shot outcomes as independent. The opponent is fixed at four shots with probability 0.30 each. Compute the Poisson-binomial probability mass function by repeated convolution and the full win/draw/loss distribution by Cartesian summation over the two goal-count distributions.

| Profile | Mean | Variance | At least one goal | At least two goals | Win | Draw | Loss |
|---|---:|---:|---:|---:|---:|---:|---:|
| Two shots at 0.60 | 1.20 | 0.48 | 0.8400000000 | 0.3600000000 | 0.3498600000 | 0.3312400000 | 0.3189000000 |
| Twelve shots at 0.10 | 1.20 | 1.08 | 0.7175704635 | 0.3409977482 | 0.3439527980 | 0.2903166428 | 0.3657305592 |
| Mean-matched Poisson vs fixed four-shot opponent | 1.20 | 1.20 | 0.6988057881 | 0.3373727338 | 0.3411492755 | 0.2852323162 | 0.3736184083 |

When both teams are replaced by independent Poisson(1.20), win/draw/loss is 0.3616888385 / 0.2766223231 / 0.3616888385. This is a different approximation from replacing only the focal team, so keep the two comparisons labeled.

The at-least-one difference between the two shot profiles is 12.24295365 percentage points. This is established distributional behavior, not new mathematics. There is no uniform ordering over every tail: the concentrated team cannot score three times, whereas the diffuse team can. A realized match shot list is selected partly by earlier outcomes, so these fixed-list distributions are neither a causal replay of a football match nor a pre-match prediction.

### Rebounds: separate the estimands

The first shot scores with probability 0.40. Following a miss, a rebound shot occurs with probability 0.50 and converts with conditional probability 0.60. Exactly enumerate four terminal branches:

| Branch | Probability | Goals | Sum of realized shot xG |
|---|---:|---:|---:|
| First goal | 0.40 | 1 | 0.40 |
| Miss, no rebound | 0.30 | 0 | 0.40 |
| Miss, rebound goal | 0.18 | 1 | 1.00 |
| Miss, rebound miss | 0.12 | 0 | 1.00 |

Pre-possession expected goals and the probability of any goal are both 0.58 in this one-goal possession. Expected sum of realized xG is also 0.58: linearity of expectation is intact. On the selected rebound path, the descriptive sum is 1.00, and the probability of an eventual goal conditional on observing the rebound is 0.60 because the first shot is known to have missed. A hypothetical fixed independent list [.40,.60] gives 0.76. Each number answers a distinct conditioning question; none should be quietly substituted for another.

### Correct marginals do not identify dependence

With equal probability, a shared latent state makes both shots independently 0.50 or both independently 0.10. Each shot's unconditional probability is exactly 0.30. The mixture PMF is [0.53, 0.34, 0.13], compared with [0.49, 0.42, 0.09] under independent Bernoulli(.30) shots. Both means are 0.60. Variance is 0.50 versus 0.42; the probability of any goal is 0.47 versus 0.51. Positive dependence can change zero and multiple-goal risk while preserving correct marginals.

### Temporal resolution changes exposure unless hazards are converted

Assume a constant hazard corresponding to 2% probability in a nonoverlapping one-second interval, sustained for five seconds. The correct five-second probability is 1−.98^5 = .0960792032. Reusing 2% independently at all 125 frames at 25 Hz gives 1−.98^125 = .9199687755. Convert to frame probability qδ=1−(1−q1)^δ, where δ=.04 seconds, to obtain .000807781861 per frame and preserve the same five-second probability. This conversion is justified by the stipulated constant hazard. Overlapping next-second classifier forecasts are not automatically disjoint conditional hazards, so the example is not a recipe for multiplying arbitrary tracking outputs.

### Supplement: pooled calibration can hide context errors

Equal groups with true probabilities .05 and .35 make constant .20 perfectly calibrated in the pooled population. Its expected Brier loss is .16; an oracle that observes the group obtains .1375. Expected natural-log loss is .5004024235 versus .4229809412. The group probabilities are stipulated; this is not evidence a learned model can recover them.

## B. Historical empirical replication

### Provenance and license

Data were collected by Wyscout and published by Luca Pappalardo and colleagues with Scientific Data 6:236 (2019), DOI https://doi.org/10.1038/s41597-019-0247-7. Official collection: https://doi.org/10.6084/m9.figshare.c.4415000. The Events v1 item https://doi.org/10.6084/m9.figshare.7770599.v1 and Matches v1 item https://doi.org/10.6084/m9.figshare.7770422.v1 explicitly use CC BY 4.0, https://creativecommons.org/licenses/by/4.0/. Credit authors and Wyscout, state that Cateo produced the transformations/analysis, and do not imply endorsement.

The code retrieves fixed Figshare file IDs, verifies the publisher MD5, and records SHA-256. Event/tag mapping files were inspected to verify eventId10/subEventId100 for ordinary shots and tag101 for goals. Wyscout's normalized pitch coordinates are expressed from the attacking team's perspective. The study uses only the shot origin; no goal/accuracy/endpoint information enters a predictor.

| Archive | Fixed ID | Bytes | SHA-256 |
|---|---:|---:|---|
| events.zip | 14464685 | 77,323,413 | 877e015b716ffdeea18f04418e3f24fed307ed03c37ff305cabe1f47c4822a45 |
| matches.zip | 14464622 | 645,097 | c8f92bb7533e5c127e043cee764c991b5c25b4f5e70a65be931baae0b1765ce9 |

`empirical-results.json` includes hashes of the extracted England files, complete match IDs by partition, model coefficients and runtime versions. `empirical-match-summary.csv` contains compact derived per-match heldout counts and loss sums, permitting independent recomputation of point estimates and paired bootstrap without republishing the full event archive.

### Population and chronology

The dataset contains 643,150 events over all 380 English first-division matches in 2017/18. Exactly 8,451 records are ordinary shots, with 914 goal labels. All meet the selected first/second-half, valid-origin, non-own-goal conditions; no records were dropped for missing/invalid positions, period, or own-goal tags. Penalties and direct free-kick shots have different event codes and are outside this defined population. Headers/body attempts remain in the ordinary-shot population.

Sort matches by UTC kickoff then ID. Choose nominal 60%/80% match boundaries and extend each to the end of that UTC day. This keeps each full match and date within one partition. No random shot split is used.

| Partition | UTC date span | Matches | Shots | Goals |
|---|---|---:|---:|---:|
| Training | 2017-08-11 to 2018-01-14 | 229 | 5,194 | 553 |
| Calibration | 2018-01-15 to 2018-03-17 | 75 | 1,627 | 183 |
| Final evaluation | 2018-03-31 to 2018-05-13 | 76 | 1,630 | 178 |

The analysis protocol was written before evaluation metrics in this run; it was not externally preregistered. The first calibration date was corrected from a prose typo using metadata; the date-based split algorithm and membership were unchanged.

### Model and evaluation

Transform normalized x/y origins to distance in meters and goal-mouth angle in radians, assuming a 105m × 68m pitch and 7.32m goal width. Fit StandardScaler on training data only. Fit an L2 logistic regression with two standardized features, C=1, lbfgs, tolerance1e−10 and maximum1,000 iterations; convergence took12 iterations. The comparator is the training goal fraction553/5194=.1064690027. No hyperparameter search is performed.

The secondary model adds an intercept shift to the fitted geometry log odds, estimated on the middle calibration partition. The resulting shift is+.0697782194. This model is reported regardless of its heldout result; the test set is not used to choose it.

Binary Brier is mean(p−y)^2, and log loss uses natural logarithms. For uncertainty, resample all shots from whole final-evaluation matches, with replacement, 2,000 times, seed20261201. The statistic remains shot-weighted through a ratio of summed loss to summed shot count. Each bootstrap draw is shared by both compared models. Percentile95% intervals condition on the fitted model; they do not incorporate uncertainty from training or dependence across matches sharing teams.

| Model | Brier | Natural-log loss | Sum of predicted goal probabilities |
|---|---:|---:|---:|
| Training-rate constant | .0972847498 | .3448835969 | 173.5444744 |
| Distance + angle | .0846418076 | .2926494305 | 176.1367257 |
| Distance + angle, intercept recalibrated | .0846018365 | .2927799967 | 186.0377823 |

Geometry minus constant: ΔBrier −.0126429422,95% CI[−.0167404908,−.0086528721]; Δlog loss−.0522341663,95% CI[−.0658934715,−.0389952340]. Both are reductions in this heldout period. The point estimate Brier reduction is about13%, but this is a simple reference comparison, not a market or commercial-provider benchmark.

Recalibrated minus raw geometry: ΔBrier−.0000399711,95% CI[−.0003058784,.0002218999]; Δlog loss+.0001305662,95% CI[−.0008814483,.0010328645]. Both intervals include zero. Intercept recalibration's benefit is not established here, and the two point-estimate loss directions disagree. This negative finding must be retained.

### Descriptive compression diagnostic

For each of152 heldout team-match shot lists, apply the fitted raw geometry probabilities to calculate the fixed-independent-list at-least-one probability and its mean-matched Poisson counterpart. The former exceeds the latter by a mean3.3775 percentage points and median2.8203 points; the10th–90th percentile range is1.3987–6.0442 points. This is a mathematical transformation of selected observed shot lists. It is not evaluated as an honest pre-match forecast and must not be advertised as an improvement in predicting match outcomes.

### Limitations and interpretation

The empirical component establishes a modest and unsurprising result: in a chronological historical shot sample, origin geometry carries conversion information beyond a constant goal rate. It also demonstrates that a plausible recalibration step need not provide detectable additional benefit. It cannot establish production model quality, finishing talent, causal action value, current cross-league transportability or profitability. Only one league-season and one heldout block are used. The public source was retrieved in2026, so a2018 chronological split is an emulation, not proof of real-time2018 data availability or absence of later source corrections. Coarse origins and standardized pitch dimensions omit substantial defensive, goalkeeper, player, movement, body-part and match-state context. Binning calibration outcomes with small counts should be interpreted cautiously.

## Reproduction

1. Exact examples: `python reproduce.py --output results.json` (standard library).
2. Historical replication: install compatible `numpy scipy scikit-learn`, then `python empirical.py --download --data-dir data --output empirical-results.json`. Observed versions are numpy2.3.5, scipy1.17.0 and scikit-learn1.8.0, recorded in the results.
3. Figures: install matplotlib and run `python make_figures.py` beside both result files. It emits English/Spanish SVG and PNG versions.

The exact synthetic results and the empirical implementation were independently checked by another research agent. This internal computational review is not external academic peer review.
