Objective
A risk manager's first question about a book is "where does the risk come from?". Weights do not answer it: a 20% position in a volatile, correlated asset can carry most of the risk, and a hedge can carry negative risk. By the end you should be able to compute marginal and component risk contributions, prove they add up to the total, split risk into factor and specific parts, and use the decomposition to read off optimality conditions.
Marginal contribution to risk
Portfolio volatility is . Its gradient is
is how much volatility rises per unit of extra weight in asset (unfunded: other weights held fixed). Since , two equivalent forms are useful:
where is asset 's beta to the portfolio. An asset negatively correlated with the portfolio has a negative MCR: adding to it lowers risk.
Component contributions and the Euler decomposition
Define the component contribution . Then
This is not a coincidence of the quadratic form. Volatility is homogeneous of degree one: . For any such function, Euler's theorem gives . The same holds for VaR and expected shortfall (also degree one), so they decompose the same way. Variance is degree two, so , which is why contributions to variance are usually written without the derivative.
The percentage contribution sums to 100%, and individual terms can be negative or exceed 100%.
Two cautions. The decomposition is local: it tells you the effect of small changes, not what happens if you remove a position entirely. And it is one of many ways to split a non-additive quantity; Euler's is preferred because it is the only one consistent with marginal changes.
Worked example
a three-asset book
A portfolio holds 60% equities (vol 16%), 20% credit (vol 8%) and 20% government bonds (vol 6%). Correlations: equity–credit 0.6, equity–bonds , credit–bonds 0.2. Compute the portfolio volatility, each asset's MCR and CCR, and the percentage contributions. Then estimate the effect of moving 1% of weight from equities to bonds.
Show solutionHide solution
Covariances: , , ; variances , , .
, so .
| Weight | MCR | CCR | Share of risk | |
|---|---|---|---|---|
| Equities | 60% | 0.1567 | 0.0940 | 90.3% |
| Credit | 20% | 0.0584 | 0.0117 | 11.2% |
| Bonds | 20% | |||
| Total | 0.1041 | 100% |
The CCRs sum to , as Euler requires. Equities are 60% of the capital and 90% of the risk; bonds are a net hedge. As a cross-check, the equity row equals with : .
Moving 1% from equities to bonds changes volatility by about
to about . The exact figure for weights is .
What attribution says about optimal portfolios
The decomposition turns optimality conditions into statements about contributions.
- Minimum variance. The first-order condition means every asset held has the same MCR, and that common value is itself (multiply by ). So each asset's share of risk equals its weight.
- Maximum Sharpe (tangency). Here , which gives for every asset: each asset's excess return per unit of marginal risk equals the portfolio Sharpe ratio. If one asset offers more return per unit of marginal risk, buy more of it. Read backwards, this is reverse optimisation: if the three-asset book above were optimal with , its implied excess returns would be : 7.8% for equities, 2.9% for credit and for bonds.
- Risk parity. Choose weights so every CCR is equal. For two assets this gives weights proportional to whatever the correlation, because reduces to (the cross terms are identical). With more assets correlations matter and it is solved numerically.
Factor versus specific risk
With a factor model , the portfolio's factor exposures are and
The variances add because specific returns are uncorrelated with the factors and with each other. Within the factor part, the Euler decomposition applied to gives each factor's contribution .
The key scaling: specific variance falls like as you spread across names, factor variance does not diversify away at all. A long-only portfolio of 20 or more stocks is mostly market risk; a market-neutral book is mostly specific risk plus whatever style factors were left unhedged.
Worked example
how much of a stock portfolio is market risk?
An equally weighted portfolio holds 20 stocks, each with market beta 1 and specific volatility 30%. Market volatility is 16%. Split the portfolio variance into market and specific parts, and find the volatility left after hedging the market with index futures.
Show solutionHide solution
Portfolio beta is , so the factor variance is .
Specific variance is .
Total variance , volatility . The market accounts for of the variance; 20 stocks is plenty to make a portfolio "the market".
Hedging to zero beta removes the factor term and leaves volatility: the stock-picking bet. By symmetry each stock's CCR is , but after hedging the attribution question becomes "which names dominate the specific risk?", which here is again equal.
Knowledge check
A portfolio is 50% in asset A (vol 10%) and 50% in asset B (vol 20%); they are uncorrelated. What share of the portfolio's risk comes from B?
Knowledge check
Two assets have volatilities 10% and 30% and correlation 0.5. What weights give a risk-parity (equal risk contribution) portfolio?
Knowledge check
At the unconstrained minimum-variance portfolio, how does each asset's percentage contribution to risk compare with its weight?
Key takeaways
- ; ; the CCRs sum to by Euler's theorem because volatility is homogeneous of degree one.
- Contributions can be negative (hedges) or exceed 100%; they are local, valid for small changes.
- Minimum variance: equal MCRs and risk shares equal to weights. Tangency: for every asset. Risk parity: equal CCRs, weights for two assets.
- Factor variance does not diversify; specific variance falls like .
Practice problems
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).