AdvancedLec3 Risk&Return
AdvancedLec3 Risk&Return
• Much of applied finance makes use of returns. The return on an asset between time t-1 and t is the percentage
change in wealth that results from owning the asset
• This change comes from both capital gain, and from cash flows such as dividends or coupons
Pt + Dt - Pt -1 Pt - Pt -1
Rt = Rt =
Pt -1 Pt -1
• Note that because of limited liability, simple returns are bounded from below by –100%, in other words, an
investor cannot lose more than his or her investment in the asset
2
Calculating returns
• Very commonly in finance, we use the continuously compounded (or log) return, defined by
rt = ln(1+ Rt )
rt = ln(1+ Rt )
= ln(Pt ) − ln(Pt−1 )
= ln(Pt + Dt ) − ln(Pt−1 )
= ln(Pt / Pt−1 )
• This is for two reasons: firstly, finance theory is often specified in continuous time, and so the concept of
‘return’ in finance often relates to the return over an infinitesimally short period of time; secondly,
continuously compounded returns are more likely to have desirable statistical properties (such as normality)
• The data we have been given (downloaded from Yahoo! Finance) is return index data, and so we do not need
to explicitly allow for dividends in the return computation
3
Calculating returns
4
Statistical functions in Excel
• Security returns are random, and are usually thought of as being drawn from a probability distribution
Mean
Variance - Standard deviation
Skewness
Kurtosis
Covariance - Correlation
5
Matrix functions in Excel
MINVERSE(C) Computes the inverse of the square matrix C, denoted C-1, which is defined by
C-1C=I, where I is the identity matrix
• Like other Excel functions, matrix functions can be nested so complex matrix operations can be easily
performed
• Matrix functions are implemented by selecting the output range with the cursor (so you must first determine
what the dimension of the output matrix is), typing the matrix function with the correct arguments, and then
pressing CTRL+SHIFT+ENTER (as opposed to just ENTER)
• Excel will then perform the matrix calculation and put the output matrix in the area you selected
6
The variance-covariance matrix
• When there is a large number of assets, it is useful to estimate their variance-covariance matrix – this is the
square symmetric matrix that gives the variance of each asset on the diagonal, and the covariance between
each pair of assets on the off-diagonal terms
• Although each element of V could be calculated manually (using the VARP and COVAR functions), things
are considerably easier if we use Excel’s matrix functions
7
The variance-covariance matrix
• Suppose that the returns for the N assets over T time periods are in a TxN matrix, denoted R
8
The covariance matrix
• Using matrix algebra, the covariance matrix can be estimated in a single step as
" r −r … r −r %" r − r … r − r %
1 $
11 1 1T 1
'$ 11 1 N1 N
'
V̂ = $ '$ '
T −1 $ '$ r − r … r − r '
r − r … rNT − rN
$# N1 N '&$# 1T 1 NT N '&
1
= (R − R)T (R − R)
T −1
9
The variance-covariance matrix: example
• Note how the returns have demeaned using Excel’s matrix functions
10