Тёмный

DCC GARCH model: Multivariate variance persistence (Excel) 

NEDL
Подписаться 26 тыс.
Просмотров 16 тыс.
50% 1

We all know returns and volatilities of assets are interconnected and correlated. And most of the time, this correlation is dynamic, posing significant challenges for portfolio and risk management. How to make sense of it? And is there a model that intertwines variance persistence and volatility clustering with the concept of time-varying correlation? Turns out there is! Today we are investigating the DCC (dynamic conditional correlation) GARCH - one of the most famous multivariate GARCH generalisations - and its application to modelling of interconnected volatility dynamics in time series.
Don't forget to subscribe to NEDL and give this video a thumbs up for more videos in Finance!
Please consider supporting NEDL on Patreon: / nedleducation

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@NEDLeducation
@NEDLeducation 3 года назад
You can find the spreadsheets for this video and some additional materials here: drive.google.com/drive/folders/1sP40IW0p0w5IETCgo464uhDFfdyR6rh7 Please consider supporting NEDL on Patreon: www.patreon.com/NEDLeducation
@nadaanwar3945
@nadaanwar3945 2 года назад
could I get the spreadsheets please?? It's not available in the attached link.
@NEDLeducation
@NEDLeducation 2 года назад
@@nadaanwar3945 Hi Nada, it is available as the NEDL_DCC_GARCH.xlsx file. A link just in case: docs.google.com/spreadsheets/d/15giS0ZxMi7FePMotETPSax06-bv7hpHf/edit?usp=sharing&ouid=113436662715404606257&rtpof=true&sd=true
@nadaanwar3945
@nadaanwar3945 2 года назад
@@NEDLeducation thank you so much
@quantgeekery6358
@quantgeekery6358 2 года назад
Quite a bit of materials. Thank you
@OOE123
@OOE123 Год назад
This is amazing - I would love to see the DCC application with 3 or 4 assets :D :D :D
@oussamaarfi8899
@oussamaarfi8899 2 года назад
I would really appreciate if you make a video of DCC Garch Model of 3 assets, I just found your channel while struggling to applicate this model in my thesis and I have to say that you are doing an amazing job. If you find time please make the video. thanks!
@NEDLeducation
@NEDLeducation 2 года назад
Hi Oussama, and glad you are enjoying the channel! I might do a 3-asset DCC at some point in the future, thanks for the suggestion!
@phetnutta7664
@phetnutta7664 3 года назад
You rocked it !! so much appreciate for your work
@SUFISCORE
@SUFISCORE 2 года назад
Thank you for this
@patrickbatman2320
@patrickbatman2320 Год назад
Eager to see how this model works with multiple assets (3 for instance) in terms of volatility spillover effects and hedging. Thanks for the effort!
@wwaayynneee
@wwaayynneee 2 года назад
Great tutorial. Thanks for the explanation.
@ddzggi9396
@ddzggi9396 2 года назад
Thank you very much for your Video! Best video for DCC GARCH ever!
@alexy7634
@alexy7634 2 года назад
This is the best DCC-GARCH video out there. Goes into the mathematics without drowning you in detail, and was super helpful to wrap my head around DCC-GARCH's workings for my MSc Finance dissertation. Many thanks!
@shahsaudjan3949
@shahsaudjan3949 2 года назад
I NEED THESE CALCULATION OF EXCEL SHEET
@jbetanco7733
@jbetanco7733 Год назад
You did a very good job!
@niccolopoloni3566
@niccolopoloni3566 Год назад
thank you so much for the tutorial! Since you asked this at 10:40, I would love it if you perform a DCC with multiple assets
@corradoforza
@corradoforza 2 года назад
Thank you so much for the video, this is the most useful and practical explanation of DCC GARCH on YT. Video suggestion: BEKK model, CCC GARCH and OGARCH.
@NEDLeducation
@NEDLeducation 2 года назад
Hi Corrado, and many thanks for the comment! I am planning to do a tutorial on BEKK quite soon :)
@hailuochuanchuan
@hailuochuanchuan Год назад
Thanks you for the very helpful video. The iterative equation for Q_t in the spreadsheet appears to differ from the original DCC model of Engle in two non-trivial aspects (see, e.g., "Theoretical and Empirical properties of Dynamic Conditional Correlation Multivariate GARCH"). First, the spreadsheet uses residuals (epsilon_t) on the right-hand side of the iterative equation, while the original DCC uses standardized residuals (epsilon_t over conditional volatility estimated from univariate GARCHs). Second, the original DCC defines Q_bar as the unconditional covariance of standardized residuals resulting from univariate GARCH estimation, but the spreadsheet uses parameters of univariate GARCHs and a long-run correlation parameter to construct the Q_bar matrix. Can you please explain these differences and whether your implementation is the same as the model proposed in the original paper? Thanks again!
@rachelkoh6505
@rachelkoh6505 2 года назад
amazing tutorial. :)
@juliaparzonka5603
@juliaparzonka5603 Год назад
Hi NEDL, that's the best tutorial on GARCH DCC I've ever seen! I'd love to see the model performence with multiple assets! Is there maybe any video of yours, containing this issue or are You planning to make one?
@leonardobergamimdepaulaoli882
Sir NEDL thx for all the videos, they are amazing, could you do the dcc with more assets and using egarch? thx again!! love the channel!
@nidasiddiqui21
@nidasiddiqui21 Год назад
I just decided to become your patron after watching this AWSOME VIDEO. Unbelievble what you have done. Wish you were my University Professor. I support peoples suggestion about explaining Academic papers. Other suggestions for videos 1. 3 asset DCC 2. COPULAS Thank you so much. You are a genius.
@NEDLeducation
@NEDLeducation Год назад
Thanks so much for the kind words and for supporting the channel! This is literally one of the main objectives of the channel: streamlining academic concepts and putting them into Excel tutorials :)
@vaibhav1131
@vaibhav1131 3 года назад
Thanks also kindly cover shoc transmission, volatility spillover when u cover dcc/bekk models in econometric packages like reviews or r or estima etc.
@thedon758
@thedon758 3 года назад
Amazing job again mate! Keep it up! You have a bright future ahead! Small suggestion for future videos: Try recreating financial academic papers (like "Asset Pricing Models and the Norwegian Stock Market" by Eivind Rossvoll from NTNU).
@vaibhav1131
@vaibhav1131 3 года назад
sardosky (2012) is also a very prominent paper covering all m garch models
@plazmafield
@plazmafield 3 года назад
I want to second his statement about demonstrating the concepts and processes in academic papers. I personally would benefit from a video going over any nature of stochastic/deterministic simulations or variables that are often presented within academic papers. For example, this evening I happen to be trying to build a basket option based on the formulas I was reading about. Hard for me to do without a background in math :) I am trying to improve my excel valuation calculations for the structured products I have by crudely replicating what the trading desk does but within Excel.
@NEDLeducation
@NEDLeducation 3 года назад
Hi Stephen, and thanks for the suggestion! The easiest way to value basket options would be a Monte-Carlo simulation based on implied volatilities of basket constituents from vanilla options on individual assets and some value of correlation between assets. The interesting property of basket options is that they could be used to estimate the implied correlation between assets or even devise a strategy to get exposure to correlation. Might do a video on something like that in the distant future.
@NEDLeducation
@NEDLeducation 3 года назад
Hi, and glad you liked the video! I do provide links to publicly available pdfs of papers I use to inform my videos in my Google Drive, so please check the link in the pinned comment if you are interested!
@daiane_2310
@daiane_2310 3 года назад
Hi from Brazil, I would like to estimate a garch-Midas of volatility stocks return and add accounting variables to explain this volatility, have you ever seen this in eviews?
@user-hc8rw9rw9j
@user-hc8rw9rw9j Год назад
Hi Savva, thanks for your video, great content,. Just a questions, in your estimation process you have made the starting correlation to be estimated. In a expanded situation with more than 2 assets, the correlation will be a matrix, how do yo enforce it to be symetrical? Any suggestions? thanks
@NEDLeducation
@NEDLeducation Год назад
Hi Aaron, and thanks for the great question! Generally, you simply allow just the correlations below the diagonal vary, for example, and set the remaining ones to be equal to those symmetric to them.
@alexanderkha27
@alexanderkha27 2 года назад
what an excel, ive been playing with it. this a hidden gem!!!! Ive been reading some Papers on Using Garsh and DCC for finding correlation of Commodities like oil and oil companies, any experience with that?
@evangates7265
@evangates7265 3 года назад
Thanks for all the help! I have done all of this but expanded it to a set of 23 assets. The only thing that isn't working is that the final matrix Ht has a negative determinant, which is causing errors in the log-likelihood function. Do you have any idea what is causing this error?
@NEDLeducation
@NEDLeducation 3 года назад
Hi Evan, and glad the video was helpful! Can only applaud you implementing the procedure for a much more challenging case! The reason for the determinant being negative here could be that as there are a lot of dynamic correlations between assets being modelled at the same time, they can sometimes be jointly inconsistent and lead to a negative determinant. The IFERROR function in log-likelihood should theoretically address this by penalising Solver. Hope it helps!
@tanberzaman349
@tanberzaman349 2 года назад
LOVE IT, would love a multiple asset (3-4 assets +) DCC GARCH, and is it possible to create Discrete State Hidden Markov Models to find Bullish, Neutral and Bearish states based on the Garch Volatility. Thanks so much, love all your work!
@NEDLeducation
@NEDLeducation 2 года назад
Hi Tanber, and happy you liked the video! Generalising to 3 or 4 assets is quite straightforward based on the template in all honesty, it just involves a little bit more parameters and a little bit more time to converge :) As for Markov chain GARCH, this is quite messy in Excel and I am trying to figure out the best way to present it. Unfortunately, the most commonly applied Markov chain GARCH models do not really distinguish between bullish, neutral, and bearish states but rather between fat-tail and thin-tail variance persistence based on Student's T density functions with low and high degrees of freedom, respectively. I might return to this type of modelling some time in the future though!
@luizeduardocozzer1626
@luizeduardocozzer1626 2 года назад
Thanks a lot for the video. If you have a chance, please make a video with more than one asset. Thanks!
@NEDLeducation
@NEDLeducation 2 года назад
Hi Luiz, and glad you enjoyed the video! As for your suggestion, I might do that at some point, the generalisation of DCC is very straightforward but pretty bulky :)
@ayushsrivastava767
@ayushsrivastava767 7 месяцев назад
this is wonderful
@whiteturban7645
@whiteturban7645 Год назад
Hi Savva, Is there any way to find dynamic hedge ratio in excel?
@KASHISHPARMAR-wk7xd
@KASHISHPARMAR-wk7xd 3 месяца назад
hello how did you calculate q bar and immediate distribution here. Is there any video i could watch for that? please help me out
@workforgreatergood1409
@workforgreatergood1409 3 года назад
Interesting model - Do you know the original that was published on the DCC GARCH? Is it Engle, Sheppard (2001) "Theoretical and empirical properties of dynamic conditional multivariate GARCH"?
@NEDLeducation
@NEDLeducation 3 года назад
Hi, and thanks for the question! The original paper is Engle (2002) from Journal of Business and Economic Statistics: www.tandfonline.com/doi/pdf/10.1198/073500102288618487. The NBER working paper from Engle and Sheppard (2001) you mentioned is also a very good source, however. Hope it helps!
@patrickbatman2320
@patrickbatman2320 Год назад
Could u please explain common sense behind immediate disturbance coming from residuals and persitence of time series
@255sdr8
@255sdr8 2 года назад
Hello NEDL, do you have any literature recommendation for DCC GARCH?
@lol-rl6uu
@lol-rl6uu 2 года назад
Could you do an example with more securities or a different GARCH model?
@drek273
@drek273 Год назад
Hello needle I am a bit confused on how you found the DCC for apple and s&P. It shows INDEX but Could you walk through how you calculated that?
@MateuzNevez
@MateuzNevez 2 года назад
hello ned, how can i get the probability of the ARCH AND GARCH parameters?
@carlosviapiana6966
@carlosviapiana6966 Год назад
hi, do you have something like this for a BEKK model ?
@aarondelarosa3146
@aarondelarosa3146 Год назад
What about DCC and CCC (Constant Conditional Correlation) in Python? It's easy to estimate them in E-Views and R programming. I've already calculated them in Excel. But it was a real madness! Can you estimate them in python and R?
@qamarishtiaq1983
@qamarishtiaq1983 3 месяца назад
Hi, i was studying "Is there any volatility spill over between oil price volatility and stock market returns? or Does oil price volaility move togather with stock market volatility? The DCC alpha value was insignificant but DCC beta value was significant. what does it means?
@Trivitu
@Trivitu 6 месяцев назад
Great job as always, this is the best tutorial video about DCC GARCH model! I am trying to replicate this study but using 10 stocks instead but what I think it is really strange is that the parameters "a" and "b" (Dynamic Correlation coefficients) are the same for the 10 ETFs, the DCC model considers that all the 10 stocks have the same correlation dynamics? is there a way to consider different correlation dynamics? Thanks in advance and please keep doing this YT videos, they are great!
@youngestnate7680
@youngestnate7680 Месяц назад
you figured this out, if yes will you tell me what the answer is?
@kwanpichachucham4498
@kwanpichachucham4498 3 года назад
Is Q-bar a long-run correlation matrix calculated from long-run volatility in GARCH? Do I understand this right?
@NEDLeducation
@NEDLeducation 3 года назад
Hi Kwanpicha, and thanks for the question! Yes, you are correct!
@kwanpichachucham4498
@kwanpichachucham4498 3 года назад
@@NEDLeducation Thank you so much. :)
@vimarshpadha472
@vimarshpadha472 Год назад
how to deal with non normal distribution in returns, say heavy tailed ?
@tonimeiners8945
@tonimeiners8945 2 года назад
Thank you for this great explanation. I have a short question: Do the matrix calculations in sheet 'DCC estimation' vary based on whether a Garch(1,1) or Garch (p,q) process is used for the conditional volatility. Or is the process the same for both? Thank you in advance!
@NEDLeducation
@NEDLeducation 2 года назад
Hi Toni, and thanks for the question! It is GARCH(1,1). GARCH(p,q) would simply be a little more bulky :) In practice, GARCH(1,1) is the most commonly used so I decided to stick with that.
@tonimeiners8945
@tonimeiners8945 2 года назад
@@NEDLeducationThanks for your prompt reply! Okay I thought so. great to get your confirmation on this! Do you have a guidance on how to do it for n lags?
@user-zz7nu1vs8z
@user-zz7nu1vs8z Год назад
Please do multiple assets dcc garch🙏
@FluffyTashiLai
@FluffyTashiLai 2 года назад
how did you find the Alpha and beta values ARCH (Alpha) and GARCH (Beta)? Thank you
@NEDLeducation
@NEDLeducation 2 года назад
Hi, and thanks for the question! These parameters are optimised using Solver (numerically) to maximise log-likelihood.
@FluffyTashiLai
@FluffyTashiLai 2 года назад
@@NEDLeducation what does it mean of the Solver Results gives me ARCH (alpha) = 1 and GARCH (Beta) = 0. Does that mean there's something wrong with my data?
@rachelkoh6505
@rachelkoh6505 2 года назад
Thank you for the tutorial. I have a question (may be a dumb question), but how come we don't add all the GARCH constraints here, like alpha+beta0, beta between 0 and 1, as you did in your GARCH video (and that video is just as wonderful as this one thanks!!!). I look forward to your reply :)
@NEDLeducation
@NEDLeducation 2 года назад
Hi Rachel, and glad you liked the video! Thanks for the excellent question! We do not have to apply these restrictions here as I have done a trick with the IFERROR function when computing log-likelihood.
@hitomiKartRiders
@hitomiKartRiders 3 месяца назад
Hello, Im trying to using bitcoin and stocks for DCC Garch analysis, but I realise bitcoin have 7 days data and stocks only have 5 days data. What should I do?
@MohammadAbdelqaderofficial
@MohammadAbdelqaderofficial 2 года назад
The calculation of log likelihood in T16, you have multiplied n* n * ln (pi) instead of n* ln (pi).
@albavalon1
@albavalon1 2 года назад
Hi and thank you for this video! I applied this model and came up with constant correlation values for two assets. Then I dropped the condition that B11 and B12 must be greater than or equal to 0 and got dynamic correlation values. What does this mean for the model? Is this invalid or can I continue to use it as it is?
@albavalon1
@albavalon1 2 года назад
To be more precise, I wonder what it means exactly when I get negative values for a and b
@NEDLeducation
@NEDLeducation 2 года назад
Hi, and glad you liked the video! As for your question, B11 and B12 specify the dynamic correlation process, in theory, these do not necessarily need to be positive but it is harder to interpret negative values here theoretically.
@Leo-ld3do
@Leo-ld3do Год назад
Hi Savva, first of all thank you so much for providing all those great videos, I think its a gift for every finance student! Currently I am doing a DCC-GARCH to interpret the safe haven properties (I saw your other vid as well) of cryptocurrencies at certain economic turmoil scenarios and I face the problem that for MSCI_World + ETH (2016-2021 period) the solver results in a dynamic correlation of a) 1.8e^-11 so very small and b) exactly 0. Log likelyhood 7412 and a starting correlation of 0.0245. How to interpret this especially the dynamic correlation or what can I add to change the result? Since DC b)=0, Qt/Q_Bar also does not change and Qt* and Rt neither. Ultimately resulting in a correlation unter DCC_result tap, which is totally wrong showing 0.0245/1.00 in a repetitive order row by row. How can I fix it? May it be the best idea to force DC b)>0? Is this even possible? Best PS: May this problem be due to the very strong growth of ETH since its ICO resulting in a long-run-volatility of over 7.X%
@NEDLeducation
@NEDLeducation Год назад
Hi Leo, and many thanks for the excellent question! Happy to hear you are applying the technique for your own research. I have got several ideas why this might be the case. First, indeed, ETH returns are quite volatile and might be just a little too noisy for a sensitive model like DCC-GARCH. Second, it might be due to trading days not matching for stock and cryptocurrency markets. Both of these can perhaps be resolved by using weekly instead of daily data (this allows to quite naturally map Friday-on-Friday returns). Weekly data allows both to more naturally map cryptocurrency returns onto more conventional financial market returns as well as make the cryptocurrency return data at least a little bit more well-behaved :)
@manikdey580
@manikdey580 2 года назад
Many Thaks for the Video. Can you help me out in showing DCC with EGARCH? Thanks once again for this fantastic video.
@NEDLeducation
@NEDLeducation 2 года назад
Hi Manik, and glad you liked the video! I have got a video on EGARCH here (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-V_sjGFKnVRA.html), so adopting it for DCC is as easy as changing the variance persistence process in the DCC calculations to an EGARCH function.
@jbetanco7733
@jbetanco7733 Год назад
Are the returns standardized?
@anjaliyadav6400
@anjaliyadav6400 3 года назад
Please explain bivariate BEKK model
@NEDLeducation
@NEDLeducation 3 года назад
Hi Anjali, and thanks for the comment. Covering the BEKK model is already on my plans for the summer, so stay tuned!
@vaibhav1131
@vaibhav1131 3 года назад
Thanks buddy... can i share you a financial data series (2 variables) for making BEKK bivariate garch model for your future video?
@vaibhav1131
@vaibhav1131 3 года назад
on second thoughts maybe u can apply unrestricted bekk model on this same data. will help audience compare both bekk and dcc. Really amazing effort although understanding ms excel functions will take us some time :). many new functions
@NEDLeducation
@NEDLeducation 3 года назад
Hi Vaibhav, and glad the video was useful! BEKK is on the way, already got the estimation done and the video will be on its way shortly, so stay tuned :)
@MohammadAbdelqaderofficial
@MohammadAbdelqaderofficial 2 года назад
DECO Model please ?
Далее
2DROTS vs WYLSACOM! КУБОК ФИФЕРОВ 1 ТУР
07:25
10.7: Dynamic Conditional Correlation (DCC) in RStudio
10:03
GARCH model - Eviews
21:30
Просмотров 22 тыс.
GARCH Model : Time Series Talk
10:25
Просмотров 154 тыс.