Sunday, November 2

Covariance and correlation

Covariance of two assets
Covariance is a measure of the degree to which returns on two risky assets move in same direction. A positive covariance means that asset returns move together. A negative covariance means returns move inversely.

Cov (X, Y) = Σ(Pi (Xi – E(X) (Yi – E(Ya)

Covariance between two random variables X and Y is defined as:

  • If -ve, when X is above its mean its is likely that Y is below its mean value;
  • If zero, on average the values of the two variables are unrelated.
  • If +ve, when X is above its mean its is likely that Y is above its mean value.

Note:

  • The covariance of a random variable with itself, its own covariance, is equal to its variance.
    Cov (X, X) = Var (X)

Correlation of two assets
Correlation is a measure that determines the degree to which two variable's movements are associated. Unlike covariance, it enables comparisons between different pairs of assets.

Corr(X,Y) =pxy= Cov(X,Y) / (σX σY)

The correlation coefficient will vary from -1 to +1. The higher the coefficient, the more associated the movements of two assets.

  • If =1, perfect positve corrrelation
  • If = -1, perfect negative correlation
  • If =0, no linear relationship

Covariance between two random variables R1 and R2 using the joint probability function for R1 and R2 is:
Cov(R1,R2) = ΣiΣjP(R1,i, R1,,j) [R2,j – E(R2,j)]

Note:
Expected return of a two asset portfolio
= w1 x E(R1) + w2 x E(R2).
Variance of a two asset portfolio
= w12 σ12+ w22σ22 + 2 w1 w2 Cov(1,2) = w12σ12 + w22σ22 + 2 w1w2 σ1 σ2 p1,2

No comments: