performance-attribution

Decompose portfolio returns into allocation, selection, and timing effects.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/644408071-design/Kokpop --skill performance-attribution-644408071-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-attribution
Source: https://github.com/644408071-design/Kokpop/tree/main/agent/src/skills/performance-attribution
Command: npx skills add https://github.com/644408071-design/Kokpop --skill performance-attribution-644408071-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, scipy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework for analyzing portfolio performance, decomposing returns, and evaluating investment strategies.

Core Features & Use Cases

  • Performance Decomposition: Break down portfolio returns into allocation, selection, and timing effects.
  • Factor Analysis: Decompose returns into market exposure, factor alpha, and beta.
  • Market-Timing Evaluation: Assess market-timing abilities using various models.
  • Benchmark Comparison: Compare strategy performance against benchmarks.
  • Use Case: A financial analyst can use this Skill to understand the sources of a portfolio's returns and identify areas for improvement.

Quick Start

Run the performance attribution analysis for the portfolio using the 'analyze_portfolio' script.

Frequently Asked Questions about performance-attribution

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

FAQPage Schema
How do I decompose portfolio returns into allocation and selection effects?

Portfolio return decomposition breaks down performance into allocation, selection, and timing effects. This analysis isolates the specific drivers of returns, helping identify which investment decisions contributed most to overall strategy results.

What is performance attribution and how does factor analysis evaluate investment strategies?

Performance attribution evaluates investment strategies by decomposing returns into market exposure, factor alpha, and beta. Factor analysis quantifies how specific risk factors drive portfolio performance relative to benchmarks, isolating true manager skill.

Can I use numpy and pandas to run market-timing evaluation models?

Yes, market-timing evaluation relies on numpy, pandas, and scipy to process financial data. These dependencies support the statistical analysis required to assess timing abilities and run benchmark comparisons effectively.

What's the best way to compare portfolio performance against a benchmark?

Benchmark comparison evaluates strategy performance against standard indices by decomposing returns into allocation and timing effects. Running the analyze_portfolio script provides a structured framework to measure relative performance and identify deviation sources.

Do I need historical financial data to run performance attribution analysis?

Yes, performance attribution requires historical financial data to execute statistical analysis. The framework needs portfolio returns and benchmark data to calculate factor exposure, market-timing models, and performance decomposition accurately.