Portfolio variance-covariance matrix, return, and standard deviation for 3 securities on Excel.

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

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

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

    Explained it so much better than my professor, Thank you so much!

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

      Glad it helped, thanks for the positive feedback.

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

    Thank you. Though Excel has the "covariance" command in data analysis which creates a var-cov matrix from the table of profit/loss with one click. With three assets maybe doing manually is ok. But I have 22 assets and I am incredibly grateful for that covariance command

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

      I'll have to check that out, didn't know that you could do the varcovar there. Thanks!

  • @Hi_howrudoin
    @Hi_howrudoin 4 หลายเดือนก่อน

    hi! i have a question.
    why sometimes people want arithmetric return of say 5 HPR sometimes they want geometric? (twr vs mwr)

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

    Professor its beautifully explained and I really appreciate your efforts in posting this helpful content. I had one question in the Var- covariance table have you misplaced the sign of standard deviation where you should be putting the sign of Variance.

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

      Thanks for your comment, could you let me know the time in the video where I made the error?

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

    Thank dear professor I really needed that

  • @learning_with_irving4266
    @learning_with_irving4266 10 หลายเดือนก่อน +1

    Thank you sir, is this for portfolio optimization? What is rhe purpose of this exercise?

    • @DavidJohnk
      @DavidJohnk  10 หลายเดือนก่อน +1

      Yes, you could use Solver to vary the weights. Check out my efficient frontier video.

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

    If we had daily returns of assets. Do we calculate daily variance and sd, then rescale it to annual varaince and sd. Then use these in the portfolio variance calculation ?

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

      I would just keep everything daily. No need to change units. Of course your daily return will be smaller.

  • @shaelah.mcgilton
    @shaelah.mcgilton 2 ปีที่แล้ว +1

    very helpful thank you!

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

      You're welcome, glad to hear it helped!

  • @Flyingcabbage101
    @Flyingcabbage101 3 หลายเดือนก่อน +1

    how to import data into excel?

    • @DavidJohnk
      @DavidJohnk  3 หลายเดือนก่อน

      Finance.yahoo.com or bulk stock downloader

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

    thank you so much

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

      glad it was of use!

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

    whats the standard deviation

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

      That's the portfolio standard deviation because I took the square root. If you don't take the square root its the variance.

  • @stefanslab
    @stefanslab 4 หลายเดือนก่อน

    helped!

  • @kadnfildnsflisfilsdn
    @kadnfildnsflisfilsdn 5 หลายเดือนก่อน +1

    For those with Lambda:
    =LET(
    RetAverage, BYCOL(Return_Array, LAMBDA(x, AVERAGE(x))),
    VarCov, MMULT(TRANSPOSE(Return_Array - RetAverage), Return_Array - RetAverage) /
    (ROWS(Return_Array) - 1),
    StDev, SQRT(MMULT(Asset_Weights, MMULT(VarCov, TRANSPOSE(Asset_Weights)))),
    Return, SUMPRODUCT(Asset_Weights, RetAverage),
    Sharpe_Ratio, (Return - Risk_Free_Rate) / StDev,
    IFS(Type = 1, Return, Type = 2, StDev, Type = 3, Sharpe_Ratio)

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

      thanks, I also wrote some Lambdas for this in another TH-cam: th-cam.com/video/7CIkj9NIS0s/w-d-xo.html

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

      @@DavidJohnk Cool, thank you.