Professional Documents
Culture Documents
Bank of Baroda (X) Axis Bank (Y) XY X Y
Bank of Baroda (X) Axis Bank (Y) XY X Y
Bank of Baroda (X) Axis Bank (Y) XY X Y
X Y XY X2 y2
3443.6 12676 12676 12676 12676
( n*XY) - (X*Y) (n*X2) - (X)2 (n*X2) - (X)2 Correlation
-43498961.6 -11706268.96 -160528864 43349671.946 -1.00
n (X)2 (Y)2
12 11858380.96 160680976
Months Cipla (X) Sun Pharma (Y) X Y XY
Jan-16 585.7 873 343044.5 762129 511316.1
Feb-16 515 855.05 265225 731110.5 440350.8
Mar-16 512.2 819.45 262348.8 671498.3 419722.3
Apr-16 537 811.3 288369 658207.7 435668.1
May-16 472.4 762.7 223161.8 581711.3 360299.5
Jun-16 501.45 763.6 251452.1 583085 382907.2
Jul-16 528.15 829.75 278942.4 688485.1 438232.5
Aug-16 572.6 774.85 327870.8 600392.5 443679.1
Sep-16 580.25 742.7 336690.1 551603.3 430951.7
Oct-16 577.35 748.25 333333 559878.1 432002.1
Nov-16 566.55 710.3 320978.9 504526.1 402420.5
Dec-16 568.2 629.75 322851.2 396585.1 357824
6516.85 9320.7 3554268 7289212 5055374
NXY-(X)(Y)
Correlation
[[NX-(X)][NY-(Y)]]^
NXY-(X)(Y) -77118.9150000066
[[NX-(X)][NY-(Y)]]^
328989.375127931
r -0.2344115672
This shows that there is negative correlation between Cipla and Sunpharma.
Stock A Stock B
Probability Returns Probability 2
0.3 100 0.35
0.4 80 0.2
0.3 140 0.45
Standard deviation a 25 b
Covariance 15.33
-64.32
65.61
Covariance 16.62
286.5
772.75
28
riance/ab