Тёмный

AR Model Code Example : Time Series Talk 

ritvikmath
Подписаться 168 тыс.
Просмотров 58 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@ChungXlan
@ChungXlan 2 года назад
I started learning about time series by myself as an adult about 4 years ago. Bought books from amazon but never truly understand the concept behind it, most books just list a bunch of formula. But after watching many of your videos, I realised it is the way of teaching that make things difficult. Sir, you are an exceptional teacher. I truly believe you will excel in all of your future endeavours. I hope the channel will keep running for as long as possible, and many others including myself will be able to learn from you. Thank you so much!
@rawabih4026
@rawabih4026 Год назад
exactly, same thing here
@nicok3345
@nicok3345 4 года назад
Many thanks for uploading these videos. They are outstanding! I really enjoyed all of your videos so far and I cannot wait to see more of your videos. I would love to see something about ARMAX (and the insertion of exogenous variables into the models in general) and maybe something more about the probabilistic/confidence of the predictions.
@prisiv
@prisiv 4 года назад
Hi, just wanted to say how useful your videos are. really appreciate its both practical and has a good level of intuition/theory. looking forward to your next uploads!
@iidtxbc
@iidtxbc 6 месяцев назад
We need to recognize that some authors prioritize fame over ensuring their books are easily understood by readers. For them, the primary goal may be gaining recognition rather than ensuring their content is accessible and comprehensible to their audience.
@aayushit1513
@aayushit1513 2 года назад
Thank you so much for the content, they really help us understand these concepts better. It would be even more helpful if you could please provide links to the code in the description.
@teegnas
@teegnas 4 года назад
Was actually waiting for a video release from your Time-series playlist ... and here is one!
@teegnas
@teegnas 4 года назад
@@ulf1 well I have been following his videos for quite some time now!
@nickkoprowicz4831
@nickkoprowicz4831 4 года назад
Why didn't you have to address the seasonality before fitting the model? I thought the data had to be stationary before fitting any models?
@jacobm7026
@jacobm7026 4 года назад
That's why his predictions weren't great. He didn't address seasonality. But the point was just to show you AR models. He'll do that in future vids
@040040919
@040040919 3 года назад
Wow 50k! Well done. I remember when you had 8k followes and I was wondering why doesn't this guy get more followes?! On the right track mate. I'll write another comment when you hit 500k :)
@ritvikmath
@ritvikmath 3 года назад
haha thanks!
@sonampratikkhuntia7744
@sonampratikkhuntia7744 2 года назад
@@ritvikmath I DIDNT FIND THE CODE FOR AR MODEL
@ahmedelbechir4870
@ahmedelbechir4870 Год назад
Same
@Joe-oq2eb
@Joe-oq2eb 4 года назад
Great videos, thank you. Could you explain how you would remove the lags with a high 'P' number from the final model? Thanks again
@ivanmontenegrogomez8276
@ivanmontenegrogomez8276 3 года назад
same question. Do you know how to do it? regards
@cedrictchounkeu5219
@cedrictchounkeu5219 Год назад
thanks for the vido Once the PACF graph is drawn and we see the lags we can consider for the AR model, what code do we use to get our model done only with those lags and not those within the error zone???
@vincentnaayem
@vincentnaayem 4 года назад
You saved my semester thank you
@ritvikmath
@ritvikmath 4 года назад
Happy to help!
@yushuangluo8006
@yushuangluo8006 4 года назад
Is it possible to skip the lag 2 in the AR(3) model?
@efradgalio3178
@efradgalio3178 2 года назад
did you already got the answer? I'm curious
@hongjiang3399
@hongjiang3399 Год назад
Ritvik, really like your videos, could you share the notebook for the AR model? I cannot found it in your github link. Thank you!
@GiulianoTaddei
@GiulianoTaddei 4 года назад
In my econometrics class it was recommended to only consider lagged values within a year- since anything beyond could be due to chance
@willemhekman1788
@willemhekman1788 10 месяцев назад
But what if there is a yearly pattern? Or bi-yearly pattern? Then you'd miss that right? Doesn't make much sense to me. What was the argument?
@ronennakash4484
@ronennakash4484 3 года назад
How do you exclude the high P-Value lags? can you show the command syntax?
@efradgalio3178
@efradgalio3178 2 года назад
did you already got the answer? I'm curious
@ankitbiswas8380
@ankitbiswas8380 Год назад
@@efradgalio3178 me too
@jeeves31415
@jeeves31415 Год назад
How do you "exclude" certain lags from the tsa ARMA function - does it have a parameter for that or something? For example you determine lags 2, 4 & 5 are insignificant yet when you call ARMA(7,0) it still does all 7. Thanks
@magnus.discipulus
@magnus.discipulus Год назад
+1!
@jeeves31415
@jeeves31415 Год назад
Following up - how do we exclude particular lags from the model? At around 5:50 you determine lag 2 is not significant yet can we explicitly exclude that?
@rameshh3821
@rameshh3821 5 месяцев назад
@@jeeves31415 Hi. I found that we can drop lag2 by going ahead with AR(1,3) model. It excludes lag 2.
@SESHUNITR
@SESHUNITR 2 года назад
One question: Where exactly are we including the lags based on the threshold(0.05). I couldn't find any updated equation in the video.
@AadityaMankar-sc1ux
@AadityaMankar-sc1ux 8 дней назад
can you use the same dataset and do transformations to enhance the model
@onerandomvariable
@onerandomvariable 3 года назад
Lag 2 is not a good predictor since p-value is high. Will we just drop lag 2 and proceed with the rest of the equation as the final equation? I thought we need to re-run on just lag 1 and 3 and it will change the coefficient of the equation and then only we can use that equation. If yes, could you please tell how to run AR(3) Model and not include lag 2?
@tomislavprimorac1050
@tomislavprimorac1050 3 года назад
I've been trying to figure this out as well, but with no success
@JH-py9wf
@JH-py9wf 3 месяца назад
@@tomislavprimorac1050 To not include lag2 in the model, you'd create lag 1 and lag 3 variables manually (by shifting the original data). Then we use an ARIMAX model where p=0, q=0 and the exogenous variables are the lag1 and lag3 variables you created
@forrest715
@forrest715 7 месяцев назад
How to exclude lag 2 from the AR(3) model?
@gonzalosurribassayago4116
@gonzalosurribassayago4116 2 года назад
Hi, good video Where can I get the data set?
@programmingwithjackchew903
@programmingwithjackchew903 2 года назад
hi let say i only want to include lags 1,2,3, and 7, if I put 7 in order(7,0) will it take all lags starting from 1 to 7?
@tinyasira6132
@tinyasira6132 2 года назад
Hi can you or anyone tell me what is high n low frequency of data or obeservation?
@alteshaus3149
@alteshaus3149 3 года назад
Got a simpler way to make train and test data: train_end = int(len(df)*0.7) train_data = df.iloc[:train_end] test_data = df.iloc[train_end:] It splits the dataset into two sets, each 70% of the dataset and 30%
@MO-xi1kv
@MO-xi1kv 3 года назад
You are dealing with timeseries data with a nicely typed datetime column. In this context showing intent (which specific date you are considering for the test) I would argue is much clearer.
@justsaying8753
@justsaying8753 Год назад
Could you show how to program the final model? Please.
@srushtithorat6637
@srushtithorat6637 2 месяца назад
the lag are months or days?
@sohailhosseini2266
@sohailhosseini2266 Год назад
Thanks for sharing!
@aanandkautilya
@aanandkautilya 2 года назад
Excellent,Link to code please !
@josequinonez3079
@josequinonez3079 4 года назад
Great videos!
@luizscheuer670
@luizscheuer670 4 года назад
"Not great but not terrible". Someone watched Chernobyl.
@jongcheulkim7284
@jongcheulkim7284 2 года назад
Thank you.
@al38261
@al38261 Год назад
Many thanks!
@ritvikmath
@ritvikmath Год назад
You're welcome!
@adityaagrawal4632
@adityaagrawal4632 Год назад
can you please provide the code
@no_life_wth_leafras949
@no_life_wth_leafras949 7 месяцев назад
where the file at ?
@eric32145
@eric32145 Год назад
hey Ritivik it would be good if u could make available the python code . thanks :)
@physicsfaith
@physicsfaith 2 месяца назад
Type it out... you'll learn with all your senses not just the eye!
@realcirno1750
@realcirno1750 2 года назад
tysm bruh
@41_ahwaszargar73
@41_ahwaszargar73 2 года назад
HELLO SIR I AM A FREELANCE ENGINEER WHO MAKES MONEY BY MAKING PROJECTS BASED ON CLIENT NEEDS I WOULD LIKE TO ASK YOUR PERMISSION TO USE YOUR CONTENT AND TO USE YOUR CODE TO LEARN AND MAKE DIFFERENT PROJECTS.I WONT BE SELLING YOU CONTENT TO ANY WEBSITE
Далее
Evaluating Time Series Models : Time Series Talk
7:25
Time Series Talk : Autoregressive Model
8:54
Просмотров 331 тыс.
Miyagi & Andy panda - minor (пародия Beatrise)
0:30
What are Moving Average (MA) Models
5:01
Просмотров 69 тыс.
MA Model Code Example : Time Series Talk
8:05
Просмотров 38 тыс.
Autoregressive Models: The Yule-Walker Equations
15:11
Time Series Talk : Moving Average Model
7:10
Просмотров 192 тыс.
Coding the SARIMA Model : Time Series Talk
10:35
Просмотров 60 тыс.
Time Series Forecasting with XGBoost - Advanced Methods
22:02
What is Time Series Analysis?
7:29
Просмотров 213 тыс.