Time Series Talk : Stationarity

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

КОМЕНТАРІ • 181

  • @LinLin-rv9ib
    @LinLin-rv9ib 3 роки тому +63

    you saved my life in my master study

    • @mohammadzaid4100
      @mohammadzaid4100 Рік тому +3

      Is this playlist good for ma eco student?

    • @w157-p5x
      @w157-p5x 9 місяців тому +5

      Currently preparing for my masters thesis (not economy related).
      I hardly had any statistics courses during my studies, but now I need knowledge of time series analysis in order to create a forecasting model.
      Within just 3 days consuming videos on this channel, my understanding of time series analysis went from virtually 0 to something that at least allows me to read relevant papers and understand the basic concept of the proposed models within.
      This guy is amazing

  • @uafiewn
    @uafiewn 4 роки тому +73

    You're amazing. I'm taking a time series course and the professor isn't so great at explaining any of these concepts. Really appreciate you and your videos! Please keep them coming.

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

    The best test of whether or not our instructor truly understands a topic is their ability to explain it clearly. You PASS, again!

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

    Ritvik, this was the most clear explanation of stationary I have ever found. THANK YOU!!!

  • @lynguyen709
    @lynguyen709 3 роки тому +8

    OMG your visual example and explanation are very clear and easy to follow. Thank you so much for making such a thoughtful video!

  • @akrylic_
    @akrylic_ 5 років тому +63

    Been following since I found your Ridge regression video. You're incredible, keep up the great work!

  • @slothner943
    @slothner943 2 роки тому +7

    I've watched a bunch of videos now, started on SVM. The quality and pedagogy of these videos is superb! Great job!

  • @patricke1362
    @patricke1362 2 роки тому +6

    your videos are great, first I was skeptical because of the style with the marker/ handwritten. But it is awesome !!! Your voice, your style of speaking, your structure in every video from arima to white noise. Very very valuable content !!!!! keep on going adding value to the world !!

  • @lashlarue7924
    @lashlarue7924 4 місяці тому +1

    Best math teacher I have ever had the pleasure of being taught by! ❤

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

    Such videos are the reason why I still love UA-cam

  • @mauriceligulu5058
    @mauriceligulu5058 5 років тому +18

    Your videos are amazing, you make time series easier. Keep the good work

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

    So nice seeing how to make the time series stationary at end. Much appreciated!

  • @seanmcgill5330
    @seanmcgill5330 4 роки тому +4

    Seriously amazing, learned more from watching your videos for a hour then countless grad school lectures.

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

    Fantastic Video!! The stationary has been puzzled me for a long time, this is the simplest and easiest video to understand!!

  • @andrewarden104
    @andrewarden104 4 місяці тому

    so easy to understand, I've watched everything on UA-cam but this is where things start to make sense lolllll

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

    you are seriously a life savor, much love

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

    These videos are so great! I am really happy I found them and I have to thank you for creating them. I would be greatful if you or anyone from your viewers could suggest me a book on time aeries analysis for referencing purposes.
    Thank you again 😊

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

    God bless you, man. It is like watching art, when someone can explain and articulate things clearly like you.

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

    Never understood statistics any better...keep going please

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

    Thank you very much for such amazing class !

  • @chrstfer2452
    @chrstfer2452 11 місяців тому +1

    Really wish id discovered this channel before my semester ended

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

    Damn, I was struggling to grasp this in my Finance class 8 years ago, and finally it landed!! You nailed it man!! Thnx a lot

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

    Very intuitive (and quick) explanation!

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

    Really good explanation, thank you man just incredible clear

  • @nidhisharma-io6gs
    @nidhisharma-io6gs 5 років тому +1

    Excellent, made time series concepts easier and interesting

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

    Thank you for such a clear explanation!

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

    Man !
    your explanation is a life saver for Me thanks a lot :)

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

    U are amazing.. i finally understand what time series are .. keep it up .. 🤩🤩🤩

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

    Very concise and clear explanation...

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

    Good explanation, thanks. However, I am a bit confused with the condition on seasonality and wikipedia says seasonal cycles do not prevent a time series to be stationary. Could you share an example of a stationary time series that is white noise? Arent't f(x) = cos(x) and g(x) = sin(x) stationary?

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

    You are absolutely master piece

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

    Thanks for clearing up the question about whether we can do a transformation like Zt to make the series stationary.

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

    Yeah you are really great hope you continue to make the awesome videos ❤️❤️❤️

  • @AN-yr7nm
    @AN-yr7nm 4 роки тому +1

    Great work, super nice and simple explanations! You rock :D

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

    Hi, please could you share the link to the ADF test?

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

    Nice explained! I would like to see one practical example that would further elaborate this matter. Anyway great video and thanks!

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

      Thanks! And good suggestion

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

    stationerity assumes variance is constant. But hetroskedecity says variance is time specific. But in time series we see present of stationerity and hetroskdecity as well. How is this explained? shd these two not be mutually exclusive

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

    Can you answer why B1t - B1t-1 = B1?

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

    Incredible useful for our my masters thesis

  • @manishkulkarni9982
    @manishkulkarni9982 5 років тому +6

    Very well explained. Can you pl include a video on ADF test and how to interpret the P value?

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

    This is Amazing,Sir. Thank you!

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

    Concept of stationarity is nicely explained

  • @piratassarajevo4293
    @piratassarajevo4293 10 місяців тому +2

    Where did B1t and B1(t-1) go when you calculated z?

    • @kevineotieno5
      @kevineotieno5 8 місяців тому +1

      Thanks for pointing out. I also did not understand the expansion that led to the final value of Z.

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

    Hi, your video is excellent, making time series much more understandable. But I couldn't find the video specific for Augmented Dickey-Fuller test in your videos. As you mentioned in this video, there is another video on ADF test. Thanks!

  • @akshaypai2096
    @akshaypai2096 4 роки тому +4

    Thanks for finally making me understand this concept, but im still trying to figure out what effect Stationarity has on my forecasts or how itll influence my forecast?

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

      the models that are used for forecasting rely under the assumption that the time series that we want to model is stationary, without stationarity condition AR, MA, ARMA model cannot be utilized for modelling purposes.

  • @atharvat223
    @atharvat223 4 роки тому +7

    i didnt understand the variance part .how variance of the errors is 2k^2 .Can someone explain it or suggest some reading material

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

      I have the same question.

    • @David-bo7zj
      @David-bo7zj 4 роки тому

      I also have the same question, would they not just cancel?

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

      @@David-bo7zj No, variances never cancel out. For any 2 random variables, X and Y , Var(X+Y) = Var(X) + Var(Y) + 2*Cov(X,Y) and Var(X-Y) = Var(X) + Var(Y) - 2*Cov(X,Y) where Cov is the covariance. When, random variables are independent Cov(X,Y) =0. Hence, Var(e(t) - e(t-1)) = var(e(t)) + var(e(t-1)) - 0 = 2K^2

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

    Found another gem on youtube :)

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

    Excellent video!! great and concise explanation! But i just have one question left. What we forecast is the ts after differencing, but do we need to recover the differenced ts back to the original one? Will the forecast be the same? Or there is just no need to convert it back? Thanks in advance!

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

    Thanks this corrected a lot of my misunderstanding!

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

    Ive been struggling to understand third condition of stationarity until now. I had an intuition it was something like seasonality but it was really not clear for me. Ty.

  • @peacem351
    @peacem351 4 місяці тому

    Thanks for the video! I am just a little bit confused by the example in the end of the video. As the time series has already been modeled by the linear regression model, then why do we need to do the differencing to create a new series for modeling using AR/MA/ARMA? So in the end, to model such series, we need to combine both linear regression and AR/MA/ARMA? Or is it that we use AR/MA/ARMA to substitute the linear regression model? Thanks!

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

    Well paced. Please keep it up!

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

    For the 3rd example, is the mean constant over different time intervals ?

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

    This explanation assumes “ strict sense” stationarity yes? There’s a slightly relaxed definition of stationarity called the “ wide sense” stationarity. I think the white noise process falls under ‘wide sense’ stationarity.

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

    Hi! Thank you a lot. Could you make some videos on cointegration and causality. Concepts are very tricky for me

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

    Hello Ritvik!
    I've had this question forever, even after trying to deal with neural networks and Narmax models! I hope you would be able to reply and give me some light. How can we deal with zeros in time series? Modelling is based in events of a time series that Granger cause the one to be predicted but most of it consists of zeros. So far i just remove non interesting events and most of the zeros but should i be doing that or is there another approach? Thank you!

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

    Hey! Amazing content! However, I get lost in these formulas. Could you reccommend any course or book to learn more about these formulas? Thanks!

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

    Just insane! Thank you so much

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

    Aren't we applying same method as in making unit roots to stationary? Is there a relation btn non-stationary ts and a ts with unit roots

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

    Thank you for this helpful video

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

    Sir in the variance step k^2 should cancel other k^2 and should be zero… please clarify!

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

    excellent work. Your great sharings save me

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

    there is seasonality in your example...there's an upward trend, as well as seasonality about the trend

  • @RG-rb2mi
    @RG-rb2mi 10 місяців тому

    Outstanding video,
    Any chance there is a video where you code this or solve an example with some values for those constant in the final equation for Z(t)
    Thanks a lot

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

    CAN SOMEONE PLEASE EXPLAIN WHY DO WE NEED STATIONARITY FOR ARMA PROCESS PLEASE? WHAT WILL HAPPEN IF IT IS NOT STATIONARY?

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

    Excellent guide, thanks

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

    I have been watching your amazing teaching videos which are so intuitive. Would it be possible for you to post the sheet notes you work on somewhere? It would be easier for us to make notes on top of those instead of trying to make our own sheets. Thank you!

  • @steff.5580
    @steff.5580 4 роки тому +2

    Why do you say that, in example number 3, the mean rule is not violated? If we look at different intervals, like in example number 2, then the mean will not be constant (for instance, taking the first half of a period and the entire period).

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

      That's a great question! You are right that we can always find two intervals with different means but the idea of stationarity has more to do with whether the mean is consistently getting higher or lower. In the second graph, the mean is consistently rising whereas in the third graph, the mean is centered around 0. Hopefully that helps a bit!

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

    Can you do a practical example of going from the differences back to y, the variable that we really want to forecast.

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

    great explanation, thanks

  • @rodrigogaleano5145
    @rodrigogaleano5145 3 місяці тому +1

    Good video.

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

    Thank you very much, love it

  • @antygona-iq8ew
    @antygona-iq8ew Рік тому

    would not seasonality make the global mean being to equal to the local mean/s (depends on the chunk of series we take for a comparison?

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

    Good Video. But how is the mean constant in the third sine wave ?

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

    Can you talk about ergodicity?

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

    Excellent! Thank you!

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

    Stationarity in Time series
    The models like AR, MA assume our time series to be stationary
    stationary - mean constant, std dev constant and no seasonality
    non - lot of fluctuations in the data. first there were immense fluctuations, now less -> different std dev
    - mean is not constant. of a time chunk
    - seasonality - periodic trend over time
    how to check?
    1. visually
    2. global vs local tests (global mean =|= local mean)
    3. augmented duckey fuller test
    how to make it stationary
    yt = b0 + b1 t + Et ( mean not constant in the graph)
    new series
    Zt = yt - yt-1
    Zt = b1 + Et - Et-1
    E(Zt) = b1 (mean of new series) (Et and Et-1 are constants from some distribution with mean 0)
    Var(Zt) =

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

    Thanks for the video!

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

    perfect video, thanks!

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

    much better than the professor!!!

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

    Doubt
    You said the mean for chart no. 3 is 0, as the local and global means are 0 but, the mean for chart no.3, varies locally depending upon where you take the interval. Eg. for half of the cycle it is different than 1/4 cycle

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

    Very good video, may I know what is Yt here representing?

  • @Fogell-x9t
    @Fogell-x9t 4 місяці тому

    I have a question if the mean is not constant how standard deviation can be.

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

    Short question: do I take the data of the real observation or the estimated values for y_t for the formulas on the sheet making a time series stationary

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

    Great explanation !

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

    Damn I need to refresh on some stuff but this helps out so much 🙏

  • @keewee235
    @keewee235 16 днів тому

    nice vid, much appreciated

  • @bigvinweasel1050
    @bigvinweasel1050 5 місяців тому

    Hey @ritvikmath, I tried using ADF and KPSS on 3 sample datasets, similar to the ones in your video. One dataset violates the constant mean, the other thd constant variance, and lastly one with seasonality. However, it seems that both the ADF and KPSS are returning the datasets to be stationary for both non-constsnt deviation and the seasonality dataset. It accurately tests non-constant mean datasets. Any thoughts as to why that would happen?

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

    wonderful video

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

    hello, could you please elaborate a little bit more on the 2K2, 8:56. Thanks

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

    This doesnt make sense to me as the criteria we learn in class is different.
    "Stationarity means that the mean and the variance of the process are independent of time / constant over time".
    Examples in our class would rather look at the first graph as seasonality
    Second would be right.
    but third is stationary.
    But in general we have many graphs with bigger and smaller fluctuations but are still stationary. So the statement around time series "1" is in direct opposition to what we are learning. a stationary time series can still have higher and lower peaks but as long as that is constant over time it should be good?
    Im so confused.

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

    Can you clarify on how you forecast y-t from z-t? May be with a simple example

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

    How do you use seosonality on time series if you cannot have it with stationary data?

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

    Can I ask why is the variance of epsilon andepsilson -1 will be k^2?

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

    Hi. I have understood your lecture on stationary but in the end of video I couldn't get that mean part how non zero error et is zero. Could you please explain that part.

  • @sandroneymar5368
    @sandroneymar5368 8 місяців тому

    Would have been cool if you provide a way to download the scanned paper

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

    Thanks for the videos.. could you pls make a video on Dickey Fuller test

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

    thank you for the video

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

    If the time series is constant, by definition, that series is also stationary?

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

    Why stationarity is important? and why the non stationary data getting captured correctly by ml models but not by arima?