Time Series Model Selection (AIC & BIC) : Time Series Talk

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 70

  • @ResilientFighter
    @ResilientFighter 4 роки тому +50

    Great job Ritvik. Seriously, you explain data science concepts EXTREMELY well.

    • @ritvikmath
      @ritvikmath  4 роки тому +2

      Thanks a ton Gary!

    • @home7322
      @home7322 3 роки тому

      @@ritvikmath you helped me with understanding a journal paper that I was reading. The python coding is so helpful for me as a beginner in this domain. I can easily analyse my data as soon as possible. Your are a superb teacher. I do appreciate your work.

  • @kevineotieno5
    @kevineotieno5 10 місяців тому +3

    Bro, you are not only a great data scientist, but also a great teacher.

  • @omranhasan8287
    @omranhasan8287 3 роки тому +7

    do you know how many papers I have read to understand those concepts and I couldn't, and here you come and made me not only understand them but be able to apply them is my thesis. thanks a lot.

  • @aakuthotaharibabu8244
    @aakuthotaharibabu8244 2 роки тому

    after watching your videos it makes more sense that Data science is much about understanding Math's then after that we need to focus on coding part... awesome intrusion. thanks a lot

  • @vadimkorontsevich1066
    @vadimkorontsevich1066 2 роки тому

    you are the only one Indian lecturer and only the one econometrist, who I can understand with my bad english and my bed math background.

  • @arjunnvaja8361
    @arjunnvaja8361 2 роки тому

    thank you!! I don;t know why professors in highly ranked university can not teach us like this. hats off!!

  • @samuelthomaz
    @samuelthomaz 3 роки тому +3

    Man, I'm learning time series analysis and forecasting and you're helping me a lot !!! Thanks !!!!

  • @niaz9391
    @niaz9391 2 роки тому

    bro, your explanations are really smooth and easy to understand......

  • @abdullahalmoabadi3152
    @abdullahalmoabadi3152 4 роки тому +3

    Thank you man, I was waiting for this video. If you can make another video which explains AIC & BIC in details that would be extremely helpful.

  • @ssaaajdijj
    @ssaaajdijj 3 роки тому +4

    A simple explanation to understand AIC and BIC indeed. Thanks for that ritvik !
    Can you please make a similar video to which gives a feel for,
    1. log-likelihood.
    2. significance of each evaluation parameters in different time series models.

    • @ritvikmath
      @ritvikmath  3 роки тому +1

      thanks! please check out my max likelihood video here:
      ua-cam.com/video/VOIhswqFWVc/v-deo.html

  • @riteshsingh811
    @riteshsingh811 3 роки тому +4

    In India, we respect our teachers, elders by touching their feets and ask for their blessings. I feel like giving the same respect to you. Love from India ❤️

  • @samyuktag4842
    @samyuktag4842 Рік тому

    I love you for teaching it so simply

  • @NickKravitz
    @NickKravitz 4 роки тому +1

    My professor at NYU co-wrote a paper on developing the AICc (corrected AIC). Of course Bayes has better name recognition in stats. Great video as always!

  • @luizscheuer670
    @luizscheuer670 4 роки тому +2

    this video couldn't have been posted at a better moment. Currently writing my thesis on Uber travel times modelling and can't figure out which model to select. pls marry me no homo.

  • @karatugba
    @karatugba 15 днів тому

    most clear explanation ever, thanks a lot!

    • @ritvikmath
      @ritvikmath  14 днів тому

      Thanks! Glad it was helpful!

  • @aleksandrserebryanskiy7253
    @aleksandrserebryanskiy7253 2 роки тому

    What a nice explanation! Was looking for that for so long.

  • @klelck
    @klelck Рік тому +1

    Hey King, you dropped this 👑

  • @bhavasindhu
    @bhavasindhu Місяць тому

    precise and elegant. ! thanks for sharing

  • @alexgeiger-h8z
    @alexgeiger-h8z Рік тому

    Nice job getting to the point!

  • @jonasschroder7244
    @jonasschroder7244 2 роки тому

    Great explanation

  • @irishryano
    @irishryano 4 роки тому +1

    Great video! Very helpful and thorough explanation.
    For BIC, why do we want a lower number of samples? Conceptually, I thought more data points makes a better model.
    Can’t wait to catch up on rest of your videos I have not seen yet
    Cheers!!

    • @fpvfun676
      @fpvfun676 4 роки тому

      Yes, we want more samples in general, but they have to contribute to better fit (increasing log likelihood) more than log of number of samples in order to be "BIC" better. As mentioned in the video if you have two models with same log likelihood, obviously the one trained on 1k samples is better than the one trained on 1M samples (and getting the same loglikelihood).

  • @samuraibhai007
    @samuraibhai007 4 роки тому +5

    Thank you so much Ritvik. Out of curiosity: as it pertains to time series, will you be covering Brownian motion and jump diffusions in future videos? Regardless - love your content!

    • @ritvikmath
      @ritvikmath  4 роки тому +1

      Thanks! And I will definitely look into those topics

  • @Sparzzzzzzzzzzz
    @Sparzzzzzzzzzzz Рік тому

    underrated af! thanks man

  • @davidmacneill9686
    @davidmacneill9686 Рік тому

    Thank you, great stuff!

  • @viktoriiat.4403
    @viktoriiat.4403 3 роки тому +1

    Hey, Ritvik! Thank you for the great content! Could you, please, make a video on State Space Models?

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 4 роки тому +1

    Great explanation.

  • @prashantkumar-ue7up
    @prashantkumar-ue7up 4 роки тому +1

    Great video.When should we use adjusted R square,AIB and BIC?

  • @MrTjurk
    @MrTjurk 4 роки тому +1

    Thank you very much!

  • @vivekkaushik1849
    @vivekkaushik1849 3 роки тому +2

    Can there be a case where we have different model for AIC and BIC?. For instance, AR(6) gives the lowest AIC and AR(10) gives the lowest BIC. In this case which model will be taken into consider and why?

    • @pedrocolangelo5844
      @pedrocolangelo5844 2 роки тому +1

      I'd be so glad if ritvikmath answers this question. This is exactly what I was thinking about.

  • @paweszafaowicz6959
    @paweszafaowicz6959 4 роки тому +2

    Hi! Very usefull video.
    What about if you make a video about this log likelihood.
    It seems not so intuitive and there is no much of material about this topic out there.
    Thanks!

    • @ritvikmath
      @ritvikmath  4 роки тому +2

      Great suggestion! I've added it to my list :)

  • @VictorOrdu
    @VictorOrdu 2 роки тому

    Fantastic!

  • @cleansquirrel2084
    @cleansquirrel2084 4 роки тому +1

    Again! Amazing!

  • @admissionmoist5498
    @admissionmoist5498 3 роки тому +2

    Why is AIC 2K-2L and not just K-L?

  • @shiwahashimi4326
    @shiwahashimi4326 2 роки тому

    Thank you!

  • @farnazmarianoshokrifard8446
    @farnazmarianoshokrifard8446 2 роки тому

    Thanks a lot. So I have repeated measures and my models are nested. Would you then recommend BIC? I appreciate your help :)

  • @victorbotelho3609
    @victorbotelho3609 4 роки тому +2

    Ritvik, since all models used the exact same amount of data points in the sample, the model with the lowest AIC would also be the model with the lowest BIC, correct? Does that mean that only the AIC is relevant when all models have the same amount of sample data?

  • @luizscheuer670
    @luizscheuer670 4 роки тому +2

    On question, though: what should I interpret out of the AIC if I apply it to just my stationary time series (i.e. 1st diff of the original time series) ? That is, with no AR, MA or other models yet applied to it? Would it make any sense?

    • @ritvikmath
      @ritvikmath  4 роки тому +3

      good question. AIC/BIC are metrics we use on *models* not on raw data itself. So use these metrics if you are trying to decide between many models on the same set of data.

  • @al38261
    @al38261 Рік тому

    Great!

  • @tjbwhitehea1
    @tjbwhitehea1 3 роки тому

    If the purpose of the modelling is to perform predictions, is it not better to evaluate the model on its ability to make predictions (i.e. with sliding windows k fold cross validation)? Rather than appraising the model on it's fit on data that it has already seen

  • @Johnnyonthespot22
    @Johnnyonthespot22 3 роки тому +1

    could you do some of these in Rstudio?

  • @mahdiziane575
    @mahdiziane575 3 роки тому

    hi there @ritvikmath I WANT To confirm onething, about the AIC formula, isen't ''AIC=2K-2ln(L)'' the correct one instead of AIC=2K-2L.
    THANK YOU.

  • @philipphabicht497
    @philipphabicht497 4 роки тому

    Please do a more theoretical video about log likelihood

  • @jusjosef
    @jusjosef 11 місяців тому

    Why is AR(10) chosen when AR(7) and AR(8) had more significant lags?

  • @tanvitolat9045
    @tanvitolat9045 3 роки тому

    sir please explain ARCH GARCH model Assumption and limitation

  • @vuhoangdung
    @vuhoangdung 2 роки тому

    what AIC and BIC stand for?

  • @algerianman6417
    @algerianman6417 3 роки тому

    plz the book you used making those videos

  • @roshedulalamraju7936
    @roshedulalamraju7936 4 роки тому

    how you say the data is stationary when p value is zero? when p value is less than the value of 95% con int then we reject null hypothesis. so the data is not stationary

    • @siamakfarjami2116
      @siamakfarjami2116 4 роки тому

      your null hypothesis would be the data is non-stationary, so if the p-value is less than 0.05 (5%), it means the null hypothesis is rejected and the data is stationary, so as here p-value is less than 5% , (zero) here then the data is stationary.

  • @farooq8fox
    @farooq8fox 3 роки тому

    epic

  • @colmanwong9060
    @colmanwong9060 2 роки тому

    If they want to obtain the lowest of AIC, why don’t they represent the formula as k/l , they would give similar relationship

  • @s.prakash7869
    @s.prakash7869 3 роки тому

    Naice!!

  • @tuguldurganbaatar4849
    @tuguldurganbaatar4849 2 роки тому

    NotImplementedError:
    statsmodels.tsa.arima_model.ARMA and statsmodels.tsa.arima_model.ARIMA have
    been removed in favor of statsmodels.tsa.arima.model.ARIMA (note the .
    between arima and model) and statsmodels.tsa.SARIMAX.
    statsmodels.tsa.arima.model.ARIMA makes use of the statespace framework and
    is both well tested and maintained. It also offers alternative specialized
    parameter estimators. it says

  • @hameddadgour
    @hameddadgour 2 роки тому

    Fantastic!