Garch Modelling in R

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 82

  • @HoangAnh-qx9ri
    @HoangAnh-qx9ri 3 หลายเดือนก่อน

    Thank you so much for such a thorough and easy to understand explanation of garch modelling in R! It is so helpful, even 6 years after you have uploaded this video

    • @RalfBecker
      @RalfBecker  16 วันที่ผ่านมา

      Glad it helped

  • @Alexandru-3
    @Alexandru-3 3 ปีที่แล้ว +13

    These videos are like portals. I know the views are not that high, but please do not ever stop doing them - we assure you that you are helping students from around the world in ways and measures you do not imagine.

  • @spenderpierre6395
    @spenderpierre6395 4 ปีที่แล้ว +26

    You have literally just saved my master' Thesis. Thank you for this magnificent video, I will remember it my whole life. Sincerely, Pierre

    • @lennyb.9616
      @lennyb.9616 4 ปีที่แล้ว +5

      LMFAO SAME, mine is due in 10 days and you?

    • @daiane_2310
      @daiane_2310 3 ปีที่แล้ว +2

      I am here to try to calculate volatility of stock for an article

    • @jean-claudefrancoisbaroudd730
      @jean-claudefrancoisbaroudd730 3 ปีที่แล้ว +3

      I sense we should all go for a beer one day as like-minded people and remember the times where we probably over-estimated our ability to implement M-GARCH models =)

    • @TheGuschtrim
      @TheGuschtrim 2 ปีที่แล้ว +2

      He literally just safed my bachelor' thesis. Not sure if I chose an adequate level of complexity for my economics degree. But it is what it is.

    • @jakob4371
      @jakob4371 2 หลายเดือนก่อน

      lol, this is very basic stuff. What was your subject?

  • @ЛинаСкайволкер
    @ЛинаСкайволкер 5 ปีที่แล้ว +5

    I'd love to thank you! I can't tell you how thankful I am! I've been at the very deadline of my work on the subject and here your video is! Thank you!

  • @leonwaidmann641
    @leonwaidmann641 2 ปีที่แล้ว +4

    any recommendations for a video talking about the interpretation of the garch model outputs in R?

  • @alexanderbogdanowicz3768
    @alexanderbogdanowicz3768 6 ปีที่แล้ว +1

    Great Tutorial, just the right amount of explaining and perfectly timed!

  • @simranjuneja5736
    @simranjuneja5736 ปีที่แล้ว +1

    Thank you sir for nice explanation I have a query how to see the impact of some exogenous variable X on the correlation of different assets in dcc garch model in R

  • @pedrocolangelo5844
    @pedrocolangelo5844 ปีที่แล้ว

    Great video, mr. Becker! Thank you for it!

  • @moonisshakeel6350
    @moonisshakeel6350 4 ปีที่แล้ว +1

    how can I estimate out-of-sample forecast and what is the difference between ugarchboot, ugarchforecast and ugarchroll. Also how to estimate the RMSE for the models.

  • @anarkarimli6015
    @anarkarimli6015 4 ปีที่แล้ว +1

    Thank you very much! It is quite hard to find a video on MGARCH model programming on TH-cam.

  • @yuzhang1480
    @yuzhang1480 4 ปีที่แล้ว +1

    when I tried to put my data into a data frame. it shows
    > rX

  • @kangtaw
    @kangtaw 10 วันที่ผ่านมา

    Dear Dr. Ralf Becker, the script URL doesn't work anymore. Do you still have it somewhere else?

  • @yousif_alyousifi
    @yousif_alyousifi 4 ปีที่แล้ว +3

    Dear Dr. Ralf, Thank you for this video.
    I would like to ask you how can we validate GARCH model and calculate RMSE ANS MAPE of GARCH MODELS TO DO A COMPARISON WITH OTHER MODELS such as ARIMA?

    • @pourapprendre8143
      @pourapprendre8143 4 ปีที่แล้ว

      Hi. A GARCH model does not produce an RMSE over the values of a time series. The GARCH models the volaility of a series (how confident are we that the point forecast we estimated is within a certain range). The point forecast itself is still found by setting up an ARIMA model.

  • @kamahmiriam8914
    @kamahmiriam8914 4 ปีที่แล้ว +1

    Hi! I am using a daily data in a CSV file but each time I run the as.xts command, the date that comes with the graph starts from 1970. How do I correct it so that the date starts from the 2015-01-08, which is the start date of my data. Thanks!

    • @Moronuhuy
      @Moronuhuy 7 หลายเดือนก่อน

      hai, I have the same problem as you. have you found the solution? May I know what the solution is?

  • @xwclsg
    @xwclsg 3 ปีที่แล้ว

    Crisp and clear, thanks a lot.

  • @nguyenduyanh7305
    @nguyenduyanh7305 4 ปีที่แล้ว

    How would you add external regressors to the univariate garch variance equation? I have three time series, I estimated them employing GARCH(1,1) for each of them, and I want to add lagged residual and variance of one series to another's conditional variance equation and I dont know how to do that.
    Thank you very much.

  • @marcosavini7463
    @marcosavini7463 3 ปีที่แล้ว

    As i understand it the covariance matrix is computed ex-post, is there also a function for calculating ex-ante through the coefficients estimated and compare with the realized? Or do i need to do it manually?

  • @schlapperseppel3001
    @schlapperseppel3001 3 ปีที่แล้ว

    Is there a way to plot the variance estimated by GARCH and OLS in one graph? I would like to graphically compare the estimations in R, however, I only know how to graph the variance of the GARCH model.

  • @Le_MarcoPolo
    @Le_MarcoPolo 4 ปีที่แล้ว

    I saw a paper on the net indicating that we could estimate the Beta of a stock/portfolio. I do not see at all the link between the CAPM and the Garch model. can someone could explain ?

  • @gabrielepillitteri
    @gabrielepillitteri 2 ปีที่แล้ว

    Good evening, i have a problem.
    When i run "fit1 = dccfit(spec1, data = rX, fit.control = list(eval.se = TRUE), fit = multf)" for the model estimation it returns to me:
    What should i Do?

    • @leonardowinzap2044
      @leonardowinzap2044 2 ปีที่แล้ว +1

      I run into exactly the same problem. How did you manage to solve it? (provided you have managed by now) Thanks a lot for your help!

    • @leonardowinzap2044
      @leonardowinzap2044 2 ปีที่แล้ว

      In case this problem affects someone else in the future: I managed to solve it by installing the package Rcpp. With this package loaded, the code seems to work without issues. Code:
      install.packages('Rcpp')
      library(Rcpp)

    • @gabrielepillitteri
      @gabrielepillitteri 2 ปีที่แล้ว

      @@leonardowinzap2044 Hei leo, I never solved it :(

    • @gabrielepillitteri
      @gabrielepillitteri 2 ปีที่แล้ว

      @@leonardowinzap2044 Thank you!

  • @TheAvikdas
    @TheAvikdas 4 ปีที่แล้ว +1

    Dear Ralf, nice explanations and tips for Multivariate GARCH models. Thanks. I am facing a "matrix multiplication: problem with matrix inverse; suggest to use solve() instead" while dccfit. Any suggestion?

  • @souritdas2714
    @souritdas2714 ปีที่แล้ว

    Hi can you just tell me, how to find out the p-values (command in R) of significance of the conditional correlation matrix between the three variables

  • @jeboteyt
    @jeboteyt 3 ปีที่แล้ว

    Could you also go into the goodness of fit. How can we tell if our multivariate GARCH is good or bad? Is the backtesting of VaR a go to?

  • @alestassi
    @alestassi 4 ปีที่แล้ว +1

    Thanks so much Ralf, it helps a lot.
    I wonder if you can make a video of BEKK-GARCH, DCC-GARCH and neural network examples with R?
    Thanks again.

  • @amandafoongwaiyan
    @amandafoongwaiyan 4 ปีที่แล้ว

    I am so thankful for this, this helped alot!

  • @alessandrorosati969
    @alessandrorosati969 2 ปีที่แล้ว

    For estimate Var in the Garch-midas models, which r commands should be used?

  • @hugomclaughlin6862
    @hugomclaughlin6862 4 ปีที่แล้ว +1

    Hi, great video! Can anyone help me to replicate this DCC-GARCH model but with a VAR model for the conditional mean equation? Not sure how to implement this...

  • @aikobish3247
    @aikobish3247 2 ปีที่แล้ว

    Thank you so much for this video. I have one question: Do you know how I can put external regressors into DCC Garch model? Xreg seems not to work (. In univariate Part of Garch xreg works, but unfortunately not in multivariate part. Maybe someone can help me. Thanks )

  • @Nader95
    @Nader95 2 ปีที่แล้ว

    is GARCH only used for modelling returns? Or can I use GARCH for forecasting daily PRICES (not returns).

    • @masthuhn1892
      @masthuhn1892 หลายเดือนก่อน +1

      To model GARCH, you need to use stationary time series. Most stock prices are non-stationsry which is why you would use returns

  • @alicegowenlock5201
    @alicegowenlock5201 4 ปีที่แล้ว

    Really helpful video. I am trying to model a CARR model using the rugarch package. Any advice on this would be much appreciated, thanks!

  • @fern8670
    @fern8670 ปีที่แล้ว

    Dear Dr. Ralf, Thank you for this video.
    I would like to ask you how can I find Value at Risk and Expected Shortfall of Multivariate GARCH Model , Can you show me by Code R
    Thank you for helping me to do my master' Thesis.

  • @sayunimbwilo5712
    @sayunimbwilo5712 3 ปีที่แล้ว

    Kindly assist on how to run Beta -t - GARCH for time series (Score variables with beta distribution)

  • @lethiminhhuong8589
    @lethiminhhuong8589 8 หลายเดือนก่อน

    thank you professor for informative video. Can you help me a command how to write.csv for DCC model include Coef and p-value? thank you so much

  • @astridgeorge1880
    @astridgeorge1880 4 ปีที่แล้ว

    Dear,
    We use our own excel data set, and since this is another way of importing data, could you please tell us how to convert it to times series data? Such that our variables also have the xts value?
    Thank you in advance!

  • @gaspargarcia2926
    @gaspargarcia2926 4 ปีที่แล้ว

    This is brilliant, thank you very much, it has helped me a lot! I would like to see a similiar video on GARCH BEKK model, that would be fantastic.

    • @lediblessing1606
      @lediblessing1606 4 ปีที่แล้ว

      Hi. Did you get an example of the GARCH BEKK model? I'd also love to see a similar example of it.

    • @attepitkajarvi4131
      @attepitkajarvi4131 4 ปีที่แล้ว

      Have you guys found one yet?

  • @MatBiszi
    @MatBiszi 6 ปีที่แล้ว

    i have question, when i am predicting variability stock use GARCH-GJR and want check with errors i must use calculated variability use GARCH-GJR or calculated normall standard deviation? I forercasting also with use GARCH, GJR-GARCH, IGARCH, EGARCH, GARCH, and GARCH - M, and i have problem with this what variability use to compare and calculated errors. Sorry for my english ;)

    • @RalfBecker
      @RalfBecker  6 ปีที่แล้ว

      I am not 100% sure I understand what you are after, but I think you want to know which of the different models you ought to use. You evaluate GARCH models by looking at the standardised residuals (residuals / sqrt(var)). When you plot the estimation results you get some specification tests on these.
      Basically you want to use the simplest model that passes these tests.

  • @ougoustg.9189
    @ougoustg.9189 5 ปีที่แล้ว

    You are amazing my friend!!!

  • @KARE19269
    @KARE19269 6 ปีที่แล้ว

    What if we are importing a csv file instead of downloading with symbols? as.xts doesn't work in former case?

    • @차태희-o1q
      @차태희-o1q 6 ปีที่แล้ว

      When you import data, You can convert the csv file to xts.

    • @차태희-o1q
      @차태희-o1q 6 ปีที่แล้ว

      this is my code.library(xts)
      stockdata

  • @aracalbuto
    @aracalbuto 6 ปีที่แล้ว

    Is there a way to generate artificial (simulated) GARCH data, i.e. data that will yield a specific desired GARCH model?

    • @khanhtruong3254
      @khanhtruong3254 6 ปีที่แล้ว

      library(TSA) with function garch.sim()

  • @rolandraoul7102
    @rolandraoul7102 3 ปีที่แล้ว

    so so clear, thank You

  • @maelmonder5150
    @maelmonder5150 5 ปีที่แล้ว

    Thanks, very generous to give the codes of your work (and not have to write testing again)...Update works let me know...

  • @kamahmiriam8914
    @kamahmiriam8914 4 ปีที่แล้ว

    Its indeed helpful. Thanks!

  • @차태희-o1q
    @차태희-o1q 6 ปีที่แล้ว

    How can i compute conditional correlation mean matrix all time ? rcor's mean (not each day)

  • @taniaadeoti4678
    @taniaadeoti4678 4 ปีที่แล้ว

    Great Videol sir, I really have learnt a lot, but how do I go about estimating the parameters of a Gargh(1,1) model assuming a Generalized Logistic regression? Please I need help

  • @kunalbali810
    @kunalbali810 6 ปีที่แล้ว

    could you please give some tutorials on importing netcdf, hdf files and reading-plotting the data?

  • @AzharAli-se5ve
    @AzharAli-se5ve 5 ปีที่แล้ว

    nice video for volatility modeling i like this work

  • @phdcivileng9425
    @phdcivileng9425 6 ปีที่แล้ว

    could you please to tell us how to forecast passengers with arima in minitab?

  • @sarangamadarasinghe2338
    @sarangamadarasinghe2338 ปีที่แล้ว

    sir,can you uplord a tutorial to check the accuracy of a GARCH model.This vedio is verymuch helpfull

  • @thananchai9425
    @thananchai9425 5 ปีที่แล้ว

    Hi Sir, If I just want CCC Matrix. How do I get it. Please

  • @souritdas2714
    @souritdas2714 ปีที่แล้ว

    excellent!

  • @mm.khorasani8747
    @mm.khorasani8747 4 ปีที่แล้ว

    I need help in R package

  • @yzhang4970
    @yzhang4970 3 ปีที่แล้ว

    very helpful!!!

  • @MrHugosky1
    @MrHugosky1 5 ปีที่แล้ว

    Thank you very much in deed!

  • @flamboyantperson5936
    @flamboyantperson5936 6 ปีที่แล้ว

    Very nice tutorial

    • @pampakouleh
      @pampakouleh 4 ปีที่แล้ว

      Hi nice work. how can I estimate HAR-RV in R? and compare to the GARCH model

  • @spotifymee4642
    @spotifymee4642 6 ปีที่แล้ว

    Thank you for this very useful tutorial! However, I couldn't figure out by myself how to implement the asymmetric dcc model. Could you help me with this please?

    • @Yoho696
      @Yoho696 6 ปีที่แล้ว

      I think this is the way to go: spec1 = dccspec(uspec = uspec.n, dccOrder = c(1,1), model = "aDCC", distribution = 'mvnorm'). However when I tried this for replicating results from a paper, I didn't get the correct results, which I did get for the normal DCC model.

    • @mutuamunywoki2817
      @mutuamunywoki2817 5 ปีที่แล้ว

      @@Yoho696 I 'm having challenge in setting my data in R correctly for Multivariate GArch analysis can you help please

  • @mm.khorasani8747
    @mm.khorasani8747 4 ปีที่แล้ว

    Hi Can you help me...?

  • @jenevavergara4125
    @jenevavergara4125 6 ปีที่แล้ว

    hi nice video, can u send me the full codes so i can re-run it in my laptop?thanks

    • @RalfBecker
      @RalfBecker  6 ปีที่แล้ว +1

      check the link in the info underneath the video

    • @RalfBecker
      @RalfBecker  6 ปีที่แล้ว +1

      check the link in the video notes

    • @jenevavergara4125
      @jenevavergara4125 6 ปีที่แล้ว

      @@RalfBecker thank you