Skip to content

Conversation

@tgu0
Copy link

@tgu0 tgu0 commented Dec 8, 2025

Document includes:

  • Complete mathematical framework for multi-factor risk models
  • Detailed explanation of Size, Value, and Momentum factor construction
  • Cross-sectional regression methodology (Fama-MacBeth approach)
  • Risk decomposition framework (factor vs specific risk)
  • Marginal contribution to risk, CTR, and percent CTR derivations
  • Justification for all modeling choices (factor selection, normalization, estimation windows, annualization, diagonal specific risk matrix)
  • Mathematical appendix with proofs and identities
  • Academic references

Document includes:
- Complete mathematical framework for multi-factor risk models
- Detailed explanation of Size, Value, and Momentum factor construction
- Cross-sectional regression methodology (Fama-MacBeth approach)
- Risk decomposition framework (factor vs specific risk)
- Marginal contribution to risk, CTR, and percent CTR derivations
- Justification for all modeling choices (factor selection, normalization,
  estimation windows, annualization, diagonal specific risk matrix)
- Mathematical appendix with proofs and identities
- Academic references
@tgu0
Copy link
Author

tgu0 commented Dec 8, 2025

adding doc

The notebook covers:
- Setup and data loading
- Portfolio, benchmark, and active weight visualization
- Factor exposures and covariance/correlation matrices
- Portfolio-level risk measures (factor, specific, total)
- Stock-level risk attribution (MCTR, CTR, PCTR)
- Factor-level risk decomposition
- Summary dashboard
- Appendix with raw risk matrices and factor returns
@tgu0 tgu0 force-pushed the claude/document-equity-risk-model-01WGy8ikZrevLf36ePqcmQLu branch from d0eb989 to 1292077 Compare December 8, 2025 23:54
New Section 7 includes a complete 2-stock, 2-factor example demonstrating:
- Factor risk matrix construction (BΩB')
- Total risk matrix assembly
- Portfolio risk calculation
- Stock-level attribution (MCTR, CTR, PCTR)
- Factor-level decomposition
- Summary tables and key insights

The example shows how the off-diagonal covariance between stocks
is fully explained by common factor exposures, and demonstrates
the Euler decomposition property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants