Methods
Data
- PWHL HockeyTech feed: play-by-play and box scores, January 2024 onward.
- Shots on goal only; the feed has no missed shots. Blocked shots have no xG.
- Trained on 18,044 regular-season and playoff shots (1,399 goals). Excludes empty-net shots, penalty shots and shootouts.
Features
- Distance, angle, visible net width
- Shot type, shooter position
- Skaters on ice for each team (from penalties and goalie pulls)
- Rebounds and rebound angle change
- Previous event: type, timing, distance travelled, cross-ice movement
- Recent attempts by either team, time since an offensive-zone faceoff, power-play time elapsed
- Score state
Not used: the scorer's “quality” tag (no gain, and 71% of goals vs 47% of saves carry it).
Validation
LightGBM. 5-fold cross-validation by game, ×3; last column trains on 2024–2025 and tests on 2025-26.
| Model | Log-loss skill | AUC | Brier skill | Calib. error | 2025-26 AUC |
|---|---|---|---|---|---|
| Logistic, original notebook features | 0.074 | 0.710 | 0.040 | 0.0076 | 0.723 |
| Logistic, original features minus quality tag | 0.074 | 0.710 | 0.040 | 0.0078 | 0.722 |
| Distance + angle only | 0.069 | 0.704 | 0.038 | 0.0080 | 0.718 |
| Spline logistic | 0.084 | 0.724 | 0.050 | 0.0094 | 0.735 |
| Spline logistic + quality tag | 0.084 | 0.724 | 0.050 | 0.0091 | 0.736 |
| Gradient boosting, without sequence features | 0.091 | 0.726 | 0.056 | 0.0048 | 0.730 |
| Gradient boosting + quality tag | 0.091 | 0.727 | 0.056 | 0.0055 | 0.731 |
| Gradient boosting (live) | 0.094 | 0.730 | 0.058 | 0.0066 | 0.734 |
Calibration
xG vs goals by season
| Season | Shots | Goals | xG |
|---|---|---|---|
| 2024 Regular Season | 4,134 | 321 | 320.7 |
| 2024 Playoffs | 758 | 38 | 52.9 |
| 2024-25 Regular Season | 4,857 | 413 | 376.2 |
| 2025 Playoffs | 756 | 58 | 51.7 |
| 2025-26 Regular Season | 6,660 | 510 | 529.3 |
| 2026 Playoffs | 725 | 50 | 55.1 |
| 2026-27 Regular Season | 154 | 9 | 12.4 |
By distance
| Distance (ft) | Shots | Goal rate | Mean xG |
|---|---|---|---|
| 0–10 | 1,893 | 16.4% | 16.6% |
| 10–15 | 2,132 | 12.9% | 12.7% |
| 15–20 | 1,813 | 11.5% | 11.2% |
| 20–25 | 1,678 | 9.2% | 9.5% |
| 25–30 | 1,489 | 7.7% | 7.4% |
| 30–40 | 2,985 | 5.0% | 5.2% |
| 40–50 | 2,369 | 3.9% | 3.8% |
| 50–70 | 3,104 | 3.1% | 2.8% |
| 70–200 | 581 | 0.3% | 0.9% |
xPoints
- Regulation shots on goal, excluding empty-net shots. Each is a Bernoulli trial at its xG, giving each team's exact goal distribution and P(win / tie / loss) in regulation.
- xG is score-adjusted: trailing teams take 53% of the xG when down one and 57% when down two or more.
- Shot-by-shot independence predicts too few ties, so P(tie) is raised to the league's OT rate (29%).
- 3 points for a regulation win, 2 for an OT/shootout win, 1 for an OT/shootout loss. OT is a coin flip.
| Predicting points in the other half of a season | r |
|---|---|
| Points | 0.20 |
| xG differential | 0.38 |
| xPoints | 0.39 |
Random half-season splits, 500 draws, within-season centred. Out-of-fold xG. Game-level ranked probability score 0.216 vs 0.226 for league base rates (323 games).
Limits
- No missed shots, passes, or shift data; on-ice players are listed only for goals.
- Shot locations are hand-entered; wrong-end clicks are mirrored back.
- Goalie pulls are not always logged.
- Shot type is missing for 12–55% of shots, depending on season.
- Post-goal centre-ice faceoffs are often timestamped before the goal; they are dropped from shot context.