Coding ARMA Model : Time Series Talk

preview_player
Показать описание
Using ACF and PACF to determine order of the ARMA model, fitting the model, and then making predictions.

Code used in this video:
Рекомендации по теме
Комментарии
Автор

DUDE! How does this video only have 5k views... should be 500k at least!

Great explanation. Clear and Concise. 10/10.

prskis
Автор

How to build ARIMA models in Python without dates? If I'm estimating a target boats sinusoidal position in the ocean, do I wanna map milliseconds as dates 🤔, nah

tactusxii
Автор

How do you exclude the constant (with P value of 0.775)? You still used the same model (with the constant) for your predictions.

zollen
Автор

I love how you revisit and review things from the previous videos of the series, it helps me further deepen my understanding on the concepts! Great work! Keep up!

victorvassilev
Автор

Thank you for the explanation! In the video you mentioned that the ARMA(4, 1) model shouldn't contain the constant due to it being p < 0.05. Does the model.predict() automatically take this into account or do we have to specify this before using the .predict() function?

fiskloverx
Автор

Hello, in your model 15(Time Series Talk : ARMA Model), you mentioned better orders of ARMA were the the total number of strong lags in either FAC or PFAC plots. However, in this model, you only picked the first strong lag as ARMA orders. Could you please explain why you only chose the first strong instead of all of them just as in model 15? I have thought I was clear how to choose orders after watching model 15 but I am confused now after I see model 16. Thank you!

jiaw.
Автор

How can the model have access to the test data when you didn't pass it as an argument, or are you training and testing in the same dataset (and if so why??) ?

mikehawk
Автор

Thank you very very much. You are the best!!

serdarufukkara
Автор

This is great, I had a lot of suspicions about the statsmodel coefficient table. This is very useful and similar to my other regression model process whereby I assess multicollinearity using an ols statsmodel. Just a question of curiosity, can we include all lags to see the coefficient factor for the entire time series? What will that tell us about the model prior to building in seasonality? PS. I'm relatively new to time series and your videos are helping me massively. Thanks for that, the maths are also very clear in the other videos and easy to understand.

TrevorBundus
Автор

In this video you rejected the constant saying p-value is high. But while predicting you go ahead with the same model fit. Does the model fit by default reject all those variables whose p-value is more than 0.05? If not, I think we should somehow re-run using just those variable which passes p-value test. It would change the coefficients as well. Though, I am not sure how to do in Time series. Doing so in regression is very easy.

onerandomvariable
Автор

Where did you discard the constant term before prediction?

yushuangluo
Автор

this video is very helpful!!! thanks!! will you do more coding vids?

xinnywillwin
Автор

Thank you for making these videos, they are great! Just a quick question- if you, - or anyone else knows the answer. Which statistical forecasting technique is typically used to find the error term for the MA part of the model (what does Python do...)? That is, if you are to find the error terms - I guess you first have to make predictions, then calculate the difference between the real observations and the predicted values. Previos legs (AR-model) already exists so that part is fine, but previos error terms (MA-model) do not. So how do we initially make predictions for the MA-model? Thanks so much for any help or comments in advance :)

NARFkarriere
Автор

by applying ARMA to first diff ur basically applying ARIMA with d=1 to the time series data right

tiago.engenheiro
Автор

How should we explain this error: "The computed initial AR coefficients are not stationary
You should induce stationarity, choose a different model order, or you can
pass your own start_params."
What does it mean by coefficients are not stationary?

TheSambita
Автор

We have predicted the sales at the first difference level. How do we relate it to the actual sales of the product? What is the relevance of the ARMA if we just predict the first order difference?

ShreyasTalathi
Автор

Hi, you started with MA(1) process, but you didn't make sure that the autocorrelation is statistically significant. As a matter of fact, there are no significant autocorrelations except for lag = 12. This appears to be clearly when you use ploc_acf function from statsmodels.

OskarBienko
Автор

Thanks for the video..Is this not ARIMA because you have taken the first difference to model ?

Raaj_ML
Автор

1:20 where did u define 'num_lags'

PratapOO
Автор

I notice you have an Australian accent, is that correct?

ontherock