war-gar-decomposition

Derive WAR and GAR metrics from shift-level RAPM regression models.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables precise computation of advanced player value metrics like WAR (Wins Above Replacement) and GAR (Goals Above Replacement) from shift-level data, facilitating in-depth NHL player analysis.

Core Features & Use Cases

  • Player Valuation Modeling: Builds WAR and GAR components for skaters based on RAPM ridge regression on shift data.
  • Contract and Performance Insights: Translates GAR into contract surplus value estimates and visual JFresh-style player cards.
  • Use Case: Analyze a player's contribution beyond goals and assists by evaluating their impact on team performance and cap efficiency, supporting contract negotiations or trade assessments.

Quick Start

Input your shift data CSV with required columns and specify the desired components to get detailed WAR/GAR insights and visualizations.

Frequently Asked Questions about war-gar-decomposition

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

FAQPage Schema
How do I calculate WAR and GAR metrics for NHL player evaluation?

NHL player evaluation using WAR and GAR metrics is calculated by running RAPM ridge regression on shift-level data, aggregating the regression components to quantify individual player contributions beyond basic goals and assists.

What's the best way to use shift data to estimate NHL contract surplus value?

Shift data can estimate NHL contract surplus value by first modeling player GAR metrics through ridge regression, then translating those GAR outputs into visual player cards and cap efficiency estimates for contract analysis.

How does ridge regression model RAPM for hockey player metrics?

Ridge regression models RAPM by processing shift-level data to isolate a player's isolated impact on team performance, aggregating these statistical components into comprehensive WAR and GAR valuations for skaters.

What data format is required to compute GAR and WAR for skaters?

Computing GAR and WAR requires a shift data CSV containing specific columns for on-ice events, along with regression setup configurations to properly process the component aggregation for player valuation.

Can I use WAR and GAR metrics for NHL trade assessments and contract negotiations?

WAR and GAR metrics support NHL trade assessments and contract negotiations by translating shift-level RAPM regression outputs into contract surplus value estimates and visual player cards for direct performance comparison.

What are the limitations of using WAR and GAR for NHL player valuation?

WAR and GAR player valuation relies entirely on shift-level data inputs and ridge regression setup, meaning any missing columns or incomplete shift data will prevent accurate component aggregation and metric calculation.