Skip to main content

How to calculate Standard Deviation of two stocks?

 Portfolio correlation:
The correlation states that how much one stock is related to other stock. It measure on the scale of +1.0 to -1.0. If the two stocks have +1 correlation it means both the stocks are positively correlated and if the return of one stock decreases then the return of other stock also decreases in same manner. If both the stocks have 0 correlations it means the two stocks are not correlated it means the return of one stock is increases the other stock does not show the same effect. If the two stocks have -1 correlation it means they are negative correlated and if the return of one stock increases then the return of other stock decreases. Correlation shows the degree of relationship between two stocks.

Formula:
Rij = covij / σi σj
Where,
covij = co-variance between stock i and j
σi = standard deviation of asset i
σj = standard deviation of asset j

Portfolio Co-variance: The co-variance states that how two stocks price move in future. If two stocks move in same direction it means the two stocks have positive co-variance. The negative co-variance means the two stocks move in opposite direction. The investors want to invest in those stocks which have negative co-variance which help to reduce the risk level.

Formula:
Co-variance =Ʃ (returni –Averagei)*(Returnj – Averagej) / Sample size – 1
OR
Co-variance = pij * σi *σj

Standard deviation of two stocks portfolio: Standard deviation shows the risk level of two stocks.
Formula:
σp = (wi2 σi2 + wj2 σj2 + 2wi wj covij)
or
σp = (wi2 σi2 + wj2 σj2 + 2wi wj σi σj pij)
Where,
σp = standard deviation of portfolio
wi and wj = weight of security i and j
pij = correlation of security i and j

Example: Suppose Mr. Y has invested in two companies stock that is AB Company and MN Company. Find out the co-variance between AB stock and MN stock.

Stock
Standard deviation
Correlation of stock AB and MN
AB stock
21%
0.25
MN stock
28%





Solution:
Co-variance =pij * σij
= 0.25*21*28
= 1.47
It shows positive co-variance means both stocks prices were move in same direction.

Example: Find out the Correlation if stock A has 24% and stock B has 32% standard deviation. The co-variance between two stocks is 0.18.

Solution: Rij = covij / σi σj
= 0.18 / 24*32
= 0.000234%
It shows zero correlation between AB stock and MN stock. So, there is no relationship between these two stocks.

Example: Find out the standard deviation of two stocks with the help of given information:
Stock
Weight of stock
Standard deviation
A
60%
52%
B
40%
45%
 The correlation of stock A and B is 0.32.

Solution:
σp = √(wi2 σi2 + wj2 σj2 + 2wi wj σi σj pij)
= √ (0.602 *522 + 0.402 *452 + 2*0.6 *0.4*52*45*0.32)
= √ (0.36*2, 704 + 0.16*2, 025 + 0.48*748.8)
= √ (973.44 + 324 + 359.42)
= √1, 656.86
= 40.70%

Example: Mr X has invested in stock C and D. The weights of security C and D in a portfolio is 30% and 70% respectively. The co-variance of stock C and D is 0.18. The standard deviation of stock C and D is 26% and 38% respectively. Find out the standard deviation of a portfolio.

Solution:
σp = √(wi2 σi2 + wj2 σj2 + 2wi wj covij)
= √ (0.32*262 + 0.72*382 + 2*0.3*0.7*0.18)
= √ (0.09*676 + 0.49*1, 444 + 0.42*0.18)
= √ (60.84 + 707.56 + 0.0756)
= √ 768.48
= 27.72%




Comments

  1. Hey, thanks for the information. your posts are informative and useful. I am regularly following your posts.
    Best stocks,
    La Opala RG,
    GM Breweries,
    IG Petrochemicals,
    CDSL Ltd,

    ReplyDelete
  2. Nice article thanks for sharing such a valuable information with us.you may also check our blog for more information Stock market

    ReplyDelete

Post a Comment