Time Series Talk : Moving Average Model

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

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

  • @yassineaffif5911
    @yassineaffif5911 4 ปีที่แล้ว +57

    i wish my professor had explained it exactly like u just did

  • @lexparsimoniae2107
    @lexparsimoniae2107 5 ปีที่แล้ว +26

    Thank you very much for making a vague concept so clear.

  • @chiquita_dave
    @chiquita_dave 4 ปีที่แล้ว +20

    This was extremely helpful!! Between my 3 econometrics textbooks (Griffiths, Greene, and Wooldridge), the information on MA models was sparse. This really cleared up the mindset behind this model!

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

    Never seen a better explanation of MA models. Immediate subscription!

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

      Same here! I knew I would suscribe after 1 minute in the video. Very clear and very useful video. Thank you very much.

  • @vinayak_kul
    @vinayak_kul 8 หลายเดือนก่อน +2

    Oh damm!! this is wonderful, Simplified and explained pretty nicely. Keep spreading you knowledge!!

    • @ritvikmath
      @ritvikmath  8 หลายเดือนก่อน +1

      Thank you! Will do!

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

    Thank you so much for explaining this so well! My professor and textbook explain this concept very mathematically which is hard to understand for beginners, they should really give a simple example and then dive into the details as you did.

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

      Glad it helped!

  • @chenwatermelon5478
    @chenwatermelon5478 4 ปีที่แล้ว +8

    I was stuck where is the “error" term coming from. Now I know... it is the error from the past. You explained! I wish you were my professor.

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

    This men's explanation is way better than those profs at University.

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

    God Bless You! I needed a fast way to get some concepts on time series forecasting and you saved me.
    Easy, Fast, Complete.

  • @m.raedallulu4166
    @m.raedallulu4166 2 ปีที่แล้ว +1

    I really don't know how to thank you for that great demonstration! I've been trying to understand MA process for years!

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

    This was the best video on MA. The crazy prof made our life easier 😂😂😂

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

    Wow! Great explanation. The professor´s example was very intuitive. Thanks for the content!

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

    Thank you Sir. You have a great way of explaining things, something I sadly rarely find from my coding/statistics teachers.

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

    You are spectacularly GOOD in the explanation of the ARIMA! Cheers

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

      I appreciate that!

  • @rachelzhang9691
    @rachelzhang9691 4 ปีที่แล้ว +5

    Thank you so much for making this fun video! Makes so much more sense now (after struggling through my not-so-crazy professor's stats class)

  • @akrovil06
    @akrovil06 3 หลายเดือนก่อน

    Couldn't be expressed so handsomely! Thanks!

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

    So simple yet easy to understand. Thank you!

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

    Thank you so much for your very intelligent explanation to this model!!! i felt so confused about this model before.

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

    This explanation gives better understanding why do we need avoid unit root in Time Series predictions

  • @wycliffebosire4114
    @wycliffebosire4114 5 หลายเดือนก่อน

    Thank you so much, I have been reading this concept in an Econometric book...but this is easy to comprehend

    • @ritvikmath
      @ritvikmath  5 หลายเดือนก่อน

      Glad it was helpful!

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

    Great explanation! I've learned everything that I looked for. Thank you.

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

    a year trying to understand this, and I ve just needed 15 minutes thx!!

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

    I was terrified for the mathematical symbols, but you made it so easy to understand! thank you!

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

    ALWAYS GRATEFUL, THANK YOU FOR THE WONDERFUL CONTENT

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

    Fantastic, got too caught up in the math in my macroeconometrics course and had no idea what these things actually were. Super helpful conceptually

  • @patricktmg4372
    @patricktmg4372 5 ปีที่แล้ว

    Finally ❤️ a video with an applicable and relevant example ❤️🙏

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

    Simple Explanation is a Talent - Thanks for this

  • @lima073
    @lima073 2 ปีที่แล้ว +1

    Simple and clear explanation, thank you !

  • @deveshyadav9451
    @deveshyadav9451 2 หลายเดือนก่อน

    Thanks for existing in this world bro.

    • @ritvikmath
      @ritvikmath  2 หลายเดือนก่อน

      So nice of you

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

    Finally understood this, thank you so much. Highly recommend!

  • @gemini_537
    @gemini_537 5 หลายเดือนก่อน

    Gemini 1.5 Pro: This video is about moving average model in time series analysis. The speaker uses a cupcake example to explain the concept.
    The moving average model is a statistical method used to forecast future values based on past values. It is a technique commonly used in time series analysis.
    The basic idea of the moving average model is to take an average of the past observations. This average is then used as the forecast for the next period. There are different variations of moving average models, and the speaker introduces the concept with moving average one (MA1) model.
    In the video, a grad student is used as an example. The grad student needs to bring cupcakes to a professor's dinner party every month. The number of cupcakes the grad student should bring is the forecast. The professor is known to be crazy and will tell the grad student how many cupcakes he thinks were wrong each month. This is the error term.
    The moving average model is used to adjust the number of cupcakes the grad student brings based on the error term from the previous month. The coefficient is a weight given to the error term. In the example, the coefficient is 0.5, meaning the grad student will adjust the number of cupcakes he brings by half of the error term from the previous month.
    For example, if the grad student brings 10 cupcakes in the first month, and the professor says the grad student brought 2 too many, then the grad student will bring 9 cupcakes in the second month (10 cupcakes - 0.5*2 error term).
    The video shows how the moving average model works through a table and graph. The speaker also mentions that there are other variations of moving average models, such as moving average two (MA2) model, which would take into account the error terms from two previous months.

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

    OMG, this is brilliant , amazing ,wonderful ,thank you

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

    Manyt thanks for your clear explanation of the mathematical moving average formula

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

    Explained with the Cup Cakes it makes perfect sense, thumbs up!

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

    Exceptionally useful videos for actuarial exams. Thanks for helping me pass🙂(hopefully)

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

    Nice example super easy to understand the concept!

  • @shaporovanatalia6805
    @shaporovanatalia6805 3 หลายเดือนก่อน

    perfect explanation. Thank you!

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

    I love this video, so simple but effective

  • @wolfgangi
    @wolfgangi 4 ปีที่แล้ว +12

    I still don't think this makes sense to me why is incorporating past error somehow gives us better prediction in the future in this case. Since this crazy professor will randomly choose an acceptable # of cupcakes, your past error shouldn't help in better predicting in the future.

    • @vitorgfreire
      @vitorgfreire 4 ปีที่แล้ว +2

      I think the student naively believes the crazy professor will stick to his prior t-1 position (the student is unaware of the professor's craziness)

    • @jeongsungmin2023
      @jeongsungmin2023 8 หลายเดือนก่อน +4

      Everything in time series assumes that you can use past info to predict future info

    • @marzi869
      @marzi869 8 หลายเดือนก่อน +1

      Event though the professor selects a different number every time, at the end the average is stable. Assume you have a time series of images. Images, due to the unstable environment they're taken in or all other factors that manipulate images nature, are not always the same, although they are taken from the same scene. So, what is the goal here ?to find the mutual information in the images and ignore the noises. These noises are how crazy professor is , and the importance of error, which we can handle by its coefficient. By handling these factors, we can get close to recognising the mutual information. Remember, these are unsupervised models. There are no lable to rely on.

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

    Had I watched your series earlier would have saved me $3000 :(

  • @JJ-ox2mp
    @JJ-ox2mp 3 ปีที่แล้ว

    Great explanation. Keep up the good work!

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

    Let's use an example that is sligtly more natural to us -- so here's this crazy professor. :D

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

    Great video! Thanks for sharing!

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

    Thank you very much! Such a clear explanation!

  • @haiderwaseem7188
    @haiderwaseem7188 2 ปีที่แล้ว +4

    Great video. I think the calculation of the 3rd row is wrong. It should've been 9+0.5 = 9.5

  • @hakkin9787
    @hakkin9787 5 ปีที่แล้ว +1

    Thanks man. You're doing a suberb job.

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

    Does MA model assume et (lagged residuals) are pure white noise ? Mean =0, constant variance , and no autocorrelation of residuals ?

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

    How do we know what the "error" is there is if there is no "true value" given a random realization of data.

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

      the idea is that you're trying to predict the next value. you get told what the next value is by the professor. if its random then there is no signal in there & the results are still meaningless

  • @thesofakillers
    @thesofakillers 4 ปีที่แล้ว +7

    How is the average moving though? It was fixed for each prediction! Wouldn't it have to be recalculated each time for it to be moving?
    Also we didn't seem to use anything related to the error being normally distributed... is there a reason for that? why was it mentioned in the first place?

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

      Exactly right, I am also having same query, Average not moving

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

      Did you get any other source where this explained clearly

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

    LOVE IT. Thank you.

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

    Brilliant explanation, thank you!

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

    this is really helpful and so easy to understand!!!

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

    Thanks!!! Perfect explanation :)

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

    Extremely well explained

  • @erickmacias5153
    @erickmacias5153 2 ปีที่แล้ว +1

    Thanks you so much.

  • @sirabhop.s
    @sirabhop.s 3 ปีที่แล้ว

    Greatly explain!!! Thanks

  • @yvesprimeau6031
    @yvesprimeau6031 5 ปีที่แล้ว

    So not natural.. it is why you are so good in teaching

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

    Great Presentation...

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

      Glad you liked it!

  • @yuthpatirathi2719
    @yuthpatirathi2719 5 ปีที่แล้ว +1

    Amazing explanation man

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

    Excellent explanation

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

    God Bless you.

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

    how do we find the coefficient for the moving average model?

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

      Algorithms use the entire time series to get as close as possible to the true value of the coefficient (often with a maximum likelihood estimator).

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

    Amazing explaination

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

    Thank you for the video, how should we choose the 0.5 coefficient in front of the error term from last period in the regression model?

  • @barnabas4608
    @barnabas4608 4 หลายเดือนก่อน

    Fantastic!

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

    you are just amazing

  • @FlashBall-y4f
    @FlashBall-y4f 8 หลายเดือนก่อน

    thanks! Really helpful

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

    Great explanation! Third row shouldn't it be 9.5 rather than 10.5?

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

      No, 10+1/2=10.5

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

      @@wenzhang5879 Yeah, got it. Thanks

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

    Hey amazing Content Bravo !
    Can you add to that a video talking about random walk ?
    That would be great .

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

    How come some MA(1) formulas have x_t = mu + (phi1) error_t + (phi2) error_t-1..... If you predicting at time t then how would you know error at time t (error_t), why are some formulas like this?

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

    Hi, great explanation! One question, how do you guess the mu value (the average cupcake you bring) for the fist time?

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

    how is it possible you can explain this stuff so easily!

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

    Wonderful example.

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

    THANK YOU SO MUCH

  • @maydin34
    @maydin34 5 ปีที่แล้ว +2

    Perfect!

  • @oanabruntel
    @oanabruntel 2 ปีที่แล้ว +20

    You have amazing content, and it is very well explained. I love trading and thankfully I was introduced to this awesome trader Brian Branum. He has a trading system that is truly splendid. I enjoy good wins trading with him because he always manages my risks properly. Hence, I always receive my profits into my bitcoin wallet.

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

      Trading without a broker or even a mentor is among the surest ways to lose everything in your trading account.

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

      I would like to know this guy. At the very least, speak with him personally.

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

      If you can get me a link to speak with him, I'd greatly appreciate it.

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

      This trading strategy helps to manage losses/trades better.

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

      I am certain you will have a positive learning and trading experience with him

  • @ZakharovInvest
    @ZakharovInvest 4 ปีที่แล้ว +2

    Great videos, thank you! I have a question. Period 1 value is our mean value but we don't know what is mean since we just started from point 0. How to calculate residual then? We know the true observation and we don't know the mean. Is it just a guess? But when we use any statistical package it does not ask us to input guess mean value.

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

  • @THUYBui-dx2uc
    @THUYBui-dx2uc 5 ปีที่แล้ว

    Thank you so much for making this video. I am so frustrate to understand this concept :(

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

    Thank you❤❤❤

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

    Hi. The mean of et is not 0. For time interval 5, you need to write -1.

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

    You can see how the crazy professor gets hungrier month by month

  • @tallblondedude
    @tallblondedude 2 หลายเดือนก่อน

    damn u a real one for this

  • @Raven-bi3xn
    @Raven-bi3xn 4 ปีที่แล้ว +1

    Why in some models the prediction (f hat) is the average of the previous f values. But in some models, it is the error of the previous models that predict f hat.

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

      I have the same doubt, sometimes he added the half of the error to f ,and sometime to f-hat

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

    you are too good

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

    Really good explaination!
    Maybe I'm stupid for asking this...
    If one was to write an MA filter, how do you determine M?

  • @AyushAgarwal-YearBTechElectron
    @AyushAgarwal-YearBTechElectron 6 หลายเดือนก่อน

    If a physics student is reading this, just wanna share my intution that this is exactly like a control system . whatever error our model is getting, it is moving to cover it , little bit like PI controller in Electrical engineering :) not sure if it clicks to anyone

    • @Madosatoshist
      @Madosatoshist 4 หลายเดือนก่อน

      Or a thermostat.

  • @vivekkumarsingh9009
    @vivekkumarsingh9009 5 ปีที่แล้ว +5

    Where does the noise in the equation come from? In our data we only have time on the x axis and Y as the target variable. There is no error term. What I mean to ask is does the MA model first regress y on y lag terms like the AR model and then calculate error between the actual and predicted y terms? Then regress y against the calculated error terms(residuals)?

    • @manuelcaba2
      @manuelcaba2 4 ปีที่แล้ว +2

      The error is a white noise coming from random shocks whose distribution is iid~(0,1). Ftting the MA estimates is more complicated than it is in autoregressive models (AR models), because the lagged error terms are not observable. This means that iterative non-linear fitting procedures need to be used in place of linear least squares. Hope this helps :).

  • @ChintuPanwar-fs8eu
    @ChintuPanwar-fs8eu 8 หลายเดือนก่อน

    Well explained ❤

    • @ritvikmath
      @ritvikmath  5 หลายเดือนก่อน

      Thank you 🙂

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

    what is the difference between taking the average of first 3 values and calculating the centered average at time period 2 and this method(average+error t+ error at previous time period)

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

      What you are describing is MA smoothing, which is used to describe the trend-cycle of past data

  • @matejzadny8421
    @matejzadny8421 2 หลายเดือนก่อน

    Hello, thanks for this video, but i Wonder about \theta_0. Could it be something different than 1?

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

    THANK YOU!!

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

    This is a great explanation but in many equation they also add the current error (epsilon_t). I just don't get how are we supposed to know our current error if we are trying to forecast a value. Do we simply neglect that current equation for forecasting?

  • @whoami6821
    @whoami6821 5 ปีที่แล้ว

    thank you so much

  • @stanleychen6710
    @stanleychen6710 3 หลายเดือนก่อน

    does miu have to be a constant? can we use a rolling window to calculate the average? will this yield better predictions?

  • @ghazypheda
    @ghazypheda 9 หลายเดือนก่อน

    THANK you

    • @ritvikmath
      @ritvikmath  9 หลายเดือนก่อน

      You're welcome!

  • @GauravSharma-ui4yd
    @GauravSharma-ui4yd 5 ปีที่แล้ว +1

    Sir please make videos on restricted Boltzmann machine

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

    Perfect.

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

    Great video. Do you always start with the mean as your first guess for f hat? Also, how do you fit an MA(q) model?

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

    God-like!