Optimal portfolios with Excel Solver

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 116

  • @deadshr00m54
    @deadshr00m54 Год назад +15

    My idiot of a professor expected me to know this off the bat with no training so thanks for actually giving me this information.

  • @shett5350
    @shett5350 6 лет назад

    Auke Je bent de best!!! dit oplossing is belangrijk voor mijn MBA thesis Portfolio analysis Kent Buss School!!! Up Holland!!

  • @jean-pierrelobbes585
    @jean-pierrelobbes585 2 года назад

    You‘re the best!! Safed my project!

  • @matthewvovk3545
    @matthewvovk3545 7 лет назад +1

    Yes, I found this useful. I've been wanting to do this type of analysis for quite some time. Thanks so much.

  • @simfinso858
    @simfinso858 6 лет назад +2

    Very Useful.Thanks sir for posting. Expecting more on this topic + Equity valuation + Analyst's must know excel shortcuts

  • @arfrisco
    @arfrisco 8 лет назад +25

    How do you use solver to get the weights at 2:45 seconds in the video?

  • @zudsjen
    @zudsjen 10 лет назад +1

    Great video. This really helped me a lot. Thanks for uploading a quality video in HD so I can actually see what you're doing.

  • @isabelcaldeira
    @isabelcaldeira 4 года назад

    Thanks for the help, keep up the good work. Best of luck!

  • @JRicciFootball
    @JRicciFootball 6 месяцев назад

    Wish my school had this guy as a professor

  • @chancesmith4326
    @chancesmith4326 6 лет назад

    Thank you very much for this extremely informational video! It has helped so much with my Finance homework!

  • @MissPrealLili
    @MissPrealLili 7 лет назад

    thank you for this video, it's clear and organized, and easy to follow.

  • @MrDavidleitch
    @MrDavidleitch 4 года назад

    Thanks. This was a simple recipe even I could follow.

  • @sixiongcai5524
    @sixiongcai5524 2 года назад

    So useful, thank you so much!

  • @user-ow3be9te5o
    @user-ow3be9te5o 5 лет назад

    thanks for makin this video,really helpful

  • @stephenhobbs948
    @stephenhobbs948 4 года назад

    Very clear, well presented. Thank you!

  • @howardchen2101
    @howardchen2101 9 лет назад

    This is a good lesson, thanks for your video. hahhhh. it helps me a lot, I am working on my assignment using this method. Thanks again.Love it

  • @ArjunGuptaNOW
    @ArjunGuptaNOW 6 лет назад

    extremely useful. thanks for the tip. hope I would be able to make better portfolios :)

  • @andrewreames3414
    @andrewreames3414 2 года назад

    Why do you hit shift, ctrl, enter for the portfolio expected return formula?

  • @ljzhou329
    @ljzhou329 6 лет назад

    Helped me a lot for my class! thank you!

  • @fulca4389
    @fulca4389 9 лет назад +11

    could've shown how to build the matrix RIGHT?

  • @Jas0n940
    @Jas0n940 3 года назад

    How did you calculate the risk-free rate to be 1.5%?

  • @andrewreames3414
    @andrewreames3414 2 года назад

    How would the sharpe ratio calculation change if you were using daily return data?

  • @connorgioiafigliu
    @connorgioiafigliu 4 года назад

    Thank you! This saved me!

  • @bigjayfitness
    @bigjayfitness 7 лет назад +1

    thank you very much Mr. Hollandaise sauce

  • @harrisondelfino3405
    @harrisondelfino3405 8 лет назад

    MarketXLS works for me just fine for this. It's great.

  • @andrewreames3414
    @andrewreames3414 2 года назад

    Also, what is the formula for cell B17?

  • @michaelliu6929
    @michaelliu6929 8 лет назад

    Do you need to divide by n-1 when you calculated stdev, where n is the # of observations. In this case, n is 5.

  • @freelancer9955
    @freelancer9955 2 года назад

    ) Ух, ты ! Стиль заметен. Прекрасно изложено. Но, в другой обсуждаемой модели таких нюансов совершенно и не нужно.

  • @CylinderPaladin
    @CylinderPaladin Год назад

    why not use sumproduct function for portfolio's expected return?

  • @nikkinik020
    @nikkinik020 10 лет назад

    i'm trying to find the optimal weight for a portfolio of 4 assets (country indices) using the solver in Excel and maximizing the sharpe ratio. However, it always returns me the following percentages: 0,0,0,100%. Moreover, when I enter as constraint that the weights must all be different from each other, a message says that an optimal solution containing all constraints couldn't be found, and I get a solutin where the sum of the weights is above 1. How can I solve this?

  • @lfbaraujo
    @lfbaraujo 10 лет назад

    Auke, I'm needing to find the minimum variance portfolio with over to 70 assets, but I'm having problems with Solver. Is that possible to do this with such a big data?
    Thank you ( sorry for my english, I'm Brazilian )

  • @alejadroigoyanes
    @alejadroigoyanes 2 года назад

    how do you get the expected returns of each asset?

  • @rainacho9554
    @rainacho9554 3 года назад

    this is helpful. thanks!

  • @julesepstone8679
    @julesepstone8679 2 года назад

    Can someone please help me :( .. I have followed everything and the solver does not calculate it, but displays an error message: "Error value for solver in the target cell or a secondary control cell". How can I solve the problem?

  • @ahmed007Jaber
    @ahmed007Jaber 2 года назад

    How to do the calc for each variable?

  • @RajVaswaniRox
    @RajVaswaniRox 5 лет назад

    How practical is this model to be applied in real world as in these portfolio weights are based solely on expected returns which tends to differ from the company's fundamentals in the short run. So would you suggest this model to be theoretical or practical also please share your rationale. Thanks.

  • @tatien7929
    @tatien7929 7 лет назад

    thanks for your lecture. can you help my problem? I want to apply LASSO into my portfolio. but I don't know how to make its algorithm on excel. I hope you can suggest or comment a positive direction to me

  • @dannyjin9494
    @dannyjin9494 8 лет назад +1

    Can someone tell me how I can solve a similar problem where I for example constraint the number of investment opportunities? Say that instead of being allowed to invest in all five at one time, I am only allowed to invest in four projects at one time.
    I know using an if function on the design variables are wrong - how can I go about this problem? Many thanks

  • @junxichen1668
    @junxichen1668 9 лет назад

    thx a lot, this really help me with my assignment

  • @krystynabudna4099
    @krystynabudna4099 6 лет назад +1

    Hi there, I was wondering how did you calculate your alpha and beta and the covariance. Would it be possible to download this form you somewhere? Thank you

  • @psychohx
    @psychohx 11 лет назад +4

    Help me out here. I used the same formula to try to get Er and var and st dev. I kept getting "#value" I don't know what's wrong .

    • @brentjeannetta4110
      @brentjeannetta4110 11 лет назад +11

      When you use an Array function i believe you need to hit Ctrl + Shift + Enter when entering the formula. If you just hit enter it will give you that value error.

    • @johannhofer3961
      @johannhofer3961 7 лет назад

      Saved my Ass, can you explain why you need to press this combination?

    • @lapgandhi
      @lapgandhi 4 года назад

      @@johannhofer3961 Just extend the cell to the right. There is less space for the numbers to line up.

  • @vanderdossantos6676
    @vanderdossantos6676 3 года назад

    Can you upload this file here? It would very helpful

  • @尘世之际
    @尘世之际 4 года назад

    I’m lost... could someone tell me how to get the covariance matrix?

  • @aniruddhaghosh9823
    @aniruddhaghosh9823 9 лет назад

    Revered Mr. Plantinga, thanks for sharing the video, however I have one question the variance comes to be 0.73% but how can the value of SD be higher than that of the variance i.e., 8.54% in this case. Please explain the same.

    • @philipnelander9577
      @philipnelander9577 8 лет назад +2

      +Aniruddha Ghosh This is because the variance (sigma-squared) is just the squared standard deviation. So to get from variance to std.dev. you take the square root :)
      As you take the square root of a number lower than 1 the result will be higher as the square root is the opposite of multiplying the number with itself :) In the example below taking the sqr root of s^2 will return it to s :)
      Example:
      s = 0.5
      s^2 = 0.5 * 0.5 = 0.25

    • @lapgandhi
      @lapgandhi 4 года назад

      @@philipnelander9577 Right.

  • @emensonjean7424
    @emensonjean7424 5 лет назад

    How do you calulate the covriance metrics?

  • @sajedaladadwah7988
    @sajedaladadwah7988 8 лет назад

    hello ; i wanna ask if u could help me in using the solver to find optimal portfolio when weights are unknown i am really want ???it in my assignment how to do that

    • @xianxinzeng8488
      @xianxinzeng8488 8 лет назад

      Did you figure it out? I got the same problem :(

  • @michalisgiorgaki8860
    @michalisgiorgaki8860 11 лет назад

    how did you calculate the s.d coloumn?

  • @adad-ec6ht
    @adad-ec6ht 7 лет назад

    The formula for variance of portfolio is x transpose * covariance matrix * x where x is the matrix of weights so that we get Weights squared. But you just multiplied the transpose of weight matrix (x) with the covariance matrix. That is not the formula. The formula is to further multiply with the weight matrix.

    • @aukeplantinga
      @aukeplantinga  7 лет назад

      What I do in the video is exactly what you suggest, calculate the portfolio variance as x' COV x

    • @adad-ec6ht
      @adad-ec6ht 7 лет назад

      Oh, yeah, my bad. I did not notice. I was rushing to solve my homework.

  • @himatilda
    @himatilda 11 лет назад +5

    How to calculate Rf?

    • @jucaalco
      @jucaalco 3 года назад

      I did not understand either. Can somebody explain me? please

    • @scoobymc7
      @scoobymc7 3 года назад

      @@jucaalco risk free is dependent on the investor. Lots of people calculate risk free by taking the expected return of one month treasury bills over X years. An index like SPX or QQQ can be used as well.

    • @scoobymc7
      @scoobymc7 3 года назад

      To clarify I am talking about US treasury bills

  • @bokkenknuser
    @bokkenknuser 11 лет назад +2

    How did you calculate the Cov Matrix?

  • @Александра-о2ф4к
    @Александра-о2ф4к Год назад

    Why is there a missing part from 2:42 to 2:44?

  • @MosesTheExplorer
    @MosesTheExplorer 8 лет назад +1

    why do I get crazy numbers when I allow Short Selling (SS) ??

  • @cartoonomist
    @cartoonomist 5 лет назад

    Thanks buddy!!

  • @liliyah_aaa
    @liliyah_aaa 6 месяцев назад

    The first change by solver is max return, and the second one is mim risk? Pls someone else helps me!!!

  • @xxdmoney3x
    @xxdmoney3x 11 лет назад

    Is this the same as optimizing a portfolio based on mean -variance?

  • @VarsityFX
    @VarsityFX 9 лет назад

    Hello, I was wondering how would you go about creating the StDev for the portfolio if you are given three different covariances for three assets. I don't have a covariance matrix

  • @mcjgg-
    @mcjgg- 7 лет назад

    Does this apply to bonds as well?

  • @paulmoreau5023
    @paulmoreau5023 8 лет назад

    Thanks ! very clear :)

  • @synergyuniversity2721
    @synergyuniversity2721 7 лет назад +1

    Guten Tag! Is it possible to download your spreadsheet?

  • @vanesagrigoryan9355
    @vanesagrigoryan9355 4 года назад

    Thank you!

  • @ruim8590
    @ruim8590 4 года назад

    great!

  • @oscarmhiko8431
    @oscarmhiko8431 3 года назад

    what is Resstd ?

  • @aukeplantinga
    @aukeplantinga  11 лет назад +1

    Using the historical sample covariance.

  • @MrXianyang
    @MrXianyang 5 лет назад

    How do you get the RF 1.50% ?

  • @shester8649
    @shester8649 4 года назад

    thank you.

  • @tailunzhang487
    @tailunzhang487 11 лет назад

    should the cov of the same factor be 1?

  • @clarajimenez9169
    @clarajimenez9169 11 лет назад

    Is the interest paid by the treasure or your country.

  • @laraspratiwi2282
    @laraspratiwi2282 6 лет назад

    can u make some videos about optimal portofolio using constant correlation model? or if u find some video about constant correlation model please tell me , reply my comment :"")) *sorry for bad english

  • @torressung6411
    @torressung6411 6 лет назад

    thank you for useful video, it shows no value# when I using the formula you teach, why was that could be,, I exactly insert the formula in the correct way..

  • @johnnguyen3115
    @johnnguyen3115 7 лет назад

    thank you!

  • @liuting5856
    @liuting5856 9 лет назад +1

    why the covariance between A and A is not equal to 1?could anybody explain this? much thx¬

    • @jordanfuent31
      @jordanfuent31 9 лет назад

      LIU Ting diagonal numbers are variance, others are covariance, It's a variance-covariance matrix.

    • @刘挺-u3i
      @刘挺-u3i 9 лет назад

      Much thx, I got the answer.

    • @liuting5856
      @liuting5856 9 лет назад

      jordanfuent31 thx bro~

  • @蔡高扬
    @蔡高扬 9 лет назад

    thx so much!!!!!

  • @abhishekdate4962
    @abhishekdate4962 6 лет назад

    Sir, all of us don't know German, so it is advisable to change the language of your excel to German. Secondly, you haven't mentioned from and how did you get the co variance in the beginning.

  • @DannyhEvolution
    @DannyhEvolution 7 лет назад

    How did he get RF =1.50% ??

  • @canigou333
    @canigou333 8 лет назад

    Merci beaucoup!

    • @lapgandhi
      @lapgandhi 4 года назад

      Tu comprends anglias? Bon!

  • @janeqian1321
    @janeqian1321 8 лет назад

    why m i getting all 0 ?

  • @adad-ec6ht
    @adad-ec6ht 7 лет назад

    Where is your utility function?

    • @aukeplantinga
      @aukeplantinga  7 лет назад

      The example illustrates how to calculate the tangency portfolio. The compositioon of the tangency portfolio can be calculated without the need to specify a utility function.
      It is not difficult to adjust the spreadsheet to accomodate a utility function and maximize utility.

    • @adad-ec6ht
      @adad-ec6ht 7 лет назад

      I am trying to solve my work. They gave the utility function as a function of expected return and variance. So should I choose optimum portfolio, add weights to a risk-free asset and compare the weight composition that has the highest utility?

    • @aukeplantinga
      @aukeplantinga  7 лет назад

      What is the utility function that they gave you?

    • @adad-ec6ht
      @adad-ec6ht 7 лет назад

      Utility function is E(R) - variance ( I assume that of the portfolio). There are 2 stocks. Plus a risk-free asset. Asking me to get the optimum portfolio mix.

  • @safaasalim1236
    @safaasalim1236 6 лет назад

    please .I am need the file

  • @TamyCL
    @TamyCL 11 лет назад +1

    Good night Auke,
    I have to do an exercice. I have to define the value of the weights to minimize the risk of a portfolio.
    If you want to help me, please, give me you e-mail and I will send you the exercice.
    Thank you

  • @tawlguy123
    @tawlguy123 3 года назад

    I was lost 30 seconds in