Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
First, it’s “covariance”, not “covariation”.nzhukov wrote:Shall I use Covariation for all pairs?
In real life - I have no idea.nzhukov wrote:
CFA Institute pretty clear talks about 2 and 3 assets in the portfolio, but what shall I do if I need to calculate standard deviation of a portfolio with 5 assets?
Which formula should I use?
I guess they would not give it for more than 3 assets because it would become extremely time consuming.nzhukov wrote:
Guys,
CFA Institute pretty clear talks about 2 and 3 assets in the portfolio, but what shall I do if I need to calculate standard deviation of a portfolio with 5 assets?
Which formula should I use?
Thanks in advance
Yes it is extended form of formula you can use it for the calculation of 5 assets.Finkid wrote:
I guess they would not give it for more than 3 assets because it would become extremely time consuming.nzhukov wrote:
Guys,
CFA Institute pretty clear talks about 2 and 3 assets in the portfolio, but what shall I do if I need to calculate standard deviation of a portfolio with 5 assets?
Which formula should I use?
Thanks in advance
Any ways, the general formula would require N variances and {N(N-1)}/2 pair wise co-variances or correlations. (Source: Kaplan Scheweser)
Hence we will require, 5 variances, and {5(5-1)}/2= 10 pair wise correlations or covariances
We will require following pair wise correlations or covariances, where the 1 is stock no 1, and 2 is stock no 2 and so on,
1,2
1,3
1,4
1,5
2,3
2,4
2,5
3,4
3,5
4,5
(Remember, the correlation between 1,3 is same as 3,1 and 2,4 is same as 4,2 etc.)
For five assets, the formula would become something like this
5 portfolio variance= {(w1^2)(s1^2) + (w2^2)(s2^2) + (w3^2)(s3^2) + (w4^2)(s4^2) + (w5^2)(s5^2)} + {2(w1)(w2)Cov1,2 + 2(w1)(w3)Cov1,3 + 2(w1)(w4)Cov1,4 + 2(w1)(w5)Cov1,5 + 2(w2)(w3)Cov2,3 + 2(w2)(w4)Cov2,4 + 2(w2)(w5)Cov2,5 + 2(w3)(w4)Co3,4 + 2(w3)(w5)Cov3,5 + 2(w4)(w5)Cov4,5}
Sorry if I get some part wrong in the formula, it is starting to look like Greek to me.
Consider the parts in italics and non-italics separately and it will become really easy.
This will give you the variance for 5 assets portfolio. Square root the result to get the standard deviation
Finkid]</p> <p>I would definitely not recommend this, if ever you needed to do it in real life.nzhukov[/I said:wrote:
For five assets, the formula would become something like this
5 portfolio variance= {(w1^2)(s1^2) + (w2^2)(s2^2) + (w3^2)(s3^2) + (w4^2)(s4^2) + (w5^2)(s5^2)} + {2(w1)(w2)Cov1,2 + 2(w1)(w3)Cov1,3 + 2(w1)(w4)Cov1,4 + 2(w1)(w5)Cov1,5 + 2(w2)(w3)Cov2,3 + 2(w2)(w4)Cov2,4 + 2(w2)(w5)Cov2,5 + 2(w3)(w4)Co3,4 + 2(w3)(w5)Cov3,5 + 2(w4)(w5)Cov4,5}
Sorry if I get some part wrong in the formula, it is starting to look like Greek to me.
The simplest way is MATRIX MULTIPLICATION in a SPREADSHEET.
Will have a go at putting it in simple terms (WARNING —–may sound a little Math’y for those not interested):
Hopefully you find some use in this but it is acceptable to find it boring.
- Say you have N assets with weights W1, W2…..,WN and the usual correlations RHO(i,j) where i & j are 1, 2, 3….N.
- Create an Nx1 column vector of WiSi where i = 1, 2,…..N, and W & S are respectively weights and standard deviations of asset i. Call this vector V
- Create an NxN correlation matrix , that is all RHO (i,j), and ensuring that the leading diagonal contains all 1 (i.e. RHO(i,i) =1). Call this matrix CORR.
- Calculate Portfolio Variance = Transpose (V) x CORR x V.
- If you parameterize your spreadsheet with V & CORR you can use the MMULT combined with Transpose functions in excel to get the answer almost immediately. DO NOT FORGET TO ENTER IT AS AN ARRAY FORMULA ( i.e. after entering the formula, then press “Ctrl+Shift+Enter”)