contribution-analysis
OfficialQuantify factor contributions with R² decomposition.
AuthorGeneralReasoning
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Contribution analysis quantifies how much each factor contributes to explaining the variance of a response variable using the R² decomposition method. This skill enables precise attribution of predictive power to individual variables or factor groups, improving model interpretation and decision-making.
Core Features & Use Cases
- Global PCA-based factor scores: Combine variables, standardize, and derive factor scores for downstream contribution analysis.
- R²-based attribution: Compute each factor's share of explained variance via R² decomposition.
- Use Case: Data scientists can compare the influence of different feature groups on a target outcome to guide feature engineering and model selection.
Quick Start
Run a complete contribution analysis by fitting a global PCA across all variables, obtaining factor scores, and calculating each factor's contribution to the total R².
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: contribution-analysis Download link: https://github.com/GeneralReasoning/env-skillsbench/archive/main.zip#contribution-analysis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.