Calculating VAR and CVAR in Excel in Under 9 Minutes

  Рет қаралды 259,401

QuantCourse

QuantCourse

Күн бұрын

Пікірлер: 120
@gjoka1983
@gjoka1983 4 жыл бұрын
Magnificent tutorial: you didn't get bogged down in the details of why cVaR is calculated in a certain, instead, choosing to explain the mechanics of how to compute it in a certain way. Well done dude.
@ahmadzayn8776
@ahmadzayn8776 3 жыл бұрын
sorry to be off topic but does anybody know of a way to get back into an Instagram account..? I stupidly lost my login password. I would love any tricks you can give me
@rohanpatil3206
@rohanpatil3206 6 жыл бұрын
I never comment on youtube videos. But this was so well done, i couldnt not comment. THANK YOU.
@getmysmile6643
@getmysmile6643 4 жыл бұрын
SAME!...EASY EXPLANATION AND LOVED THE ANIMATIONS!
@vaninadominguez
@vaninadominguez 4 жыл бұрын
Sometime I don't know how to explain this things, and you make it look so easier, great video. Congrats.
@getmysmile6643
@getmysmile6643 4 жыл бұрын
PLEASE KEEP DOING THESE VIDEOS...WHO WOULD HAVE THOUGHT THAT CVAR CAN POEPLE EXCITED!
@grahamandsofiaholeyandsolo5081
@grahamandsofiaholeyandsolo5081 5 жыл бұрын
A very informative breakdown of VaR, and conparison to the value of CVaR. Thank you!
@shivakumargoudb8099
@shivakumargoudb8099 4 жыл бұрын
The method used for VaR is Basic historical simulation, a non-parametric approach!
@henrikmanukyan3152
@henrikmanukyan3152 3 жыл бұрын
he could've calculated Var(95%) = E(X) - St.Dev * (16.5 {corresponding value for 95% trust range})
@MrJayCZ
@MrJayCZ 2 жыл бұрын
Not gonna lie, you just saved my master’s thesis, thanks man!
@As_Sulay
@As_Sulay 6 ай бұрын
Accounting 🧾 : 2:58 1:48 2:03
@annawilson3824
@annawilson3824 3 жыл бұрын
Never seen this topic before, crystal clear, thank you!
@pearldrumgirl
@pearldrumgirl 5 жыл бұрын
Nice video. Very fast compared to doing it by hand, so long as you understand the details in-between then all is good here. Nice refresher for single return without accounting for monetary weight.
@divyasankhla2652
@divyasankhla2652 4 жыл бұрын
Hy u explained really well just have one suggestion can u zoom the image while u explain for clarification
@TheMunishk
@TheMunishk 5 жыл бұрын
He explains so clearly in all his videos. One can hear and see the confidence
@SD-gw5vm
@SD-gw5vm Жыл бұрын
Thanks for this video @QuentCourse. I have a question though. Am I okay to use lognormal returns for my calculations?
@aryankulshreshtha5236
@aryankulshreshtha5236 2 жыл бұрын
Thanks! I've made a model to minimize risk in options strategies. (data from backtesting)
@newtonocharimenyenya2458
@newtonocharimenyenya2458 2 жыл бұрын
A Very Great Piece.
@As_Sulay
@As_Sulay 5 ай бұрын
Remember if that to (Renting) rates on option of opinion sensitively and consent, in consensus. Accounting 🧾 : 2:58 1:48 2:03
@MOYOSOREAYANTOYE
@MOYOSOREAYANTOYE Жыл бұрын
Nice video. Very informative. Thank you.
@richardgordon
@richardgordon 4 жыл бұрын
Brilliant! Thanks for an excellent video! (Yes, I did learn something very important.)
@imirosmanov2745
@imirosmanov2745 2 жыл бұрын
Could you please explain how to calculate VaR for operational risk.
@shungudutiro929
@shungudutiro929 2 жыл бұрын
An extremely helpful and informative video. Thank you
@MrPatriot9
@MrPatriot9 4 жыл бұрын
Hello! Great Video! How did you paste all the return formula down the column(2:25 in the video)? You clicked something(2:50), to drag the formula down the enitre column. How did you do that?
@randhyamusapratikto2642
@randhyamusapratikto2642 5 жыл бұрын
well-explained, thank you so much!
@sammy0722
@sammy0722 3 жыл бұрын
Nice explanation.
@nipungupta3058
@nipungupta3058 7 жыл бұрын
Perfectly Explained. can you please also help me in calculating VAR through Delta normal method ?
@BireyselYatrmcYT
@BireyselYatrmcYT 4 жыл бұрын
Great video, thanks
@askariaziz4163
@askariaziz4163 6 жыл бұрын
nice explanation. please put a video on portfolio var
@MrSupernova111
@MrSupernova111 8 жыл бұрын
Nice video! Is it possible to use a percentile rank to arrive at the same conclusion? Thanks!
@QuantCourse
@QuantCourse 8 жыл бұрын
If I'm understanding you correctly, that's exactly what CVAR and VAR involve. So yes - absolutely! PM me if you have any questions.
@MrSupernova111
@MrSupernova111 8 жыл бұрын
Awesome! I'm taking a risk management course and I'm trying to get a hang of the concept before we start working on projects.
@QuantCourse
@QuantCourse 8 жыл бұрын
Then you're going to love the next video we have in the pipeline... :-) Stay in touch!
@QuantCourse
@QuantCourse 8 жыл бұрын
As promised: quantbros.com/portfolio-single-stock-var-and-cvar-in-r/
@porquetequejes
@porquetequejes 7 жыл бұрын
What if you only have a sample of 20 data points. how would you calculate CVar then?
@simfinso858
@simfinso858 7 жыл бұрын
very useful & Simple methods of calculating cvar.Thanks for uploading
@dumengyue2401
@dumengyue2401 9 ай бұрын
great video!!
@shirleyyu317
@shirleyyu317 5 жыл бұрын
Thank you for showing this. Could you extend the concept to the portfolio where there are multi-assets with correlation? The example you are given is based on the historical data (back forward-looking), can you share some method to be used for simulating the data in the future to do a forward-looking VAR calculation? Also, what are the kinds of VAR that big banks and asset management companies are using? Thanks!
@beansm152
@beansm152 4 жыл бұрын
can i use this to calculate VAR of market risk?
@BrigataUPG
@BrigataUPG 3 жыл бұрын
Hi. How it would be possible to calculate the VAR for a company which holds money in a bank account? It would make sense to assess the bank financial soundness, calculating the CAP ratio e than calculating the VAR for that company? what formula might be applied for this kind of calculation? thanks!
@othmanealaoui2805
@othmanealaoui2805 7 жыл бұрын
Hi , What if i'm asked to calculate the n-day market risk VaR of the the bank stock for the a certain period at a certain confidence interval ?
@QuantCourse
@QuantCourse 7 жыл бұрын
Great question! If you are using daily returns, you can "scale" you VaR numbers by multiplying by the square root of time (VaR(95)*sqrt(n)). However, if you scale this for too long of a period, this has been shown to be quite an inaccurate assumption. Otherwise, you could use n-day returns and run VaR numbers on those returns. Or Monte-Carlo simulations!
@syedadeelhussain2691
@syedadeelhussain2691 7 жыл бұрын
use have to use square root rule of time and assume returns are IID. HS method cannot adjust to that as it makes no assumption about the shape of the distribution of the return curve.
@mohammedmagdy9835
@mohammedmagdy9835 5 жыл бұрын
Could you explain how to derive VaR from GARCH model & the use of ugarchroll in R
@gabrichonka
@gabrichonka 9 жыл бұрын
Isn't this the correct formula for the returns Rt = (Pt - Pt-1)/Pt-1 instead of Rt = (Pt - Pt+1)/Pt+1 ? And the first return should be the undefined value, not the last one? Still the video is helpful, thanks :)
@dakotawixom
@dakotawixom 9 жыл бұрын
Depends if the data is in reverse chronological order, which Yahoo Finance is notorious for doing :-)
@gabrichonka
@gabrichonka 9 жыл бұрын
Oh, okay. Makes sense :) Thanks!
@charithkrish
@charithkrish 8 жыл бұрын
Could you further elaborate how did you arrive at return values? here you have taken the YOY increase of the return, was it mere a reference as that is quite different to that of the return we actually calculate on stocks? Please help.
@dakotawixom
@dakotawixom 8 жыл бұрын
Entirely depends on the investment horizon.
@charithkrish
@charithkrish 8 жыл бұрын
Please elaborate.. Thanks.
@maximilianovindel7427
@maximilianovindel7427 6 жыл бұрын
Amazing Video, Liked!
@utubecaninvest
@utubecaninvest 8 жыл бұрын
If CVar is the same as ES then shouldn't CVaR be the average of the losses after the 320th returns?
@eugenpepa2630
@eugenpepa2630 7 жыл бұрын
Hello, if the VaR(99.9) number is negative (e.g. -24922.8 in my case) what number do I have to choose from the Return column ?
@Fr00gen
@Fr00gen 7 жыл бұрын
Hello! Is it possible to calculate the CVar with a span of a year or two and how can i change that in excel? I am working on a comparison between the results of the stresstest and the CVar for the european room on how they effect the systemic risk! Do you have some suggestions for me to make an adequat compariosn between those two units of measuring risks?
@leiyang3112
@leiyang3112 7 жыл бұрын
cheers mate! its very helpful
@mohammedmagdy9835
@mohammedmagdy9835 5 жыл бұрын
If I have a GARCH model that has a good VaR coverage (frequency of VaR exceedances) what does this mean? and how I can use such model to make returns?
@trevoranderson4414
@trevoranderson4414 7 жыл бұрын
Thank you, excellent video!
@rajuchoudhari2409
@rajuchoudhari2409 7 жыл бұрын
thanks for sharing. nice video. how about one on monte carlo simulation?
@orlyneahochi3091
@orlyneahochi3091 5 жыл бұрын
Hello could you please explain how to calculate the Delta Conditional Value-at-Risk? ∆CoVaR
@DEAProduction
@DEAProduction 9 жыл бұрын
Thank you for the video!! :) It's very helpful I was wondering whether it is possible to apply VaR/CVaR to measure credit risk, because what you actually are measuring is market risk, right?
@mickeydi123
@mickeydi123 8 жыл бұрын
+Melié There are different models used in credit risk and market risk. In market risk, we mostly use VaR/CVaR and stress testing. In credit risk, we use models such as KMV, Altman's Z-score, O-score, Pr of default etc.. The key point is that in market risk, we try to model prices and returns. In credit risk, we model fluctuations in the value of assets, liabilities, cash flows etc.
@DEAProduction
@DEAProduction 8 жыл бұрын
+Mike Di Edwardo I'm very thankful for your answer. It has clarified my doubts. :)
@Fr00gen
@Fr00gen 7 жыл бұрын
Thank you for the video! Can someone explain me the difference between CVAR (Expected Shortfall) and the Marginal Exspected Shortfall?
@LinhPham-ky5rg
@LinhPham-ky5rg 7 жыл бұрын
This is great! Thanks.
@niasoejoedi5739
@niasoejoedi5739 6 жыл бұрын
Hi, may I know what is the source of this and VaR and CVaR calculation? I meant like the books or journal. I want to use this as bibliography in my thesis. Thank you for your help and guidance. The formula is very helpful to me for calculate the VaR and CVaR of daily stock returns.
@lusineavagyan5629
@lusineavagyan5629 7 жыл бұрын
I need an example fo my course work: Calculating VaR and CVaR using monte carlo method. where can i find or buy ?
@QuantCourse
@QuantCourse 7 жыл бұрын
Use this method on a generated timeseries in R: quantbros.com/portfolio-single-stock-var-and-cvar-in-r/ We have other tutorials that involve monte-carlo simulations which could help: quantbros.com/parallelized-simple-random-constrained-portfolio-generation/ I'm also currently working on a tutorials aimed at exactly what you're looking for, but it will most likely become a part of my course: www.QuantCourse.com
@lusineavagyan5629
@lusineavagyan5629 7 жыл бұрын
i cant understand how to use VaR or ES, so its very hard for me to make an example. how to start. can you help me? saying step by step what to do. its very important for me.
@lusineavagyan5629
@lusineavagyan5629 7 жыл бұрын
need the example in excel.
@pvayeda
@pvayeda 5 жыл бұрын
While you have pasted return values in D column and sorted it Ascending - at that time only column D is sorted. Not entire data is sorted.
@MillHouSe1337
@MillHouSe1337 5 жыл бұрын
thanks for the video, but you're calculating the VAR only based on history data. espacially in banking, there are much more ways how they're doing it. like a monte carlo simulation of the returns and based on that (expected value) they're calculating the VAR. I think the historical way has caused partially the banking crisis. some szenarios are not included in historical data, so running stress tests or other simulations are helpful!
@tahiabderrahmane2056
@tahiabderrahmane2056 5 жыл бұрын
my thesis is about calculating VaR and CVaR and stress testing .. and i need help ! Give me ur Email and i will contact you .. if you can :)
@mar0069
@mar0069 9 жыл бұрын
When using the VaR for to obtain Market Risk for Basel II, do i take the absolute value of VaR?
@dakotawixom
@dakotawixom 9 жыл бұрын
Just remember that VaR is an expected loss number. It depends on the context that you're using it in, but if you're adding this to your portfolio value, use a negative number.
@fabis888
@fabis888 7 жыл бұрын
Hi, so i have weekly (7 days) of carry trade returns. I need to calculate the VaR for 5 days and one month with 99% and 95%. Any suggestions on how i can do that?
@lalarzapianoenthusiast
@lalarzapianoenthusiast 4 жыл бұрын
hi, what is the definition of adj close ?
@paulthomas2692
@paulthomas2692 4 жыл бұрын
The adjusted closing price amends a stock's closing price to reflect that stock's value after accounting for any corporate actions. The closing price is the raw price, which is just the cash value of the last transacted price before the market closes.
@rafaelrezende3179
@rafaelrezende3179 3 жыл бұрын
THANKS MATE
@lkny631
@lkny631 3 ай бұрын
This is a non parametric VaR correct?
@BaalAllroundKlusbedrijf
@BaalAllroundKlusbedrijf 7 жыл бұрын
CVaR is the Expected Shortfall
@QuantCourse
@QuantCourse 7 жыл бұрын
Correct!
@syedadeelhussain2691
@syedadeelhussain2691 7 жыл бұрын
Yes CVAR, ESF Expected short fall, Extreme value loss(derived from EVT - Extreme value theory) and other variants of computing ruin risk (UL -EL) are the same.
@porquetequejes
@porquetequejes 7 жыл бұрын
What if you only have a sample of 20 data points. how would you calculate CVar then?
@shrutibadoni5199
@shrutibadoni5199 5 жыл бұрын
why were the returns sorted in ascending order?
@pearldrumgirl
@pearldrumgirl 5 жыл бұрын
I would say to account for the dispersion in a normal distribution, and to make it easier when using excel to calculate the probability of said negative outcome with the chosen confidence interval.
@Jalal1867
@Jalal1867 3 жыл бұрын
Love u sir
@sandeepbhol7393
@sandeepbhol7393 7 жыл бұрын
How can you deduce the return of first day ? I think the formula will be [(B3-B2)/B2] rather than [(B2-B3)/B3]..
@dakotawixom
@dakotawixom 7 жыл бұрын
Don't think in terms of cells. Calculate the gain, and divide by the closing price of the previous day. Depends on how your cells are ordered.
@sandeepbhol7393
@sandeepbhol7393 7 жыл бұрын
Thank you Sir. My mistake. I did not look at the date
@donjose5690
@donjose5690 8 жыл бұрын
Hello, Just one question. I understand the mechanic of the VaR and CVaR but why don't you use logarithms in the calcule of the returns? Thank you
@QuantCourse
@QuantCourse 8 жыл бұрын
Log returns are actually different than discrete returns, but would probably work fine in this case since you're just looking at day to day returns.
@amitraghuwanshi9878
@amitraghuwanshi9878 9 жыл бұрын
how can find risk if costumer give only give income and bank statement in auto loan
@mickeydi123
@mickeydi123 8 жыл бұрын
+Amit Raghuwanshi Not sure exactly what you're asking, but you would have to use a credit model.
@edgarjeparchin2382
@edgarjeparchin2382 5 жыл бұрын
You offset the latest date when looking for the price delta.
@bamsacko6494
@bamsacko6494 7 жыл бұрын
really good
@jacksabatinelli6695
@jacksabatinelli6695 6 жыл бұрын
can someone link me the banger song at the start?
@pnggreen5258
@pnggreen5258 5 жыл бұрын
But then you only have the max possible loss for 1 day. What if I want to look at longer periods of time?
@felixgallardo8339
@felixgallardo8339 5 ай бұрын
you teach me way better than my idiot old professor.
@elifgns
@elifgns 7 жыл бұрын
Is this historical simulation, right?
@QuantCourse
@QuantCourse 7 жыл бұрын
Historical - not really a simulation at all. Simulated VaR is normally performed using Monte-Carlos and is forward looking.
@drmasalabonds8750
@drmasalabonds8750 3 жыл бұрын
Is it just me or did he do the % returns calculations wrong?
@yaru4307
@yaru4307 Жыл бұрын
I know, right?
@adad-ec6ht
@adad-ec6ht 3 жыл бұрын
Is that a Var function you used in excel? Its unclear.
@utubecaninvest
@utubecaninvest 8 жыл бұрын
Apologies, disregard my question. You sorted the numbers, my bad.
@zeljkocrljenica7135
@zeljkocrljenica7135 3 жыл бұрын
is this correct? seems way too simple
@nickfleming3719
@nickfleming3719 5 жыл бұрын
So this is the historical method. What about variance and monte carlo methods? I guess they're all flawed so it doesn't really matter which. It's funny how financiers try to make this seem so complicated.
@jakobcvar6561
@jakobcvar6561 5 жыл бұрын
Why you calculate me???
@QuantCourse
@QuantCourse 5 жыл бұрын
You're just a popular guy in the financial community, what can I say?
@darkmatter4768
@darkmatter4768 3 жыл бұрын
VAR [95] 8.7 VAR [99] 1.74 VAR [99.99] 0.174 these are my number- I have taken 175 observations what will be the VAR @ 99.99% in this case - can anyone help?
@lucaserioli8092
@lucaserioli8092 5 жыл бұрын
You wrong calculate the return
@j.4880
@j.4880 3 жыл бұрын
This is wrong at so many levels man. You're not taking into account either the standard deviation, the general return for the portfolio, the weighted composition or anything. You're just saying an 'x' percentile will be your loss because... reasons.
@gabrielcalvo6073
@gabrielcalvo6073 5 жыл бұрын
This video is useless, you used a constant probability distribution assumption, which is not the REAL distribution for financial time series that is log-normal. In other words, that is not how you calculate the true VAR neither CVAR of a stock
@jenevavergara4125
@jenevavergara4125 5 жыл бұрын
obviously, he's using hostorical method in VaR and CVaR calculation, assuming a normal distribution
Monte Carlo Method: Value at Risk (VaR) In Excel
10:13
Ryan O'Connell, CFA, FRM
Рет қаралды 59 М.
Expected Shortfall & Conditional Value at Risk (CVaR) Explained
11:52
Ryan O'Connell, CFA, FRM
Рет қаралды 10 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Easily Calculating Beta in Excel Using Regression
13:30
QuantCourse
Рет қаралды 10 М.
What is value at risk (VaR)? FRM T1-02
8:56
Bionic Turtle
Рет қаралды 113 М.
Portfolio & Single Stock VAR and CVAR in R
25:36
QuantCourse
Рет қаралды 47 М.
Value at Risk (VaR) Explained!
14:53
QuantPy
Рет қаралды 42 М.
Three approaches to value at risk (VaR) and volatility (FRM T4-1)
18:02
Credit Risk Modeling (For more information, see www.bluecourses.com )
51:29
Bart Baesens (DataMiningApps)
Рет қаралды 168 М.
FRM: Three approaches to value at risk (VaR)
5:55
Bionic Turtle
Рет қаралды 257 М.
Monte Carlo Simulations: Run 10,000 Simulations At Once
3:18
BI Excel
Рет қаралды 400 М.
Learning Excel: Automatically Download Data from the Web
4:02
QuantCourse
Рет қаралды 40 М.