Giter Site home page Giter Site logo

intellect05 / factorriskattribution Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 115 KB

Multi-factor Risk Models of Asset or Portfolio Returns

Home Page: https://github.com/Intellect05/FactorRiskAttribution

R 98.07% VBA 1.93%
multi-factor risk-management risk-analysis risk-modelling risk-models financial-markets portfolio equities investment-strategies quantitative-finance

factorriskattribution's Introduction

Multi-factor Models of Asset or Portfolio Returns

Regression-based factor models are used to forecast the expected return and the risk of a portfolio. The expected return on each asset in the portfolio is approximated as a weighted sum of the expected returns to several market risk factors. The weights are called factor sensitivities or, more specifically, factor betas and are estimated by regression. If the portfolio includes broad market indices, industry factors, style factors (e.g., value, growth, momentum, size), economic factors (e.g., interest rates, inflation) or statistical factors (e.g., principal components). By inputting scenarios and stress tests on the expected returns and the volatilities and correlations of these risk factors, the factor model representation allows the portfolio manager to examine expected returns under different market scenarios.(ref Alexander, C. (2008). Market Risk Analysis II - Practical Financial Econometric. Vol 2.)

The Multi-factor Model is constructed to take into account atleast 38 factors.

The output from the model includes basic ex-ante tracking error calc, systematic and specific risk attribution of assets i.e., assets marginal contributions to risk (MCTR) and assets conditional contributions to risk (CCTR). It also includes these contributions at a factor level and drills down to asset holdings in the portfolio.

The model also outputs the systematic risk, specific risk and total risk of the portfolio based on active weights.

The Model also does exposure analysis where it compares the portfolio and index exposure to the different factors, to understand if the portfolio is taking more risk or not.

The model is uses three types of regression models, the Multi-linear regression model (MLR), the Principal Component regression (PCR) and the Partial Least Squares regression (PLSR).

factorriskattribution's People

Contributors

intellect05 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.