Coding the GARCH Model : Time Series Talk

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

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

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

    Wow, the rolling forecast results are quite surprising. Thank you for the quality content :)

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

    Luck to have someone who can make such videos .... Thank you

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

    Thanks you! It would really greate to to see some videos from you about time series predictions using artificial neural networks.

  • @YangYang-rh8uy
    @YangYang-rh8uy 6 หลายเดือนก่อน

    This episode is SO good.

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

    Thanks so much for this quick and clear explaination

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

    Can't thank you enough for making this video

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

    What a great model. Glad i am here! Subscribed 👍🏻

  • @SonuGupta-hk4tb
    @SonuGupta-hk4tb 11 หลายเดือนก่อน

    Thank you for the clear explanation. The ice-cream sales over the years increases. How to factor that in the synthetic data you generated? Also, how to make sure, if needed, that the simulated data is always positive. PS. Clipping would make everything

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

    Amazing one! Thanks for sharing.

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

    The time series data was artificially created. Why the model fit did not return near-exact model coefficients?

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

    Hey great vid again! Any chance you could do a video on multivariate GARCH in the future?

  • @weipenghu4463
    @weipenghu4463 6 หลายเดือนก่อน

    Thanks for the great videos. I am a bit confused here. According to your introduction, it seems that the ARCH(or GARCH?) model is used to model the volatility of the deviance, however it looks like it is used to model the time series itself, rather than the deviance. So my problem is what kind of problem does the ARCH(GARCH) model deals with?

  • @alial-jabri8010
    @alial-jabri8010 4 ปีที่แล้ว +1

    Very nice explanation

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

      Thanks and welcome!

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

    You are doing a great job. Could you suggest me a book that I can learn the basics of model formulation? I am in Turkey. My background is Finance. Your advice would be highly appreciated.

  • @j.r.3049
    @j.r.3049 5 หลายเดือนก่อน

    Again my question: How does this apply in reality? Is there some kind of expansion that also makes use of patterns in the sign of the volatility?
    Lets say I want to predict demand for product X. Say demand in the (t-1) Period was 100, my GARCH model tells me volatility will be high in the next period, I flip a coin for the sign and it lands on positive 1, so I predict 150, and then in reality demand is only 50.
    Would it make sense to transform the series to something like this:
    y(t) = abs(mean - x(t))
    so considering the deviation of my time series from the mean as a new time series and apply my GARCH model to that? But even then I kinda have the sign problem when using the abs()

  • @xinyuan6649
    @xinyuan6649 10 หลายเดือนก่อน

    Hi Ritvik, thanks again for another piece of great content. I wonder if the reason behind checking the PACF of squared values of simulation formula (not the sqrt value) is to make sure we won't impact the auto correlations at different lags? (because if we don't square both sides of the formula and check PACF directly, PACF doesn't really imply the correct values of PACF anymore?)

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

    Hi, thank you for the video! Can you also make a video about causality in time series data? So given two time-series how can I tell if the first is causing the second one? Is there something besides the Granger test?

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

    Wow, it's actually disgusting the correctness of that model 9:15...
    Amazing video!

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

    Thanks for this great tutorial. One question: Am I right in my understanding that here, you model the returns themselves (a_t) and their volatilities (sigma_t), which is not the same as modeling the errors (epsilon_t) and their volatilities (sigma_t)? I keep getting confused by the usage of epsilon_t as white noise such as here, and at other times as the initial quantity to estimate when interested in error forecasts... When people talk about "the" GARCH model in finance, which quantity are they talking about then? Modeling the returns and their volatilities, or the errors and their volatilities?

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

    Thank you for the great content. I learnt a lot. I was trying few things after watching the videos and got stuck.
    Q1. I have a AR(3)-GJR-GARCH(2,2,2) model like below. How can I test if the model has any leverage effect with 5% significance level? Which test do I run?
    best_gjr_garch = arch_model(in_sample_return[ticker],mean='AR',lags =3 ,vol='GARCH',p=2,o=2,q=2,dist='t').fit(update_freq=5)
    Q2. I also have a AR(3)-GJR-GARCH-M(2, 2, 2) model, how can In test the impact of risk on expected return at 5% significance level?
    Please help me with the method, I am really stuck.

  • @al-azzouz309
    @al-azzouz309 5 หลายเดือนก่อน

    How did you defined 'train' ? .. its not defined within the code!

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

    Just perfect.

  • @_Wind-yg9zx
    @_Wind-yg9zx ปีที่แล้ว

    I used the exact same code but a different result is produced, one of the model coefficients is not significant, that's strange.

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

    How did we come with q=2 ? From the original series how do we find out the dependence with previous volatility, because it won't be possible to find that series?

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

    Nice video ...thanks

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

    Thank you.

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

    Thank you so much.

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

    Hi, would you mind to point me out on the statistical equation on volatility prediction-rolling forecast? Thanks

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

    Maybe someone can tell me, what Machine learning algorithm is using Python when counting parameters? ANN RNN or some other?

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

    How'd I code a GARCH (1,1) model?

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

    Thanks a lot :-)