1.2 CovarianceMatrix
1.2 CovarianceMatrix
The portfolio mapping depends on the type of assets in the portfolio. It is different for equity
portfolios compared with bond portfolios, and quite different again for portfolios containing
options. In Volume III we shall cover portfolio mapping separately for each asset class.
A linear portfolio is one whose return may be represented as a linear function of its
underlying risk factor returns. Portfolios with only cash, futures or forward positions are
linear. But options portfolios are non-linear. Bond portfolios are also non-linear functions
of interest rates; however, we shall see in Chapter III.1 that the cash flow representation of
a bond (or a loan, or indeed any interest rate sensitive portfolio) can be regarded as a linear
function of interest rates. The non-linear relationship between prices and interest rates is
captured in the risk factor sensitivities.
As we have not yet dealt with the intricacies of portfolio mapping we shall here only
consider linear portfolios that are small enough to be represented at the asset level. Then,
for the portfolio to be linear, its return must be a linear combination (i.e. a weighted sum) of
the returns on its constituent assets. In this case it is convenient to represent the portfolio’s
risk and return in matrix form. The remainder of this section shows how this is done.
9
Only in this way we can attribute risk to different sources.
10
The variance, standard deviation, covariance and correlation operators are introduced formally in the next chapter, in Sections I.3.2
and I.3.4.
EBSCO Publishing : eBook Collection (EBSCOhost) - printed on 1/11/2018 2:38 PM via UNIVERSIDAD DE LOS ANDES
AN: 323283 ; Alexander, Carol.; Market Risk Analysis, Quantitative Methods in Finance
Account: undeloan
56 Quantitative Methods in Finance
where D is a diagonal matrix of returns standard deviations and C is the returns correlation
matrix. That is,
⎛ 2 ⎞ ⎛ ⎞⎛ ⎞⎛ ⎞
Copyright © 2008. Wiley. All rights reserved. May not be reproduced in any form without permission from the publisher, except fair uses permitted under U.S. or
1 12 1m 1 0 0 1 12 1m 1 0 0
⎜ 12 2 2m ⎟ ⎜ 0 2 0 0 ⎟ ⎜ 12 1 2m ⎟ ⎜ 0 2 0 0 ⎟
⎜ 2 ⎟ ⎜ ⎟⎜ ⎟⎜ ⎟
⎜ ⎟ ⎜ ⎟⎜ ⎟ ⎜ ⎟
⎜ ⎟=⎜ 0 0 ⎟⎜ ⎟⎜ 0 0 ⎟
⎝ ⎠ ⎝ 0 ⎠⎝ ⎠⎝ 0 ⎠
1m 2m m2 0 0 m 1m 2m 1 0 0 m
Solution We have
⎛ ⎞ ⎛ ⎞
02 0 0 1 08 05
D=⎝ 0 01 0 ⎠ C = ⎝ 08 1 03 ⎠
0 0 015 05 03 1
⎛ ⎞⎛ ⎞⎛ ⎞ ⎛ ⎞
02 0 0 1 08 05 02 0 0 004 0016 0015
⎝ 0 01 0 ⎠ ⎝ 08 1 03 ⎠ ⎝ 0 01 0 ⎠ = ⎝ 0016 001 00045 ⎠
0 0 015 05 03 1 0 0 015 0015 00045 00225
It is convenient to write this relationship in matrix form. Let r denote the k × 1 vector of
asset returns and let w denote the k × 1 vector of portfolio weights. That is
applicable copyright law.
R = w r (I.2.22)
EBSCO Publishing : eBook Collection (EBSCOhost) - printed on 1/11/2018 2:38 PM via UNIVERSIDAD DE LOS ANDES
AN: 323283 ; Alexander, Carol.; Market Risk Analysis, Quantitative Methods in Finance
Account: undeloan
Essential Linear Algebra for Finance 57
The risk of an asset or a portfolio can be measured by its standard deviation, i.e. the
square root of its variance. Taking the variance of (I.2.21) and using the properties of the
variance operator (see Section I.3.2.6), we obtain the following expression for the variance
Copyright © 2008. Wiley. All rights reserved. May not be reproduced in any form without permission from the publisher, except fair uses permitted under U.S. or
Hence the variance of a portfolio is a quadratic function of the variances and covariances
on the constituent assets. However, (I.2.23) is a very cumbersome expression. It is much
more convenient to write the portfolio variance in matrix form and when we do this we see
that the portfolio variance is a quadratic form, with the vector being the vector of portfolio
weights and the matrix being the covariance matrix of the asset returns. That is,
VR = w Vw (I.2.24)
Note that (I.2.20) gives another way to write the portfolio variance, as
VR = x Cx x = Dw (I.2.25)
Thus the variance of the portfolio returns can be expressed as either
• a quadratic form of the covariance matrix and the portfolio weights vector w, or
• a quadratic form of the correlation matrix and the vector x where each weight is
multiplied by the standard deviation of that asset return.
The result will be the same, as shown in Example I.2.12 below. In this example we use the
term volatility. Volatility is the same as standard deviation, except it is quoted in annualized
terms. Under a constant weights assumption the volatility of the portfolio P&L is the returns
volatility times the current value of the portfolio.
Solution With these volatilities the annual variances of the assets are 0.01 and 0.04 and
their annual covariance is 05 × 01 × 02 = 001. Hence the annual covariance matrix is
001 001 1 1
V= = × 10−2
001 004 1 4
04
The portfolio weights vector is w = and so the annual variance of the portfolio
06
return is
applicable copyright law.
1 1 04 −2
04
w Vw = 04 06 × 10 = 04 + 06 04 + 06 × 4 × 10−2
1 4 06 06
04
= 1 28 × 10−2 = 04 + 28 × 06 × 10−2 = 208 × 10−2
06
EBSCO Publishing : eBook Collection (EBSCOhost) - printed on 1/11/2018 2:38 PM via UNIVERSIDAD DE LOS ANDES
AN: 323283 ; Alexander, Carol.; Market Risk Analysis, Quantitative Methods in Finance
Account: undeloan
58 Quantitative Methods in Finance
012 05 1
Then
1 05 004 004
x Cx = 004 012 = 01 014
05 1 012 012
= 0004 + 00168 = 00208
Either way the portfolio return’s volatility is the square root of 0.0208, i.e. 14.42%, and the
portfolio’s P&L has volatility 01442 × E5 million = E721,000.
11
Or at least we should require that all portfolios have non-negative variance. Hence the condition of positive definiteness that we
apply to covariance matrices is sometimes relaxed to that of positive semi-definiteness.
12
Note that D will always be positive definite since it is a diagonal matrix with positive elements on its diagonal.
EBSCO Publishing : eBook Collection (EBSCOhost) - printed on 1/11/2018 2:38 PM via UNIVERSIDAD DE LOS ANDES
AN: 323283 ; Alexander, Carol.; Market Risk Analysis, Quantitative Methods in Finance
Account: undeloan