war-gar-decomposition

Estimate hockey player WAR and GAR from shift-level data using ridge regression.

1|Updated May 5, 2026
One-click install
npx skills add https://github.com/sports-data-hq/hockey-skills --skill war-gar-decomposition-sports-data-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: war-gar-decomposition
Source: https://github.com/sports-data-hq/hockey-skills/tree/main/skills/war-gar-decomposition
Command: npx skills add https://github.com/sports-data-hq/hockey-skills --skill war-gar-decomposition-sports-data-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you measure true hockey player value beyond box scores by estimating WAR and GAR from shift-level data, separating individual impact from teammates and opponents.

Core Features & Use Cases

  • RAPM-based valuation: Uses ridge regression on shift data to estimate skater impact by strength state.
  • GAR component breakdown: Splits value into even-strength offense, even-strength defense, power play, penalty kill, penalties drawn, and penalties taken.
  • Contract and player evaluation: Converts GAR into WAR and then into surplus value, making it useful for trade analysis, contract grading, and JFresh-style player cards.
  • Validation guidance: Includes guardrails for regularization, sample-size thresholds, and team-level sanity checks so estimates stay interpretable and stable.

Quick Start

Use the war-gar-decomposition skill to estimate a skater’s WAR, break it into GAR components, and assess contract surplus from shift-level data.

Frequently Asked Questions about war-gar-decomposition

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I estimate hockey player WAR and GAR from shift-level data?

You can estimate hockey WAR and GAR by applying RAPM ridge regression to shift-level data, using duration-weighting and strength-state separation to isolate individual skater impact from teammates and opponents.

What is RAPM ridge regression and how does it work for NHL player evaluation?

RAPM ridge regression is a statistical method that estimates a hockey player's isolated impact by penalizing large coefficients, using sparse design matrices from shift data to separate teammate and opponent effects across strength states.

How do I break down hockey GAR components for even-strength, power play, and penalty kill?

GAR component breakdown splits total value into even-strength offense, even-strength defense, power play, penalty kill, penalties drawn, and penalties taken, applying strength-state separation to shift data for each distinct component.

Can I use WAR estimates for NHL contract surplus and trade analysis?

Yes, you can convert GAR into WAR and then into surplus value, making the estimates useful for trade analysis, contract grading, and player evaluation by quantifying a skater's value above their salary.

What data do I need to build a hockey WAR model with RAPM regression?

You need shift-level performance data to construct sparse design matrices, which are then processed using duration-weighted regression and aging-curve adjustments to estimate skater impact by strength state.

How do I validate hockey WAR estimates against team results?

You validate WAR estimates by applying regularization guardrails, enforcing sample-size thresholds, and running team-level sanity checks to ensure the player valuations remain interpretable and stable.