Expected value, standard deviation, covariance, and correlation of returns on a portfolio
Example 5: Calculating variance and standard deviation |
|||||||||||||||||||||||||||||||||||||||||||||||
The probability distribution for a company's EPS is given below in the table.
Solution:
Standard deviation = Square root of variance = $0.2132 |
The covariance between two random variables is the probability-weighted average of the cross products of each random variable's deviation from its expected value. It measures how a random variable varies with another random variable.
Cov(Ri, Rj) = E{[Ri - E(Ri)][Rj - E(Rj)]}
Properties of Covariance:
Covariance is symmetric i.e. Cov(X,Y) = Cov(Y,X). It can range from negative infinity to positive infinity. The covariance of a variable with itself is equal to its variance which is always positive.
A negative covariance means that the two variables move together in the opposite direction. A positive covariance means that the two variables move in the same direction. A zero covariance means that the two variables are unrelated.
Limitations of Covariance:
The covariance has comparability issues across data sets having different scales. It is dependent on the data and scaling of data and can take extremely large values. It does not tell anything about the strength of the relationship between two variables. Two variables having a covariance of 100 may not have a strong relationship than two variables having a covariance of 50.
Example 6: Calculating covariance between two variables |
||||||||||||||||||||||||||||||||||||
The returns of two stocks are given below for three interest rate scenarios.
Calculate and interpret the covariance of return for stock A and stock B.
The covariance of returns for stock A and stock B = 0.20*(0.05-0.112)(0.02-0.103) + 0.50*(0.12-0.112)(0.09-0.103) + 0.30*(0.14-0.112)(0.18-0.103) = 0.001624 |
The correlation coefficient measures the strength and direction of the linear relationship between two variables. It is calculated by dividing the covariance between two variables divided by the product of their standard deviations.
ρ(Ri, Rj) = Corr(Ri, Rj) = Cov(Ri, Rj)/σ(Ri)σ(Rj)
Properties of Correlation:
It measures the strength of the relationship between two random variables. It has no units and lies between -1 to +1. A correlation coefficient of +1 indicates a perfect positive correlation between two random variables. A correlation coefficient of -1 indicates a perfect negative correlation between two random variables. A correlation coefficient of zero indicates no linear relationship between two random variables.
Two variables with a correlation coefficient of -0.80 are more strongly related to each other than the two variables with a correlation coefficient of +0.50. The magnitude matters rather than sign when looking at the strength of the relationship.
Limitations of Correlation:
It does not specify the factors that cause the linear relationship between the two variables. It is not good for measuring the non-linear relationship.
Example 7: Calculating correlation coefficient between two variables |
What is the correlation coefficient between the returns of two stocks having a covariance of 0.00546? The variance of the stocks A and B are 0.0039 and 0.0082 respectively. |
Expected return on a portfolio: The expected return on a portfolio is the weighted average of the expected returns on the constituents securities.
Weight of asset i = wi = Market value of asset i/Market value of portfolio
E(RP) = ∑wiE(Ri) = w1E(R1) + w2E(R2) + .... + wNE(RN)
Variance of a portfolio: The variance of a portfolio is not only the function of the variance of constituent securities but also the covariances between the constituent securities.
Var(RP) = ∑∑wiwjCov(Ri, Rj)
Variance of two-asset portfolio = wA2σ(RA)2 + wB2σ(RB)2 + 2wAwBCov(RA, RB) = wA2σ(RA)2 + wB2σ(RB)2 + 2wAwB σ(RA) σ(RB)ρ(RA, RB)
Variance of three-asset portfolio = wA2σ(RA)2 + wB2σ(RB)2 + wC2σ(RC)2 + 2wAwBCov(RA, RB) + 2wBwCCov(RB, RC) +2wCwACov(RC, RA)
Covariance Matrix: A covariance matrix contains the covariances between the variables.
Covariance matrix of 2 assets
Stock A |
Stock B |
|
Stock A |
0.0024 |
0.0084 |
Stock B |
0.0084 |
0.0145 |
In the above matrix, the variance of stock A is 0.0024, the variance of stock B is 0.0145, and the covariance of stock A and B is 0.0084.
Covariance matrix of 3 assets
Stock A |
Stock B |
Stock C |
|
Stock A |
0.0039 |
0.0028 |
-0.0091 |
Stock B |
0.0028 |
0.0082 |
0.0013 |
Stock C |
-0.0091 |
0.0013 |
0.0130 |
Note that each covariance will occur twice and variance will occur only once in the covariance matrix.
Previous LOS: Tree diagram representing an investment problem
Next LOS: Calculation of covariance given a joint probability function