What are Moving Average (MA) Models

  Рет қаралды 71,584

Aric LaBarr

Aric LaBarr

Күн бұрын

Пікірлер: 107
@VictorGoncharov-ln1dp
@VictorGoncharov-ln1dp 9 ай бұрын
I don't often leave the comments anywhere, but this video is just excellent. The best one, that builds a good intuition behind the process and that describes the process in the most simple and yet efficient way. Thank you!
@AricLaBarr
@AricLaBarr 8 ай бұрын
Glad you enjoyed it!
@xflory26x
@xflory26x 3 жыл бұрын
I have been stuck on understanding SARIMA models for months and your videos have cleared everything up, thank you!!
@AricLaBarr
@AricLaBarr 3 жыл бұрын
Happy to help!
@manjeetkuthe1717
@manjeetkuthe1717 Жыл бұрын
what to say i am short on words , impressive video , super intuitive understanding delivered in such a short video !! Please keep going , appreciate your work
@junaidmahmud2894
@junaidmahmud2894 3 жыл бұрын
You are simply amazing at explaining such complex topics. Expecting more of these from you! Thank you so much!
@szymonch6662
@szymonch6662 5 ай бұрын
Video from 4 years ago, so idk if you read it man, but just so you know, I sincerely consider you a genuinely wonderful person for doing this series
@AricLaBarr
@AricLaBarr 5 ай бұрын
I do try to still check comments. Thank you for the kind words!
@itohanakpasubi4511
@itohanakpasubi4511 15 күн бұрын
Seeing myself learning this in 5 minutes is still a shock Thank you❤
@AricLaBarr
@AricLaBarr 19 сағат бұрын
Happy to hear that!
@nakuldatla
@nakuldatla 3 жыл бұрын
Really appreciate your videos, literally had 2 doubts before the video. You literally mentioned that people have these 2 confusions. You are a great teacher!
@yassinewaterlaw6597
@yassinewaterlaw6597 2 жыл бұрын
What are those 2 confusions that u had ?
@violaye3785
@violaye3785 4 жыл бұрын
you are really great. I have never found any other videos like yours can explain ARMA in such an excellent way.
@SumedhB
@SumedhB 9 ай бұрын
Best channel I've seen for intuition
@AricLaBarr
@AricLaBarr 8 ай бұрын
Thank you very much!
@flowerm8737
@flowerm8737 4 жыл бұрын
Love the energy! Thanks for bringing the electricity to what I would have otherwise thought was a dry topic.
@MyMy-tv7fd
@MyMy-tv7fd 2 жыл бұрын
these are the best time series short lectures I have found on KZbin, thanks for being here
@jmc8283
@jmc8283 2 жыл бұрын
Your videos on time series are so well done. And in 5 mins! amazing. Keep it up.
@lacajanegralcn
@lacajanegralcn 4 жыл бұрын
The whole playlist was so useful! Thanks a lot
@Hersh0828
@Hersh0828 2 жыл бұрын
Great video!! stats world need more of these simple, straightforward explanations
@economicsfriendly7425
@economicsfriendly7425 3 жыл бұрын
hey your method of teaching is really good . plz upload more videos on time series analysis
@siyuhou1957
@siyuhou1957 4 жыл бұрын
Looking forward to the next video!
@germanyafricansoul8269
@germanyafricansoul8269 4 жыл бұрын
best video in youtube for MA, one really outstanding style of you that you keep it short. please do more video.
@yangfarhana3660
@yangfarhana3660 3 жыл бұрын
the concepts explained are absolutely clear!!
@Michel-df6pd
@Michel-df6pd 4 жыл бұрын
You are energic and the content is complete and relevant. Just one thing made me uncomfortable, you should speak a bit slowlier and have some pause. To let the people the time to think about and understand the concepts. But really nice videos, thank you :- )
@ryerye2660
@ryerye2660 3 жыл бұрын
Great videos! Super insightful thank you
@kaustubhgadhia8864
@kaustubhgadhia8864 3 жыл бұрын
Thanks a ton! You're a genius at explaining!!
@m.raedallulu4166
@m.raedallulu4166 2 жыл бұрын
You really deserve Nobel prize 🏆
@serniebanders536
@serniebanders536 Жыл бұрын
you're a king and my professor should learn some didactics by watching your videos
@AricLaBarr
@AricLaBarr Жыл бұрын
Everyone has different teaching styles :-), but thank you!
@leighg.7431
@leighg.7431 4 жыл бұрын
Please do more videos on stochastic series! Really good videos
@sandipprabhu
@sandipprabhu 3 жыл бұрын
Very professional, well explained videos.
@amra.haleem5175
@amra.haleem5175 2 жыл бұрын
Thank you Dr. Aric. I would like to see more videos from you. But, I also advise you to keep the videos empty from background music, as they are. It is a pitfall many content makers fall into.
@olivermohr417
@olivermohr417 3 жыл бұрын
I've read in textbooks that errors can be interpreted as difference of previous values (y_t - y_t-1) or even as difference of other time series (temperature variation in predicting lemonade demand variation). Are those interpretations wrong?
@charlie3k
@charlie3k 4 жыл бұрын
So when is that ARMA model video coming out 🥺
@AricLaBarr
@AricLaBarr 4 жыл бұрын
It has just been posted!
@ashutoshdave1
@ashutoshdave1 4 жыл бұрын
Nice video! Want a little bit more intuition as to what does lagged errors capture that is explaining Yt. Are they some hidden factors?
@AricLaBarr
@AricLaBarr 4 жыл бұрын
You can think about them that way! Once they occur, they are no longer unmeasurable. Without getting into too much of the math, they are essentially one long term effect minus some slightly less long term effect which gives us the short term effect. This actually equates to just the errors components (the only difference between the long term and slightly less long term model). Hope this helps!
@Simplypimpa
@Simplypimpa 3 жыл бұрын
Hello Aric!!! I have subscribed, excellent explanation
@Jonseyonsey
@Jonseyonsey 3 жыл бұрын
I understand that e_(t-1) is the error between actual value and the model estimate one lag in the past. But what about e_t? Is that the error between our current actual value and estimate? How can you use current estimate in the error calculation when you need to know the error calculation to come up with that estimate? Isn't that impossibly recursive?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
Every model has an e_t in it for the error of the current time period that we can never know. Even AR models have the same thing. That error is never known until after that time period is up.
@HansKrMusic
@HansKrMusic 3 жыл бұрын
thanks for the video. How can the dependence on previous errors completely disappear? The previous predicted value (t-1) depends on its preceding errors (t-2), but now we use that previous predicted value's error (t-1) to predict the next value (t) - but the previous predicted value's error is still indirectly affected by the (t-2) error... wouldn't that mean the dependency of the far-enough errors becomes marginally small, but doesn't completely disappear?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
Hey Hans! Close! So the errors from one time period to the next are random and independent from each other. We essentially assume that missing today doesn't impact how much you miss tomorrow. So those effects do last, but will disappear the further in time that we go! Remember, that our observed errors are just estimates of the "actual" errors (think theoretical things we cannot see) which have all the nice properties we need. Does this help?
@aldikurniawan878
@aldikurniawan878 4 жыл бұрын
excellent explanation! hope you make videos more often
@AricLaBarr
@AricLaBarr 4 жыл бұрын
Thank you! Trying to make more, but the job gets in the way sometimes :-)
@aldikurniawan878
@aldikurniawan878 4 жыл бұрын
@@AricLaBarr oh I get it haha
@Ibraheem_ElAnsari
@Ibraheem_ElAnsari 4 жыл бұрын
I just finished your playlist and subscribed, too bad there aren't more videos about ARIMA .. Otherwise really appreciated
@AricLaBarr
@AricLaBarr 4 жыл бұрын
They are on the way! Full time job takes up my time :-)
@aramyesayan1979
@aramyesayan1979 3 жыл бұрын
One question: for getting this model we need the values of e(t-1). So in practice how can we find e(1), e(2), etc.? Because after that we can do regression and find "w and thetta"
@AricLaBarr
@AricLaBarr 3 жыл бұрын
That's the beautiful part! Most software will take care of that for you. You don't have to create them yourself. The way the software does this is that it gives a prediction for the first time point (average for example) and now you have the first error (e(1)) and then you can use it to build a model for the second time point which gives you an error (e(2)) and it grows from there!
@aramyesayan1979
@aramyesayan1979 3 жыл бұрын
@@AricLaBarr Тhank You, but if I want to do this using Excel, I need the series of e(t), so there is way to find the values of e(t)?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
@@aramyesayan1979 Unfortunately, this is not one of those "do by hand" techniques since you have to fit a new model at each iteration to build out the best coefficients. Excel cannot really do this by default. The XLMiner package you can add to Excel can do this for you, but not base Excel. Otherwise, you will have to add a bunch of AR terms to try and account for this since AR and MA models are opposites.
@AshokKumar-lv1ef
@AshokKumar-lv1ef 4 жыл бұрын
Instead of saying that a moving average process adjusts to a forecast error, you can say that it adjusts to latest information to correct its error.
@gsm7490
@gsm7490 8 ай бұрын
An MA process seems to be kind a Noumenon, quite a tricky thing. Are there some examples of pure MA process?
@AricLaBarr
@AricLaBarr 7 ай бұрын
You are not wrong! It is hard to find pure processes of either AR or MA models because of how complicated real world data is. I have seen MA processes in things that react in a short term, but have no real long term pattern. Things like economic indices for example. Not that they don't sometimes have long term pattern, but a lot of times they can be affected by short term things and then new short term things change them. Fun fact! A simple exponential smoothing model is an MA model on a single difference.
@gsm7490
@gsm7490 7 ай бұрын
@@AricLaBarr Thank You, Aric. Both for the answer and for your videos )
@nathanzorndorf8214
@nathanzorndorf8214 2 жыл бұрын
So before you can fit a MA model, don't you need a separate model to make the predictions which result in the errors?
@AricLaBarr
@AricLaBarr 2 жыл бұрын
Not really! We do this iteratively. For example, your very first prediction of time point 2 might be just repeating time point 1. Then you have a single error to use to predict time point 3. Then you have two errors to predict time point 4, etc. This process is then iteratively optimized to find the "best" parameter to solve the MA equation. It's been shown that if you have a long time series, the original prediction/guess really doesn't impact anything. Hope this helps!
@michalkiwanuka938
@michalkiwanuka938 5 ай бұрын
3:35 So when I predict for Y_t+1, how will I know the value of error e_t+1? I need it for predicting the value of tomorrow, yet I don't know it, and it's not based on the previous errors.
@AricLaBarr
@AricLaBarr 5 ай бұрын
Happy to help! e_t+1 will never be known at t+1. That is the point of the random error. Your prediction will never be perfect because of that. You can use all he information up until then, but that e_t+1 accounts for the differences between what you predict and what actually happens.
@ankurchauhan9631
@ankurchauhan9631 2 жыл бұрын
Great lectures
@tnmyk_
@tnmyk_ Жыл бұрын
Very well explained!
@AricLaBarr
@AricLaBarr Жыл бұрын
Glad it was helpful!
@omar4901
@omar4901 4 жыл бұрын
I love this channel!!!!
@kumaratuliitd
@kumaratuliitd 3 жыл бұрын
Thanks Aric for the this awesome explanation. I've one query though in this video. You said that the solid line represent the actual value of Y, but instead shouldn't it be dotted line because it seems that Y represents the forecast and the solid line represents the Historical Actuals?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
Sorry for any confusion. Historical actuals are the solid line and the forecasts are the dashed. Y is actuals, but predicted Y would be dashed. I think the confusion might be what we are thinking of Y as, but the important piece is exactly what you got out of it as the solid line is true and dashed is predicted.
@kumaratuliitd
@kumaratuliitd 3 жыл бұрын
@@AricLaBarr Thanks Aric
@climbscience4813
@climbscience4813 9 ай бұрын
There is one thing I don't really understand: You say the error term et-1 disappears and this is what the equations at 3:48 seems to indicate. However, the prediction Yt directly depends on et-1 and since the error et directly depends your prediction, you still have the error term et-1 in Yt+1. Did I miss something?
@AricLaBarr
@AricLaBarr 8 ай бұрын
No problem at all! We can do exactly what you are saying to show that MA models are actually infinitely long AR models (just recursively plugging things in over and over like you did for a single step). The fun part is the same can be said for AR models - they are infinitely long MA models. You can almost think about it like those previous actual lags are cancelling out with each other to only leave the error term at the very end of the series.
@ribfuwa2323
@ribfuwa2323 2 жыл бұрын
thank you for the video. But, I do not know how to calculate from the data. Is this understanding correct? When using trained MA(q) model to predict time point n (n>>q). First, we predict time points from n-q to n-1 using time points from n-2q to n-q-1 by trained MA(q) model. Next, we calculate residuals between predicted and observed values(time points from n-q to n-1). Finally, We predict time point n using residuals. I thought while writing. When predicting from n-2q to n-q-1, we also need more previous predicted values. Therefore, it should be necessary to calculate previous values recursively. But, there is no predicted values to calculate the first error, it cannot be predicted?
@AricLaBarr
@AricLaBarr 2 жыл бұрын
So this is something that cannot be easily calculated by hand recursively unfortunately. For the first prediction we can use something simple like the overall average. That will give us the prediction for the first observation and therefore the residual from the first observation. Then we can build up the regression model. However, remember, the whole point of software isn't just building up the model recursively, but also optimizing the coefficients in the MA(q) model to be the "best" coefficients. In terms of predictions, the MA(q) model has a specific solution mathematically. Anything beyond q time points in the future get the prediction of the mean. That is because we run out of observations to go back and build off the error for. For example, for an MA(1) model, I can predict the next time point (t+1), but beyond that, my best guess of errors in 0 and therefore, all I am left with is the average.
@xeloreddetv
@xeloreddetv Жыл бұрын
i can't understand how is it different from AR? I mean, Y_t+1 values still depends on e_t-1 if you plug the previous equation (expressed in e_t). I have no doubt i'm wrong but what am i missing? i'm having a hard time,if you can explain it to me i would be very grateful!
@AricLaBarr
@AricLaBarr Жыл бұрын
You are correct that we still depend on things from the past, but the question is what we depend on. In AR models, we compare to previous values of Y. In MA models, we compare to previous values of error. Now, in the ARIMA model video it talks about the comparison between AR and MA models! That might help with the understanding as well.
@michalf84
@michalf84 2 жыл бұрын
great explanations thank you
@oterotube13
@oterotube13 3 жыл бұрын
Please, help me with this: if you increase the order or MA, do you have to increase the order of the AR ..? Or you just use the AR(1) errors for any order of the MA you want?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
Hey Eliezer! They are treated separately. There are signals for MA terms and for AR terms. Take a look at the ARIMA video where I talk about model selection and that can help!
@sobitregmi31
@sobitregmi31 4 жыл бұрын
Next video on random walk and mcmc method please
@SuperHddf
@SuperHddf 3 жыл бұрын
You are great. Thank you!!!
@remicazorla8123
@remicazorla8123 2 жыл бұрын
This is amazing
@carzetonao
@carzetonao 3 жыл бұрын
Appreciate for ur lectures
@abmxnq
@abmxnq 3 жыл бұрын
long live and prosper!
@maciejfen7513
@maciejfen7513 4 жыл бұрын
thank you for the video. It is very useful
@jainaproudmoore2981
@jainaproudmoore2981 3 жыл бұрын
omfg i finally understand MA processes...
@yangfarhana3660
@yangfarhana3660 3 жыл бұрын
me too, finally from this video
@IAKhan-km4ph
@IAKhan-km4ph 4 жыл бұрын
Waiting for ARIMA and seasonal ARIMA
@AricLaBarr
@AricLaBarr 4 жыл бұрын
Just posted the ARIMA one! Seasonal ARIMA is next in line!
@IAKhan-km4ph
@IAKhan-km4ph 4 жыл бұрын
@@AricLaBarr really nice.
@njwu4117
@njwu4117 3 жыл бұрын
How are the coefficients of the error terms determined? Is there any rule? Are they given arbitrarily?
@AricLaBarr
@AricLaBarr 3 жыл бұрын
All done through either maximum likelihood estimation or conditional least squares estimation. Either way, basically letting the computer find the optimal solution to get our estimates as close to the predictions as we can!
@mehradghazanfaryan640
@mehradghazanfaryan640 2 жыл бұрын
you got me at hallelujah
@manojkushwaha1857
@manojkushwaha1857 4 жыл бұрын
next is LSTM i guess :)
@fxtixa
@fxtixa 2 жыл бұрын
amazing
@AricLaBarr
@AricLaBarr Жыл бұрын
Thank you!
@Sophia-pk6rk
@Sophia-pk6rk Жыл бұрын
super useful tysm~!!
@shafaluthfia
@shafaluthfia 4 жыл бұрын
so in the MA models is it only depends on the past errors or past errors plus the current errors?
@AricLaBarr
@AricLaBarr 4 жыл бұрын
The current error really exists in all models! Every observation has some current error (unseen thing) that influences it value. Even the AR model has error in the current observation. When we talk about forecasting, we typically refer to past things that influence current observations. Hope this helps!
@shafaluthfia
@shafaluthfia 4 жыл бұрын
@@AricLaBarr thank you for the reply
@nourncm3747
@nourncm3747 2 жыл бұрын
You're good 👍
@ArunKumar-yb2jn
@ArunKumar-yb2jn Жыл бұрын
Any explanation of Statistics must be backed by numbers and demonstration using a Spreadsheet. PPTs have a nice fluff value to it and gives a false sense of understanding. I can't understand why many teachers are "theorizing" what is essentially useful only when done practically with some data.
@AricLaBarr
@AricLaBarr Жыл бұрын
We will have to agree to disagree on that one! A lot of times you have to explain a concept to someone in a quick and concise manner without the luxury of going through an example. These videos are meant to help people understand the concept quickly and concisely, not to go through an example of how to use them with software.
@spsarolkar
@spsarolkar 8 ай бұрын
What is the meaning of average in MA model?
@AricLaBarr
@AricLaBarr 4 ай бұрын
So it is definitely a little confusing of a term because it is NOT moving average smoothing where you take the average of a moving window of observations. MA models can be thought of as a weighted moving average of the past few forecast errors. I didn't name them ;-)
@wolfgangi
@wolfgangi 4 жыл бұрын
if the future error is completely random why does it even matter to incorporate past error into our model? Like shouldn't if be completely irrelevant we could just incorporate a random amount of error into our model and it would just be just as good no?
@AricLaBarr
@AricLaBarr 4 жыл бұрын
Close! Future error is completely random because we haven't observed it and we don't know where it will go. However, previous errors are observable and in time series anything that is observable in the past can be tested if it has correlation over time. In the MA model we can show that current observations are related to actual measurable errors. You can think of this as how we account for short term effects. You are correct in the intuition that errors don't last long which is why the effects don't last long either!
@anirbanchel430
@anirbanchel430 2 жыл бұрын
🙏 Sir from India...
@AricLaBarr
@AricLaBarr Жыл бұрын
Thank you!
@TheLikej
@TheLikej 11 ай бұрын
hallelujah, my errors are gone!!!
What are ARIMA Models
5:07
Aric LaBarr
Рет қаралды 59 М.
What are Autoregressive (AR) Models
5:01
Aric LaBarr
Рет қаралды 129 М.
What are ARCH & GARCH Models
5:10
Aric LaBarr
Рет қаралды 42 М.
An introduction to Moving Average Order One processes
8:08
Ben Lambert
Рет қаралды 147 М.
What are Exponential Smoothing Models
4:59
Aric LaBarr
Рет қаралды 27 М.
What is Stationarity
5:01
Aric LaBarr
Рет қаралды 79 М.
Time Series Talk : Moving Average Model
7:10
ritvikmath
Рет қаралды 196 М.
What is the Vector Autoregressive (VAR) Model
5:11
Aric LaBarr
Рет қаралды 35 М.
What is the Prophet Model
4:41
Aric LaBarr
Рет қаралды 22 М.
What is Time Series Decomposition
4:54
Aric LaBarr
Рет қаралды 58 М.
Invertibility of Time Series : Time Series Talk
9:56
ritvikmath
Рет қаралды 50 М.