Excel tutorial: calculating covariance and correlation of stock returns

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Discusses how to download two companies' stock returns from Yahoo Finance, and calculate (a) the variance and standard deviation of each stock, and (b) the covariance and correlation of the returns of both stocks.
    Some good books on Excel and Finance:
    Financial Modeling - by Benninga:
    amzn.to/2tByGQ2
    Principles of Finance with Excel - by Benninga:
    amzn.to/2uaCyo6

ความคิดเห็น • 77

  • @abdisamichirsi1638
    @abdisamichirsi1638 2 ปีที่แล้ว +3

    HI THERE, I WAS ACTUALLY WORRIED ABOUT A PROECT OF THE SAME BUT AFTER WATCHING YOUR VIDEO I MUST CONFESS IT IS MORE THAN USEFULL AND AM GLAD. THANK YOU SIR. KEEP THE GOOD WORK

  • @antonioromero878
    @antonioromero878 4 ปีที่แล้ว +5

    This popped up randomly on my youtube recommended and I have no regrets.

  • @terrysedmak7298
    @terrysedmak7298 8 ปีที่แล้ว +2

    Excellent demonstration of calculating covariance and correlation of stocks. I'm working on something right now and this was very helpful. Keep the tutorials coming, they do help us.

  • @JayHennigan
    @JayHennigan 4 ปีที่แล้ว +2

    You have saved me a world of pain. I leaned a lot, thank you!

  • @NircAgis
    @NircAgis 2 ปีที่แล้ว

    Yoooo, youre a life saver man. Haha. Now i dont have to manually go thru all operations and just use the function.

  • @pojungchiang5956
    @pojungchiang5956 2 ปีที่แล้ว +1

    Shouldn't you be calculating the "sample" variance and covariance since you selected a specific return period?

  • @sandraarmanious4913
    @sandraarmanious4913 4 ปีที่แล้ว +1

    is it possible to leave the last price for the last date? won't it make a difference in the variance and the correlation?

  • @leharjain6718
    @leharjain6718 4 ปีที่แล้ว

    Hello sir, nice lecture.
    Just wanted to understand, why we have done minus 1 while calculating daily returns

  • @jaygandhi778
    @jaygandhi778 7 ปีที่แล้ว +5

    can we find covariance for 3 companies??

  • @soeralecha
    @soeralecha ปีที่แล้ว

    Thank you for simplifying this

  • @arinayahya8884
    @arinayahya8884 7 ปีที่แล้ว +4

    hi sir, whats the difference of using the formula var and varp?

  • @merjenorazmammedova6516
    @merjenorazmammedova6516 10 หลายเดือนก่อน

    Thank you so much for the video!

  • @gauravmohan9271
    @gauravmohan9271 2 ปีที่แล้ว

    thank you so much brother. keep growing

  • @ajayjcd
    @ajayjcd 7 ปีที่แล้ว

    hello sir,thanks for your sharing,have you had shared further videos on fundamental analysis, i mean how to take marrket return=rm,and risk free rate and beta to apply capm formula for identifying the intrinsic value of a stock?

  • @xj1471
    @xj1471 2 ปีที่แล้ว

    looking at those stock prices in 2021 makes me cry

  • @JenJen-sf5hg
    @JenJen-sf5hg 9 ปีที่แล้ว +2

    Hi Why are you using straight ave instead of geo ave? I thought we were supposed to use geo ave for this purpose. Thank you!

  • @dbsk06
    @dbsk06 6 ปีที่แล้ว

    so helpful - can you provide the excels for downlaod so we can do this along with you ? think that would help with subscribers

  • @manishathakur2628
    @manishathakur2628 4 ปีที่แล้ว

    Thank you sir.. it was really helpful.

  • @assematalla8740
    @assematalla8740 4 ปีที่แล้ว

    Will the covariance change if we replace array 1 with 2?how do i know which one is first?

  • @dheerajkhetan4461
    @dheerajkhetan4461 2 ปีที่แล้ว

    Wonderful, an eye opener

  • @scottjeffery7297
    @scottjeffery7297 7 ปีที่แล้ว +1

    Outstanding presentation!!!! Thank you.

  • @jessicanav6064
    @jessicanav6064 6 ปีที่แล้ว

    Very helpful and clear explanation! Thanks.

  • @bigjayfitness
    @bigjayfitness 7 ปีที่แล้ว +1

    your a boss broski - you always remember that.

  • @manishathakur2628
    @manishathakur2628 4 ปีที่แล้ว +1

    What if we have to compare 3 companies?

  • @muhammadumarnazirchishti5155
    @muhammadumarnazirchishti5155 5 ปีที่แล้ว +1

    KINDLY WILL YOU PLEASE APPLY MERTON MODEL ON THESE ....

  • @dollybegum9146
    @dollybegum9146 4 ปีที่แล้ว

    Can you please let me know that, how to find the adjusted closing price if it's not given in the website?

    • @jamesdgrafton
      @jamesdgrafton 3 ปีที่แล้ว

      Subtract any dividends from the closing price. Adjusted closing is accounting for dividends.

  • @SIDESHOW467
    @SIDESHOW467 6 ปีที่แล้ว

    This is EXACTLY what I needed help with.

  • @Hobbytopassion_ManishJain
    @Hobbytopassion_ManishJain 4 ปีที่แล้ว

    Having done so far, what next to enter into the pair trade?

  • @ladakhdiaries..3577
    @ladakhdiaries..3577 3 ปีที่แล้ว

    how did u put square in that diff- squad...?

  • @arwaalzaeem1157
    @arwaalzaeem1157 ปีที่แล้ว

    you are the BEST

  • @surbhikumari7401
    @surbhikumari7401 4 ปีที่แล้ว

    Thanks, it is really helpful.

  • @jerrylewis4157
    @jerrylewis4157 4 ปีที่แล้ว +3

    i just cant wrap my head around that variance calculation. still dont understand what it really symbolises.

    • @LM-he7eb
      @LM-he7eb 4 ปีที่แล้ว

      HOW SPREAD OT THE OBSERVATION ARE FROM THE MEAN

  • @seemasingh-vf7py
    @seemasingh-vf7py 3 ปีที่แล้ว +1

    but correlation is supposed to be between -1 and +1. please explain this 40% correlation

  • @ic3432
    @ic3432 6 ปีที่แล้ว

    Hi! Is there a way to do the same thing in R studio instead of excel? thanks!

  • @prashanperera9154
    @prashanperera9154 3 ปีที่แล้ว

    legend bro !
    thank you !

  • @crni5
    @crni5 5 ปีที่แล้ว

    How can one calculate Pearsons correlation between a prior year value with current year value?

  • @JfTalbot23
    @JfTalbot23 2 ปีที่แล้ว

    Hi do you offer 1 on 1 tutoring?

  • @richardgordon
    @richardgordon 3 ปีที่แล้ว

    Brilliant! Many thanks. Much appreicated!

  • @27naysen._.
    @27naysen._. ปีที่แล้ว +1

    frr merci d'avoir aidé young fresne, c qui young fresne ? hey les gars vous le connaissez ? bref merci beaucoup il comprenait rien mais grace a vous il va avoir la moyenne cimer le reuf....

  • @sisilvarghese5240
    @sisilvarghese5240 7 ปีที่แล้ว +1

    That Was Very helpful, Thanks !!!

  • @jessinvests
    @jessinvests 4 ปีที่แล้ว

    You're amazing, great help. Thank you so much!

  • @danielg5085
    @danielg5085 8 ปีที่แล้ว +2

    Excellent video. However the presenter is wrong when he says that he calculates the returns for the entire year. He excludes January - that's why there are only 11 monthly return cells

    • @himanshumahajan9882
      @himanshumahajan9882 2 ปีที่แล้ว

      The importance here isn't in the WHAT but HOW he calculated the coVAR and coREL using the formulas. You can make your own table and try it out

  • @Unknown-km1pt
    @Unknown-km1pt 4 ปีที่แล้ว

    Thankyou very much sir

  • @menisa4869
    @menisa4869 7 ปีที่แล้ว

    what the difference using this calculate return and using ln

  • @abebeendale554
    @abebeendale554 4 ปีที่แล้ว

    IS VERY HELPFUL

  • @swetapatra
    @swetapatra 4 ปีที่แล้ว

    But how can we make correlation a percentage number

  • @varshabaskaran438
    @varshabaskaran438 3 ปีที่แล้ว

    when rs 100 is invested how to do that from returns

  • @fransiska2501
    @fransiska2501 3 ปีที่แล้ว

    Thank you so much

  • @alexnhim0421
    @alexnhim0421 8 ปีที่แล้ว +1

    Thanks for this upload.

  • @shadmankhan1969
    @shadmankhan1969 3 ปีที่แล้ว

    THANK YOU SO MUCH

  • @stanko4333
    @stanko4333 4 ปีที่แล้ว

    what kind of a formula for return is that man. Shouldnt you calculate it with HPR so (new price - old price) / old price

  • @0069yj
    @0069yj 7 ปีที่แล้ว

    What Covariance use for?

  • @The-Innovators.
    @The-Innovators. 6 ปีที่แล้ว

    great .....thanks its really helpful

  • @Unsanskarinaari
    @Unsanskarinaari 5 ปีที่แล้ว

    Extremly helpful👏

  • @sulochanavijerathna9600
    @sulochanavijerathna9600 5 หลายเดือนก่อน

    Thanks

  • @themahliman8984
    @themahliman8984 7 ปีที่แล้ว

    Thanks Codible!

  • @erickim2037
    @erickim2037 3 ปีที่แล้ว

    why minuse 1

  • @caribbeanqueen1389
    @caribbeanqueen1389 6 ปีที่แล้ว

    Thanks dude!

  • @supremecooler
    @supremecooler 8 ปีที่แล้ว

    Thank you

  • @VAPOURprod
    @VAPOURprod 8 ปีที่แล้ว

    thank you !

  • @DanishSiddiquidelhi
    @DanishSiddiquidelhi 8 ปีที่แล้ว

    awesome...

  • @paulagro9914
    @paulagro9914 2 ปีที่แล้ว

    MERCII OMG

  • @battery0631
    @battery0631 8 ปีที่แล้ว

    awesome

  • @claudiodibernardino8327
    @claudiodibernardino8327 5 ปีที่แล้ว

    bravo!!!

  • @bohu5805
    @bohu5805 5 ปีที่แล้ว

    awsome ~

  • @mohamadasyraf4724
    @mohamadasyraf4724 4 ปีที่แล้ว

    You fucking legend I love you

  • @alexiqbal3578
    @alexiqbal3578 9 ปีที่แล้ว

    Legend.

  • @investwithvincent6329
    @investwithvincent6329 3 ปีที่แล้ว

    you left out how to calculate covariance manually

  • @ahmedmo5358
    @ahmedmo5358 6 ปีที่แล้ว

    Hello Everyone, I want to know more the this is anyone out there who can teach me on how to calculate the indexes and its associated constituents. Please help me!

  • @MosesTheExplorer
    @MosesTheExplorer 9 ปีที่แล้ว

    Thanks :D

  • @tanmaythakur6172
    @tanmaythakur6172 6 ปีที่แล้ว

    bhau tuch bhari mard ahes tu mard

  • @KhoaTran-le1ot
    @KhoaTran-le1ot 3 ปีที่แล้ว

    Thank you for sharing this !!