Time Series Talk : Autoregressive Model

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ •

  • @madeehasayyed9507
    @madeehasayyed9507 3 роки тому +103

    Its for the first time that I have seen someone explaining econometrics in such a simple but yet in a comprehensive manner. You are a life saver.

  • @victorgaluppo5233
    @victorgaluppo5233 5 років тому +17

    Ritvik, you really have a gift for teaching complex topics in such simple terms. Seriously, I'd been trying to find an understandable lesson, and yours was godsent! Thank you very much for taking the time to help us!

  • @Zeel_BTS
    @Zeel_BTS Рік тому +2

    I am absolutely amazed. Thank you so much for this

  • @taghreedalghamdi6812
    @taghreedalghamdi6812 5 років тому +67

    I'm doing research and it's involve with some of the concepts you mentioned, I've never been felt how easy to understand these concepts till I saw your video!! Big Thanks to you ,, please keep posting more videos for the sack of science research and education.

    • @AbdullahAfzalRaja
      @AbdullahAfzalRaja 5 років тому

      is your research by any chance is on ARx model? doing the same :p

  • @user-rh3ie8no9n
    @user-rh3ie8no9n 4 роки тому +7

    you’re a lifesaver!!! the amount of light bulb moments I have in your videos is insane

  • @thefuturAI
    @thefuturAI 4 роки тому +6

    So well explained again - you are brilliant at explaining the concepts in a way that's easy to understand - THANK YOU!

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

    It is incredible how well you teach. These videos are fantastic, thank you

  • @vigneshrb1626
    @vigneshrb1626 2 роки тому +2

    Gem of a series for anyone studying about time series!!

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

    this is the easiest but best video I saw to understand AR Model! thank you very very much!

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

    Bro, this was easily the best explanation I've ever heard so far. Thanks a lot!

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

    Oh my Lord!!!! This is amazing! They could pay people money from here to the moon and they wouldn't be able to explain this concept so concisely. Best explanation of AR Model I've heard. Thank you so so much!!

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

    Brilliant explanation. So easily explained this confusing topic.

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

    It's amazingly simple and clear explanation of such a elusive topic! Thank you very much

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

    Really a gentle but a very powerful and intriguing intro to the AR model. Thank you.

  • @ritukamnnit
    @ritukamnnit 5 років тому +3

    Thankyou so much, This video was of great help. one of the best material explaining time series forecasting. :)

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

    Taking your videos help in 2023🎉❤thak you ritvik or ritik sir

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

    This is so helpful!! You cleared all my doubts. Thank you very much for making this.

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

    came here for copper, found gold instead. You doing a great job with these video my friend. thanks

  • @VanessaHenderson-j2i
    @VanessaHenderson-j2i 6 місяців тому

    Wow! You are a principality, with due respect this is mind blowing

  • @robertopizziol7459
    @robertopizziol7459 4 роки тому +143

    2020 hit us so hard no statistical model could hold. I bet even the milk demand is a total mess now!

    • @anthonyng3705
      @anthonyng3705 4 роки тому +8

      Most error in prediction models answers only how many % chance an event happen. BUT THEY NEVER ANSWER YOU the magnitude WHAT IF THE SMALL CHANCE HAPPEN. Some events like 2020 here rarely happened, but when breaking out, its magnitude swipe out everything. HAHA

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

      Although some model may not hold, this will help us factoring in the effects of such events when we deduce other similar models.

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

      @@anthonyng3705 That's what you call Excpected Shortfall in finance. Expected loss given a tail event

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

      ua-cam.com/video/nnwqtZiYMxQ/v-deo.html . Case study on Amul during covid. Every hard hit comes with momentum that can destroy us or push hard to be the best of all time.

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

      I’m a data scientist who worked through the pandemic in a critical infrastructure industry. On the other side now, can confirm, standard methods rendered results like 1+1=purple.

  • @christosmantas4308
    @christosmantas4308 5 років тому +25

    Thank you, very nice explanation.
    Q: How do you draw the "error" lines (red dotted) in the ACF plot? What is this threshold for significance?

  • @szymonk.7237
    @szymonk.7237 4 роки тому +2

    Thank you for this series ! ❤️❤️❤️

  • @TheExceptionalState
    @TheExceptionalState 5 років тому +1

    Thank you so much for your clear and well put together videos

  • @janis.5733
    @janis.5733 6 місяців тому +1

    Thank you so much 😊

  • @graceegan3005
    @graceegan3005 5 років тому +2

    This video is amazing. Thankyou for explaining this so well

  • @BBB_025
    @BBB_025 4 роки тому +16

    for the AR model you made for m(t), would this be an AR(4) model because there are 4 lags, or would it be an AR(12) model because the largest lag is 12 periods before the current time t?

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

      I think in this case, the model would be considered an AR(12) model. Even though there are only 4 significant lags (1, 2, 3, and 12), the largest lag is 12 periods before the current time t. When specifying an autoregressive model, the order of the model is determined by the maximum lag included in the model, which in this case is 12. The AR(12) model would include all lags up to the 12th lag, with some coefficients possibly being zero or near-zero for the insignificant lags.

    • @108987
      @108987 9 місяців тому

      @@phut7755I would beg to differ. We denote an autoregressive model as AR(p), where p denotes the amount of lagged variables included in the model, which in the case of the example from this video is 4. Hence it is an AR(4) model.

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

    Great video! Just one thing I didn't completely understand.
    when trying to find the model of Mt, where do the beta values come from? Thanks! (timestamp: 7:18)

  • @gooeyyeoog8535
    @gooeyyeoog8535 7 місяців тому

    Great video man ! Big love from Saudi

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

    Thanks a lot. You're undoubtedly a genius.

  • @ngotrieulong6935
    @ngotrieulong6935 5 років тому

    So great sir, hope to see more video about time series from you, it is really benefits for me

  • @asadkhanbb
    @asadkhanbb 5 років тому +1

    You made my intuition clear. Thank you

  • @user-cc8kb
    @user-cc8kb 3 роки тому

    Very nice explanation. Thank you a lot!

  • @cameronhashemi569
    @cameronhashemi569 3 місяці тому

    Hi Ritvik, thank you for these viedos. It seems like this one should be the third one in the time series playlist, after ACF and PACF are introduced, but before the coding demo which already references AR.

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

    Very good, well explained.

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

    Hi! The milk graph shows seasonality. I'm wondering how could you use AR model on a nonstationary time series. Thank you.

    • @KIKI-NJ
      @KIKI-NJ 3 роки тому

      I have the same question

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

      That's what ARIMA model is for. He has a video on that.

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

      this stationary time series the mean is fairly constant

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

      Hello. If there is seanality you could just do a second difference to remove it.

  • @Alex-sy4gg
    @Alex-sy4gg 11 місяців тому +1

    well. correct me if im wrong. i dont think AR model can skip lags tho, meaning it needs to start from t-1 and follows in time order i believe

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

    You are a great teacher

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

    Thank you so much, brilliant!!

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

    Really such a wonderful and understandable vedio this is.

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

    Excellent video!

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

    Amazing easy explanation my friend! It's a pity that you didn't explain the beta coefficients in detail, but I understood the concept very well :-) Thank you for your help.

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

    Wonderful explanation!!!!!! do you have video explaining the differences between AR-MA-ARMA-ARIMA?

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

    before talking about AR model, the time series must be STATIONARY !
    AR and MA models are based on stationary time series

  • @jairoalves8083
    @jairoalves8083 5 років тому

    Holy man, you are a natural!!! Thanks a lot!!!!

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

    Hey Ritvik!
    I had a doubt, what is the difference between a simple exponential smoothing and an AR model?
    Simple exponential smoothing predicts the next value as a linear function of the previous values, but weighted. AR Model also predicts the next value as a function of the previous ones. So is exponential smoothing a subset of AR model or how does it go?

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

      In exponential smoothing, the used weights follow an exponential model. In AR, by contrast, there's no constraint on these weights. So as you suggest, exponential smoothing in this context could be a special case of AR.

  • @Juan-Hdez
    @Juan-Hdez 10 місяців тому

    Very useful. Thank you!

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

    Great video! Thank you very much!

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

    Brilliantly explained

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

    Great video, keep going.

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

    Great explanation! Thank you very much!

  • @Coopy55
    @Coopy55 5 років тому +1

    Well explained. Thank you very much you may have saved my assignment haha

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

    Hi, great videos! I am following the series and one thing that is not clear is that this milk chart seems to have a seasonality. My question is, if you can model it with just an AR model why do I need the "s"arima model?
    I will answer my own question, I think I understood. The SARIMA is just applying "AR" "I" and "MA" over the seasonal lag. So for example if I have an yearly 12months seasonal data using just AR(12) would calculate the regression over all steps/months 1,2,3,4,..12 but if I have S"AR"(12) it will just calculate the regression on the 12th lag

  • @sorooshtoosi
    @sorooshtoosi 5 років тому

    Thank you very much! it is a very well explained and useful video!

  • @brandre
    @brandre 5 років тому

    Thanks for this very clear explanation!!!

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

    great video as always

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

    amazingly simple explanation, thanks!
    My trouble so far is understanding what the beta coefficient(0) or intercept is. can you explain it briefly please?

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

    Excellent video. Clearly explained and loved the crayola markers.
    For this, would you use Level data or first differences?
    Thank you

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

    thanks a lot for your work

  • @alecvan7143
    @alecvan7143 5 років тому +1

    great video!

  • @ParneetKaur-tq6qy
    @ParneetKaur-tq6qy 4 роки тому +1

    really very helpful

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

    Great explanation

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

    Hi sir, seeking for clarification here, why is it that AR Models can only be applied to stationary time series? This one here isn't stationary due to seasonality, but it seams like the seasonality helps in the prediction, due to the 12th month adding an additional month that helps predict the current month?

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

    Thanks this is so informative!

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

    In this example the data is seasonal, does this mean we need to make the data stationary before we use the PACF plot?

  • @김주영-d1c
    @김주영-d1c 4 роки тому +4

    Thank you for the video. From the video, I have two questions in mind,
    1. Is AR model built from PACF?
    2. Can we also build AR model from ACF?
    Hope to hear some from you!

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

      AR model is identified or built by PACF plot
      And MA model is identified or built by ACF plot...
      Always remember

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

    Thanks for the lesson. Help me a lot. ;)

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

    The PACF appears similar to Tornado plot in uncertainty analysis.

  • @luigifiori4812
    @luigifiori4812 5 років тому

    great job sir!

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

    Later videos say that AR cannot be used on a seasonal model which this clearly is. But the model is based on the seasonality. So can it be used or not?

  • @azeturkmen
    @azeturkmen 5 років тому

    thanks a lot, sir! helped me a lot, to understand concept

  • @michaelangelovideos
    @michaelangelovideos 5 років тому

    This is amazing, thank you.

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

    Superb

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

    Hello sir, Won't the t-2, t-4 terms get negative sign, as they are in the negative direction?

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

      The coefficient can be a negative value (e.g. b2 = -0.6). No need to use negative signs

  • @chethan93
    @chethan93 5 років тому

    Very good video!!

  • @L.-..
    @L.-.. 4 роки тому +1

    For this AR model what will be the p value? That is, AR(p) -> AR(4)? Is that correct?

  • @RachitVerma-f2k
    @RachitVerma-f2k Рік тому

    How do we estimate the variance of the white noise from the given data?

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

    This helped me a lot. Do you have any recommended bibliography?

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

    I learned the info from your last video that to apply a time series, the data shouldn't be seasonal. Isn't the data here somewhat seasonal to apply a time series forecasting model ?

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

    Thank you so much for your video - I am actually watching your whole TS playlist and it helps me so much!! I have just one little question regarding the model you presented us with at the end: Shouldn't it be minus ß2 and minus ß4 as mt-2 and mt-4 have a negative direct influence on mt, which is then expressed in their coefficients? Would be great if you or anybody else could help me out. Thanks! :)

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

      i guess that the beta coefficients may be negative

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

    I'm having a problem with the definition of order of AR, MA and ARMA time series forecasting processes. Imagine we have a time series with data from January to December, and we're in July, trying to predict August. When we say AR(2), are we using lags relating to July and June, or can those two months be any month between January and June?

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

    yes, Video is superb. How can we select order of AR model from PACF and same for MA model from ACF.

  • @whoami6821
    @whoami6821 5 років тому

    please make more time series video! It really helps! and there is no much time series video out there at all

    • @bermchasin
      @bermchasin 5 років тому

      me also like much time series video. Hope make more video for knowledge.

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

    Seems like AR is for capturing seasonality.

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

    If AR model can only be applied on stationary data set, how come the example used in this video is clearly non-stationary? The dataset example has yearly seasonality, correct?

  • @fyaa23
    @fyaa23 5 років тому

    A nice introduction. Maybe you could use the example data and show the prediction curve to get a sense of the outcome.

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

    this is so nice if you try to learn math without confusion

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

    Just a question, you said in a previous video that if we want you use AR or MA model, the serie has to be stationnary. Here it's obviously not so why we use a AR model please ?

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

    Great Video! My questions are:
    1) In your first video about ACF and PACF, as long as there is a time series, i could plot ACF and PACF regardless on whether its stationary or not by my understanding. In this episode, the time series need to be stationary in order to implement AR model. Why is that?
    2) In my case to analyze stock price, the first step is to plot ACF and PACF. Do I need to make stock pice stationary in order to perform ACF and PACF?
    Thank you !

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

      I maybe wrong but i think he was just checking the time series data for stationarity. Becuz if its stationary we go for OLS and if not stationary we try and apply ARDL model to the time series data.

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

    Hi, so it is okay to select 1,2,4,12 ignoring the lags in between?

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

    What an amazing explanation sir.. Great sir.. Sir plz make video on cointegration especially Johensen cointegration....
    What is difference between VAR AND AR.. PLZZZZ HOPE TO SEE YOUR REPLY

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

    @ritvikmath In the video for stationarity, you mentioned that we need stationarity to apply AR/MA models to the time series. Furthermore, for a time series to be stationary, it had to have the following criteria :
    1. The mean / expected value remained constant
    2. The variance remained constant
    3. There was no seasonality
    Yet in this video, we are using an AR model to solve a problem which is completely seasonal. This felt contradictory to your stationarity video.

  • @DM-py7pj
    @DM-py7pj Рік тому

    8:29 where has the mean term gone? Looks like it is represented by beta sub 0.

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

    do i need to find the model again every time a new data is added or can i use the model to predict the value for the next couple period?

  • @yasminedaly7648
    @yasminedaly7648 2 місяці тому

    But aren't you supposed to stop at the first insignificant lag, in this example 2 lags were significant then lag 3 was not so a good model should be AR(2) and not AR(4) right ?

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

    How do you calculate the red bands, so that you can check which lagged value has an impact on the model?
    thx for answer :)

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

    Much appreciated :-)

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

    Is this a AR(12)?

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

    It would seem to me that from your discussion of the use of the PACF to identify the important contributors that you have missed the lags at t-24 and at t-36 unless your analysis makes the assumption that the quantity has a periodicity of one year. But you didn't discuss periodicity in your approach to the PACF.

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

    can we predict commodity prices based on weather?

  • @JuliusSommer
    @JuliusSommer 5 років тому +1

    I really liked the video, maybe next time you could finish the example with some actual numbers