Chapter 1
Chapter 1
Chapter 1
Chapter 1: Asset Returns, Basic Statistics,
and Matrices
Questions:
• What do we mean by risky assets?
• How can we calculate the expected returns and variances of the risky assets?
Topics in this Chapter:
1.1 Asset Returns.
1.2 Basic Statistics (Review).
1.3 Matrices (Review).
Pt+1 − Pt
rt = .
Pt
Example 1.1 The asset price at time t is $100 and at time t + 1 is $120.
What is the asset return?
Answer:
$120 − $100
rt = = 0.20.
$100
Population variance
2
• For a discrete random variable X, the population variance, σX , is
h i XM
2
σX = Var(X) = E (X − µX )2 = p(xi) (xi − µX )2 .
i=1
PM
which can be calculated using i=1 p(xi , yi ) (xi − µX ) (yi − µY ).
Sample variance
2
• The sample variance, σ̂X , of a random variable X, based on the obser-
vations x1, . . . , xN , is
N
2 1 X
σ̂X = (xi − µ̂X )2.
N − 1 i=1
Compute the following sample statistics: µ̂A, µ̂B , σ̂A2 , σ̂B2 , σ̂A,B , and ρ̂A,B .
Answer:
µ̂A = 0.02, µ̂B = 0.03, σ̂A2 = 0.0024, σ̂B2 = 0.0021,
σ̂A,B = 0.0017, ρ̂A,B = 0.75724.
You will need to know how to calculate sample statistics in Excel for the course
assignment.
• Sample mean: AVERAGE( ).
• Sample variance: VAR.S( ).
• Sample standard deviation: STDEV.S( ).
• Sample covariance: COVARIANCE.S( , ).
• Sample correlation coefficient: CORREL( , ).
y = (y1 · · · yn).
with Cov(rA, rB ) = 0.03. Present the expected returns in a column vector and
the variance-covariance information in a square matrix.
Answer: The vector of expected returns is
E[rA] 0.10
µ= = .
E[rB ] 0.14
The variance-covariance matrix is
Var(rA) Cov(rA, rB ) 0.06 0.03
Ω= = .
Cov(rB , rA) Var(rB ) 0.03 0.08
and
a1,1 − b1,1 · · · a1,n − b1,n
A−B = .. ... .. = (aij −bij )m×n.
am,1 − bm,1 · · · am,n − bm,n
Calculate A − B >.
Answer:
3 1 4 −8 5 9 11 −4 −5
A − B> = − = .
6 2 5 4 3 −7 2 −1 12
Question: Can you calculate A − B?
is another m × n matrix.
• Matrices can be multiplied together, but only if the number of columns in
the left-hand matrix equals the number of rows in the right-hand matrix.
• The resultant matrix has the same number of rows as the left-hand matrix
and the same number of columns as the right-hand matrix.
• If A is a m × n matrix and C is a n × p matrix,
c1,1 · · · c1,p
C = .. . . . .. ,
cn,1 · · · cn,p
then the following m × p product matrix is well-defined:
AIN3220 Investment and Risk Analysis 1-21
Pn Pn
k=1 a1,k ck,1 ··· k=1 a1,k ck,p
AC = P .. ... .. .
n Pn
k=1 am,k ck,1 · · · k=1 am,k ck,p
Example 1.8 Suppose that α = 2 and that the matrices A and C are:
−1 −5
3 1 4
A= , C = 3 0 .
6 2 5
4 6
Calculate αA and AC.
Answer:
3 1 4 6 2 8
αA = 2 = ,
6 2 5 12 4 10
−1 −5
3 1 4 16 9
AC = 3 0 = .
6 2 5 20 0
4 6
Question: Can you compute CA?
XIn = X = InX,