Value-at-Risk Calculation - Historical Simulation

  Рет қаралды 109,886

Pat Obi

Pat Obi

Күн бұрын

Пікірлер: 65
@AN-yr7nm
@AN-yr7nm 5 жыл бұрын
simple, good, effective and practical! Awesome, thank you Pat Obi!
@franmtt4461
@franmtt4461 2 жыл бұрын
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!
@Maria-tn4cn
@Maria-tn4cn 2 жыл бұрын
best teacher your style is excellent very clear simple
@Im-Assmaa
@Im-Assmaa 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.
@arjunn1321
@arjunn1321 7 жыл бұрын
Hi, how did you add the actual VaR line on the distribution?
@aihainguyen6873
@aihainguyen6873 Жыл бұрын
thank you very much my guy!
@vivek.ananth
@vivek.ananth 4 жыл бұрын
Love your work man! You saved tons of hassle for me hehe
@patrickizekor6463
@patrickizekor6463 4 ай бұрын
Thanks for the video. Please i was wondering how you got the $ return/frequency figures. in columns K and L.
@robertbrady2799
@robertbrady2799 8 жыл бұрын
A really solid explanation and demonstration. Well done and regards!
@PatObi
@PatObi 8 жыл бұрын
thanks
@justbecause6472
@justbecause6472 5 жыл бұрын
There is a special place for you in heaven! Thanks bro
@PatObi
@PatObi 5 жыл бұрын
Very kind. Thanks.
@alinafie5140
@alinafie5140 5 жыл бұрын
Excellent Video! Thank you very much!
@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?
@vanderdossantos6676
@vanderdossantos6676 3 жыл бұрын
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.
@saurabhbcn
@saurabhbcn 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
@@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
@dinggywongg
@dinggywongg 9 жыл бұрын
Very helpful! Brilliant work!
@PatObi
@PatObi 8 жыл бұрын
+Wong Dingyao Thanks!
@damilolailesanmi5029
@damilolailesanmi5029 7 жыл бұрын
Well simplified. Thanks Prof Pat
@crashtheimf
@crashtheimf 4 жыл бұрын
enjoyed the level of detail for steps thanks
@robertbrady2799
@robertbrady2799 8 жыл бұрын
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 8 жыл бұрын
Thanks Robert. Great suggestion.
@tunchou7150
@tunchou7150 7 жыл бұрын
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)
@bayunugroho3232
@bayunugroho3232 8 жыл бұрын
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...
@kabirphoto4297
@kabirphoto4297 4 жыл бұрын
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 ?
@elbastaki
@elbastaki 9 жыл бұрын
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
@Craftesha
@Craftesha 5 жыл бұрын
Nice explanation
@TrAndEllaS19
@TrAndEllaS19 9 жыл бұрын
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 9 жыл бұрын
+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).
@navinmanohar8067
@navinmanohar8067 Жыл бұрын
Should we use LN to find the returns.. or (latest price - previous price )/ previous price ..?
@fabiangonzalezreyes
@fabiangonzalezreyes Жыл бұрын
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
@robertbrady2799
@robertbrady2799 8 жыл бұрын
Oh and by the way.... Merry Christmas to you and yours.
@PatObi
@PatObi 8 жыл бұрын
Thanks. Same to you!
@FJHK
@FJHK 8 жыл бұрын
Hello, why do you use the lN formula to calculate the returns instead of using just the variation? thanks
@girishpatil5902
@girishpatil5902 8 жыл бұрын
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.
@KelvinNdambu
@KelvinNdambu 7 ай бұрын
What about a 7- day VaR
@leilaakhgarpour4202
@leilaakhgarpour4202 6 жыл бұрын
Thank you so much. Very helpful.
@jonathanliriano6743
@jonathanliriano6743 8 жыл бұрын
Is there a book/working paper that describes these steps that I could cite?
@chipechipie
@chipechipie 8 жыл бұрын
Hi, Did you find one?
@sarahd6525
@sarahd6525 4 жыл бұрын
thak you. that was really helpful for me.
@maurosantus
@maurosantus 4 жыл бұрын
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 4 жыл бұрын
With historical DAILY data, it would be the VaR you calculate. Refer to the last few minutes of the video.
@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)
@monour7907
@monour7907 4 жыл бұрын
Thank you Professor, I have a question: for Variance covariance VaR can we use the LN returns ??
@PatObi
@PatObi 3 жыл бұрын
Yes.
@ammarhashim4949
@ammarhashim4949 7 жыл бұрын
good explanation
@UchiihaSasuke
@UchiihaSasuke 9 жыл бұрын
Brilliant!
@PatObi
@PatObi 8 жыл бұрын
+Gus Montano Thanks.
@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.
@nayandeshmukh7794
@nayandeshmukh7794 3 жыл бұрын
Thank you
@Photon-1927
@Photon-1927 9 ай бұрын
Many thanks 🙏
@samehreda3833
@samehreda3833 7 жыл бұрын
thanks alot , excellent, can you please share with me your excel sheet ?
@Epistemophiliana
@Epistemophiliana 9 ай бұрын
Thank you ❤
@am_tawana_09
@am_tawana_09 Жыл бұрын
To plot the histogram * I mean
@thetoo6363
@thetoo6363 Жыл бұрын
Thank you very much
@jayteo1989
@jayteo1989 8 жыл бұрын
Hi, may i know how did you get the red line for the 99% confidence level
@PatObi
@PatObi 8 жыл бұрын
+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 ??
Three approaches to value at risk (VaR) and volatility (FRM T4-1)
18:02
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
How to Simulate Stock Price Changes with Excel (Monte Carlo)
9:59
Matt Macarty
Рет қаралды 230 М.
Historical Method: Value at Risk (VaR) In Excel
5:01
Ryan O'Connell, CFA, FRM
Рет қаралды 40 М.
Calculating VAR and CVAR in Excel in Under 9 Minutes
9:02
QuantCourse
Рет қаралды 258 М.
Value at Risk in Excel Historical vs Monte Carlo Methods
13:42
Ronald Moy, Ph.D., CFA, CFP
Рет қаралды 32 М.
Monte Carlo Method: Value at Risk (VaR) In Excel
10:13
Ryan O'Connell, CFA, FRM
Рет қаралды 57 М.
What is value at risk (VaR)? FRM T1-02
8:56
Bionic Turtle
Рет қаралды 113 М.
Value at Risk (VaR) Explained!
14:53
QuantPy
Рет қаралды 42 М.
Value at Risk Explained in 5 Minutes
5:09
Ryan O'Connell, CFA, FRM
Рет қаралды 112 М.
Monte Carlo Simulations: Run 10,000 Simulations At Once
3:18
BI Excel
Рет қаралды 397 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН