This is great. This is very helpful for an entry-level graduate students in economics.
@miltonjomochirwa46113 жыл бұрын
Thumbs for you sir. Your materials are really helpful, especially with the dataset links you provided. You're a Genius 👏
@aizhasbeisembay2 жыл бұрын
Best video I have ever seen. Thanks Justin. Much love
@lavs86963 жыл бұрын
dude you are so amazing and thorough at explaining u have helped me so much, love u
@accountlastname11703 жыл бұрын
This was very helpful! But don't we have to check for stationarity first before using VAR? Thanks!
@tansutazegul8297 Жыл бұрын
First seasonality, then sattionarity.
@enzorodriguez95374 жыл бұрын
great video, so clear in how to use VAR packages!
@nilima.gautam3 жыл бұрын
This video is very informative, good work. Thank you for sharing
@Ddmmyy103 жыл бұрын
This video is really helpful! thanks for sharing it!
@SloppyJoeFilling2 жыл бұрын
This is really useful stuff thank you very much!
@rorydempsey80583 жыл бұрын
Anyone know why I cannot load the library(vars) package?
@JBellottS2 жыл бұрын
do you have an application for a threshold var or vecm?
@andrenovaisgoncalves75294 жыл бұрын
Thank you SO MUCH for this! You helped me a lot!
@000Requiem3 жыл бұрын
Were those series stationary??? I think a Dickey Fuller test here is missed.....
@karanwadekar33922 жыл бұрын
Hi Justin. Thanks for such an informative video. The unemployment data has a structural break in 2005(3). Since that issue has not been addressed prior to VAR modeling, I would like to know whether VAR models are not affected by the structural break
@hector51813 жыл бұрын
Hi, what happen if the unit roots are not in the circle unit? there is any way to solve it? Thanks in advance
@JustinEloriaga3 жыл бұрын
Try and check if the data is stationary. You may use various tests such as the ADF or PP tests. Alternatively, you may do log transformations.
@jhonheider96804 жыл бұрын
Hi, Justin. Hope you're fine. I'm trying to run a VAR model with financial data (return assets) as independent variables to explain the behavior of a implied volatility index according to the specific theory. To obtain the return of the assets, I need to transform the data applying the log calculus, which gives me missing data. As a strategy to overcome this problem, I just exclude the rows coitaning missing data using the command [-c(' specific rows') , ] while I'm constructing the dataset with the cbind command. The model was done, but when I try to get the information from the summary function I obtain the following message: 'summary may be unreliableError in solve.default(Sigma)'. This problem doesn't occur when I exclude only one row from the transformed data (e.g., a return asset with one lag specification); Could you help me, please? Thank you so much.
@ouamboceline31564 жыл бұрын
earlier in the comment you said we could just add the variable when we run the cbind command if we have more than 2 variables, To add to this question what if one of the multiple variables is not in a percentage form. half of my variables are rates of returns and the other half are all different; example kilowatts for electricity, barrel for oil. what will you recommend I do?
@1adamc34 жыл бұрын
Great video, very clear!
@nickomanu3 жыл бұрын
Hello, thank you very much for your videos, they're extremely useful! May I ask you a question, how do you choose "lag.max" in optimal lag selection. For example what is appropriate "lag.max" for a weekly data?
@asmafiaz65903 жыл бұрын
hello, Justin, it is a very helpful video thank you a lot. but kindly can you help in modeling the Markov regime-switching var model too.
@lindayang90944 жыл бұрын
Hi Justin thank you for the video! Is there a reason why you chose 'const' for the type (instead of 'none', 'trend', or 'both')? I receive desirable results when the type is 'none' and was wondering if a VAR model is viable with a 'none' type (aka no intercept)? I get different optimal lags when changing this type value from 'const' to 'none' and was curious on which one to use to select the lag. Thanks again!
@JustinEloriaga4 жыл бұрын
Hi. No particular reason. It is fine if the type is none. It just means that there was no model intercept in the model which is normal in most cases.
@estaykylyshbek83473 жыл бұрын
Great video! Could you please explain why the results are not significant? The P-values are quite big numbers.
@sadhanasingh89832 жыл бұрын
Sir kindly share the commands
@nadyayuniar94653 жыл бұрын
Hello, sir. Is it for multivariate time series? If it is yes, in this video, you use acf and pacf to check stationary of the data. But in some papers, to check the stationary in multivariate time series cases, we need to check it with mccf and mpccf. Which the right one that I need to follow? Thank in advance🙏
@christopherlefevre79274 жыл бұрын
Hi Justin, do you by any chance know what to do when I get this error after the 'summary()' : Error in solve.default(Sigma) : Lapack routine dgesv: system is exactly singular: U[5,5] = 0 ?
@JustinEloriaga4 жыл бұрын
Hi! It may be that the VAR system you specified is not solvable. As a remedial measure, might I suggest getting the natural log of the variables or differencing it. This may solve the problem! Cheers!
@christopherlefevre79274 жыл бұрын
@@JustinEloriaga Thanks for your answer, my variables are already in the form of returns though :/
@ivanartmarbas91824 жыл бұрын
Great video Justin! Thank you. Just need to ask, since the VAR model includes lags of the same variables, should we also check for multicollinearity? And if multicollinearity is present, how should we proceed with the estimation? Thank you!
@JustinEloriaga4 жыл бұрын
Thank you for your comment. Regarding multicollinearity, yes potentially, however, the presence of multicollinearity merely inflates standard errors and doesn't necessarily lead to biased estimates. The inclusion of lags more likely induces autocorrelation which is more commonly tested for. Hope this helps, thanks!
@ivanartmarbas91824 жыл бұрын
@@JustinEloriaga , thank you for the reply!
@grazianodicapua73803 жыл бұрын
Very good video! Did you do one with multivariate VAR model? Thanks
@yudistiraeltonjhon96953 жыл бұрын
in simple graph, can I use more than 2 variables in one graph?
@JustinEloriaga3 жыл бұрын
Yes, that is possible
@alisarnakour745110 ай бұрын
Hello! I really need an answer asap, did you create this data by yourself or did you get it somewhere else?
@takundachibaya80424 жыл бұрын
Thank you very much. may I have the link to the second video on forecasting and model diagnostics
@JustinEloriaga4 жыл бұрын
Hi! The link is this one: kzbin.info/www/bejne/i4q1d4yNg92LasU
@conox5554 жыл бұрын
@@JustinEloriaga in my case it links back to this video. Did I do something wrong or is there another link? Great video BTW :)
@saradehghani11534 жыл бұрын
Hi Justin thanks for sharing this helpful video. in interepretion the result of Var result we omit the insignificant variables? and How I can model the residuals of GDP in var?
@JustinEloriaga4 жыл бұрын
Hi, thanks for your comment. In general, we interpret the applications of VAR (i.e. IRFs, FEVDs, and forecasts) more than the actual order and we can see their significance based on the results being significantly different from zero. In terms of modeling the residuals, I believe there are options for that. Hope this helps.
@saradehghani11534 жыл бұрын
@@JustinEloriaga I appreciate your response
@IZE854 жыл бұрын
great video!
@dennismalit43954 жыл бұрын
Thank you so Much. This was really helpfull.
@masoumehsolgi79744 жыл бұрын
hi,thank you for video,but i do not know this is my problem or it is some thing general,the screnn and codes are so much unclear and small.unfortunately i could not recognise some of them .
@JustinEloriaga4 жыл бұрын
Hi! You may refer to the list of codes found in the link in the description box below. Thank you!
@masoumehsolgi79744 жыл бұрын
thank you so much for your reply ,there is code for SVAR but i could not find any for VAR,may i ask you check it please?
@florinaliu39793 жыл бұрын
Congradulation for a wonderful explanation. My question is: if my data are non-stationary , can i perform the VAR model? Or i should tranform them first.
@bignoob1470 Жыл бұрын
no
@makotoinoue26143 жыл бұрын
Thank you sir!
@thetruthsreality3 жыл бұрын
Very helpful video :) thanks. Errors are shown during coding as not all the packages are included in the demo, as fpp2 and fpp3 for autoplot. (a beginner comment)
@thetruthsreality3 жыл бұрын
or need of packages astsa, vars, etc. Anyway it after searching the errors we could go on.... :)
@ForsakenPrayers4 жыл бұрын
Great video. Curious what IDE you're using?
@JustinEloriaga4 жыл бұрын
Hi! Thanks for your comment. This is RStudio with a dark theme. Hope this helps
@ForsakenPrayers4 жыл бұрын
@@JustinEloriaga Much appreciated
@christopherlefevre79274 жыл бұрын
Thanks a lot mate, I'm new to this and you're making it really clear ! I was wondering, how does this work if I have more than 2 variables ?
@JustinEloriaga4 жыл бұрын
Just add the variable when you run the cbind command and you're good to go. Hope this helps!
@christopherlefevre79274 жыл бұрын
Ok great !
@renatatsoi45464 жыл бұрын
Hello Justin, it's a great idea to share your knowledge and skills with us. I really appreciate it and I think other people too! And I want to ask you a question. My question is not related to this video lesson, but I try to find any information... I need to build a Time-varying VAR model (TV VAR) for my research, but I can't find information or tutorial about how to build this model. If you are familiar with TV VAR, can you send me please a link for some paper or tutorial about this model or just briefly explain to me. Thank you for your attention!