Value-at-Risk Calculation - Historical Simulation

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

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

  • @AN-yr7nm
    @AN-yr7nm 5 лет назад +5

    simple, good, effective and practical! Awesome, thank you Pat Obi!

  • @franmtt4461
    @franmtt4461 2 года назад +3

    Tks a lot, great Tuto. I watched 4 videos before yours and I was still not confortable with the explanations and I work in trading (though we don’t compute the bar ourselves). Tks!

  • @aihainguyen6873
    @aihainguyen6873 9 месяцев назад +1

    thank you very much my guy!

  • @vivek.ananth
    @vivek.ananth 4 года назад +1

    Love your work man! You saved tons of hassle for me hehe

  • @justbecause6472
    @justbecause6472 5 лет назад +3

    There is a special place for you in heaven! Thanks bro

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

      Very kind. Thanks.

  • @Maria-tn4cn
    @Maria-tn4cn 2 года назад

    best teacher your style is excellent very clear simple

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

    Great Work.. you explained it well. My question is how did you get the $Return and frequency to be able to plot the graph?

  • @patrickizekor6463
    @patrickizekor6463 2 месяца назад

    Thanks for the video. Please i was wondering how you got the $ return/frequency figures. in columns K and L.

  • @alinafie5140
    @alinafie5140 5 лет назад +1

    Excellent Video! Thank you very much!

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

    Pat, great video and easy to understand. Do you know how to calculate Futures VaR? I do have a projct realting to it that I am having some issues.

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

      I'll look into it and will post an update once I figure it out.

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

    A really solid explanation and demonstration.
    Well done and regards!

  • @saurabhbcn
    @saurabhbcn 5 лет назад +1

    Excellent Pat. Is there anyway to analyse risks for private companies. For public we do have these prices, but for private, we don't. Any pointers?

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

      Good question! Not too sure. But I suppose you could use some accounting measure like operating margin, with data generated over several quarters. You'd be calculating the worst case quarterly operating profit margin.

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

      @@PatObi Thanks for your quick reply. The issue is that I work with biotech companies that are pre revenue. That implies the risks that they have are scientific, management , regulatory etc. I am researching on how I can build models like VAR but no success yet. Thanks

  • @arjunn1321
    @arjunn1321 7 лет назад +7

    Hi, how did you add the actual VaR line on the distribution?

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

    Well simplified. Thanks Prof Pat

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

    Prof... great video... I already calculated portfolio VaR using mean-variance method (Markowitz)... may I ask you some question pls ?
    1) is it okay if I use the past 30 days portfolio returns (Jan 2017) to calculate the historical 1 day VaR ?
    2) would you mind giving tutorial about VaR and time-varying volatility in excel , pls pls ?
    Thx Prof...

  • @Im-Assmaa
    @Im-Assmaa 2 года назад +2

    Thank you sir for your video. I have a question
    I am a finance student, and I am trying to calculate the CoVaR( Conditional value at risk) and VaR(Value at risk) using quantile regression, in order to analyze systemic risk for the banking system. So I already computed the coefficients alpha and beta for the CoVaR equation, using quantile regression in Eviews.
    Now i have to estimate the VaR for every bank when p=0.05 , So according to this approach, the VaR is equal to the total of quantiles computed for p=0.05 , using Rankit-cleveland definition.
    I should get a result that look like this, but I do not know how to do it :
    Descriptive Statistics for RATJ
    Categorized by values of RATJ
    Date: 11/13/17 Time: 00:57
    Sample: 1/05/2010 11/03/2017
    Included observations: 1956
    RATJ Quant.* Obs.
    [-0.1, -0.05) NA 4
    [-0.05, 0) -0.023874 816
    [0, 0.05) 0.000000 1132
    [0.05, 0.1) NA 4
    All -0.017742 1956
    *Quantiles computed for p=0.05, using the Rankit-cleveland definition.
    RATJ is the time serie for daily stock returns of the bank ATJ.
    Thank you so much for your time sir.

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

    Very helpful! Brilliant work!

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

      +Wong Dingyao Thanks!

  • @crashtheimf
    @crashtheimf 4 года назад +1

    enjoyed the level of detail for steps thanks

  • @nayandeshmukh7794
    @nayandeshmukh7794 3 года назад +1

    Thank you

  • @Photon-1927
    @Photon-1927 7 месяцев назад

    Many thanks 🙏

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

    Thank you for this. This was a great video. I have a question though that, I believe,would help me a lot understand the whole VaR HS method. What date do I pick if I want to find today’s VaR? Also, are the prices from today or historic too?

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

      With historical DAILY data, it would be the VaR you calculate. Refer to the last few minutes of the video.

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

    Pat,
    What would be good is a volatility adjustment to the historical simulation using EWMA and GARCH......
    Contemporary performance embellishments should also be examined. Universities in my opinion fail to adequately equip students and merely re-teach 'old' tried and true methods.
    Portfolio optimization as taught in finance schools is a favorite gripe of mine.
    Best regards,
    Robert.

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

      Thanks Robert. Great suggestion.

  • @leilaakhgarpour4202
    @leilaakhgarpour4202 5 лет назад +1

    Thank you so much. Very helpful.

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

    Oh and by the way....
    Merry Christmas to you and yours.

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

      Thanks. Same to you!

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

    Thank you ❤

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

    Hi pat thanks for sharing the valuable Video just a Quick one can we simple calculate Returns by =(T/T1)-1? I.E ( Current Price /Previous Price )-1 as output looks same for both

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

      That's the discrete 'compounding' method of returns calculation. For empirical analysis, it's typical to use the logarithmic form (as demonstrated in the video), because it assumes continuous compounding.

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

    I think you need to add quantity and market value on each day instead of multiplying the return to base market value when you started ?

  • @sarahd6525
    @sarahd6525 4 года назад +1

    thak you. that was really helpful for me.

  • @thetoo6363
    @thetoo6363 9 месяцев назад

    Thank you very much

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

    Really brilliant video, but would you mind teach me the step about how to combine the histogram chart and VaR %loss in one chart? (the one you showed on end of video)

  • @Craftesha
    @Craftesha 5 лет назад +1

    Nice explanation

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

    Should we use LN to find the returns.. or (latest price - previous price )/ previous price ..?

    • @fabiangonzalezreyes
      @fabiangonzalezreyes 11 месяцев назад

      That's because the assumption that you make when you calculate VaR is that the returns have a normal distribution. Log returns of assets in long period of times approximate to a normal distribution, arithmetic returns not necessarily

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

    very interesting but could you please explain the figures on Column K and how to calculate them.

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

      Tawfiq Bastaki : Thanks for your comment. The process for obtaining the frequency distribution data in Col K is briefly explained on about the 4:46th min of the video. On Excel, click as follows: Data => Data Analysis => Histogram => OK => for Input Range, highlight all returns on Col I => do nothing on Bin Range =>check labels if included => check Output Range and click on spreadsheet where output is desired => OK

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

    Hello, why do you use the lN formula to calculate the returns instead of using just the variation? thanks

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

    Thank you Professor, I have a question: for Variance covariance VaR can we use the LN returns ??

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

    Brilliant!

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

      +Gus Montano Thanks.

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

    very helpful!!! I have a question, my data is s&p500 and KOSPI two market, but the when i calculate the return some of the data can not be recognized , what can I do it? thanks

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

      +yipan yu Hi Yu, make sure your data is all numeric. Yahoo!Finance is a good source for market data. In the Quote Lookup box, type in the symbol for Kospi (^KS11). then select Historical Prices on the left panel. Select dates and Get Prices. Follow my video instruction to calculate logarithmic return as follows =ln(Pt/Pt-1)

  • @KelvinNdambu
    @KelvinNdambu 4 месяца назад

    What about a 7- day VaR

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

    good explanation

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

    Is there a book/working paper that describes these steps that I could cite?

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

    Great video thank's but if I multipy 700.000$ with 0,29% I get 2.030$ (min.: 03:09) I'm getting a little confused

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

      +Phillip Schumacher: Hi Phillip, apologies for delayed response. The values on spreadsheet are formatted to 2 decimal places. That rate of return, corrected to 4 decimal places, is equal to 0.2873%, calculated as ln(195.2/194.64).

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

    may i know how the portfolio is calculated

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

      Simply add the $ returns of the two assets....4th minute of the video.

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

    thanks alot , excellent, can you please share with me your excel sheet ?

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

    To plot the histogram * I mean

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

    Hi, may i know how did you get the red line for the 99% confidence level

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

      +Jay Teo It's the 1st percentile of the distribution, calculated as =PERCENTILE(array of cells containing the returns, 1%)

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

    Thank you Professor, I have a question: for Variance covariance VaR can we use the LN returns ??