Cointegration - Engle and Granger method in EViews

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 80

  • @sanyahsaad2132
    @sanyahsaad2132 3 года назад +6

    Thank you ..it was very well explained

    • @JDEconomics
      @JDEconomics  3 года назад

      Thanks for your feedback! I am glad to hear it was helpful. Feel free to subscribe for more videos coming!
      Kind Regards,
      JDEcon.

  • @hoangnguyenhuy2700
    @hoangnguyenhuy2700 2 года назад +3

    You are the lighthouse to my obscure thesis =)

    • @JDEconomics
      @JDEconomics  2 года назад

      Thanks for your comment! I am glad to hear that. Happy to know it has helped you. Feel free to share my channel with anyone who you think may be interested. Best Regards and good luck with your thesis!
      JD

  • @beyzanaydin4140
    @beyzanaydin4140 2 года назад +1

    You are insane. that's video amazing. it's so useful for my thesis last part. i m looking forward to tar ms var. THANK YOU VERY MUCH !!!! FROM TURKEY

    • @JDEconomics
      @JDEconomics  2 года назад +1

      Great to hear! Feel free to share my channel to others! Good luck on your thesis! JD

  • @youcefsouar580
    @youcefsouar580 3 года назад +3

    thank you so much sir for this course.

    • @JDEconomics
      @JDEconomics  3 года назад

      Thanks Youcef for your comment! I am
      Glad to hear it was useful! Feel free to subscribe to my channel for more videos and also, feel free to check my website where all the courses/videos are free and organized www.jdeconomics.com/courses/
      Regards!
      JD

  • @JDEconomics
    @JDEconomics  3 года назад +5

    Hello Everyone! Many people emailed me to publish a video about cointegration, I hope you find it useful! Thanks a lot for watching!
    ✅ You can buy for a small amount the EViews Wokfile complete explained step by step + video slides + dataset at : payhip.com/b/x9N7v
    ✅Watch Part 2: Estimating the Error Correction Model
    Link: ruclips.net/video/lvyTjcI9po4/видео.html
    ✅ Visit my website for more information about cointegration covered in the video:
    www.jdeconomics.com/cointegration-and-error-correction-model/
    ✅ Subscribe to my channel for more videos!: ruclips.net/channel/UC5P21WGFO4WRUlAiGLcwymg
    Have a great day and wish you good luck on your research and assignments.
    JD.

  • @yesandno22
    @yesandno22 3 года назад +3

    Thank you so much!

    • @JDEconomics
      @JDEconomics  3 года назад +1

      No problem! I am glad to hear it was helpful!
      Feel free to subscribe for the coming video - Error correction model. I hope to submit it soon,
      Regards,
      JD!

    • @yesandno22
      @yesandno22 3 года назад +1

      @@JDEconomics I look forward to it! please please - completing a project on it.

    • @JDEconomics
      @JDEconomics  3 года назад

      @@yesandno22 The video has been posted! Cheers

  • @ajittripathy2010
    @ajittripathy2010 6 месяцев назад +1

    Excellent.....I have also purchased your online material

    • @JDEconomics
      @JDEconomics  6 месяцев назад

      Awesome, thank you! I hope you enjoy it! Feel free to check out all my videos! Best, JD

  • @elenacostin4118
    @elenacostin4118 3 года назад +3

    Can you do a video explaining the VECM method, please? I have an exam in 2 days and it will be very helpful.

    • @JDEconomics
      @JDEconomics  3 года назад +4

      Hello Elena, thank you for your message. I will be posting error correction method and then I can plan ahead and do vecm. Unfortunately I won’t be able to do the VECM video within 2 days as it takes me a lot of time doing the slides, finding the appropriate dataset, testing, filming, editing the video, posting etc. For VECM, you need to first do the Johansen cointegration test, and if there is cointegration you can proceed with the Vecm estimation. I’m sorry I won’t be able to submit that video on time. I wish you good luck! Best Regards, JD

  • @chethaneconomics2552
    @chethaneconomics2552 Год назад +1

    Hello sir...Really, it was well explained...And I also request you to explain about Johansen Cointegration model and ARDL model.

    • @JDEconomics
      @JDEconomics  Год назад +1

      Thanks! Those will come out soon. Just subscribe and stay tuned! Cheers

  • @userhenrolwest
    @userhenrolwest 2 месяца назад

    Great and well educating video 👍
    Please, what should I do when my Engle and Granger and P. Oularis cointegration P-values are greater than 0.05 level of significance?!

  • @jacksonmwaura2926
    @jacksonmwaura2926 2 года назад +1

    Thank you very much.

    • @JDEconomics
      @JDEconomics  2 года назад

      Happy to hear you liked it! Regards, JD

  • @Alfredo03
    @Alfredo03 Год назад +1

    Hi, first of all thank you very much for the video, it helps a lot! I have a question concerning the "regression residual test table": you have mentioned that you used 2 variables so the critical values are in the first 3 rows. But don't we have 3 variables as it says "Number of variables - N+1", so the critical values in this case would be 3.47 and 3.78? Maybe i am wrong but thought it would be nice to hear ur opinion on that. Kind regards :)

  • @sabinaachinca4179
    @sabinaachinca4179 3 года назад +2

    Would you be kind enough to do a video explaining SARIMA methods?

    • @JDEconomics
      @JDEconomics  3 года назад

      Hello Sabina, thanks for your message and suggestion. I will consider it for future videos. Feel free to subscribe (if you haven’t) so you get notified of the new content. Kind Regards, JD

  • @tsatsoulisgeorge6920
    @tsatsoulisgeorge6920 2 года назад +1

    Hello Juan, incredible video as always, have you thought about doing a video on ARDL model?

    • @JDEconomics
      @JDEconomics  2 года назад +1

      Thanks for the positive feedback! And yes. I will do one about it some time. I’m hoping to start teaching python! Free software, and great results. Regards, Jd

  • @chokin78
    @chokin78 6 месяцев назад

    ALL p-values under the Engel-Granger must be under 0.05 for all variables to be cointegrated? Good vid.

  • @thejay0610
    @thejay0610 2 месяца назад

    For unit root test, how should i know whether to use intercept or intercept & trend option? One of my variables shows non-stationary at first difference in intercept but stationary when I choose intercept & trend.

    • @JDEconomics
      @JDEconomics  2 месяца назад +1

      Hi. Including an intercept means that the series is stationary around a non zero mean. Trend and intercept means its stationary around a trend. In that case you still got to detrend the series using first differences or modelling the trend. Regards

  • @oumaimabenoualia1206
    @oumaimabenoualia1206 Год назад

    We are testing the unbiased forward rate hypothesis, meaning we are testing forward rate is equal to the future spot rate (T + 30) by using ADF and co-integration. Do we need to lag the spot rate by 30 days to test the null hypothesis? Or do we only need to use the regular logs without adding lags?

  • @witnesskarume
    @witnesskarume Год назад

    Hi , first all thanks you for the video.
    I have a question,how can residual itself be stationary, and how does it relate with other variables so that to make be co-integrated.
    Please 🙏 help.

  • @hshsulaimani14
    @hshsulaimani14 Год назад

    Thank you Mr. Juan, Thank you for the video and the great effort you have been doing through your channel. I have an inquiry.
    I run the cointegration test on various economic pairs of 7 economic variables. What's weird is that I always get a high Prob. value on the Engle and Gragner test (around 0.55). Given that I only have 20 annual observations, could it be the problem? Or what am I doing wrong? how to diagnose the problem?
    Much appreciated. Thank you

    • @JDEconomics
      @JDEconomics  Год назад +2

      Hi! Yes, it could be the data frequency. Engle and granger only works with two variables at the same time. You need the Johansen test for multiple variables.

  • @nastyfrog4938
    @nastyfrog4938 Год назад +1

    Hello, may I aske you? When you test the order of integrability of the variable lm you does not select the specification trend and constant in ADF test, although the graph shows that there is a trend. Why is this so?

    • @JDEconomics
      @JDEconomics  Год назад

      Hey, just for illustration purposes. Feel free to include any specifications you may consider. (The videos would be 3 hours long if I went through every little detail). I hope that was helpful! Best wishes. JD

  • @tolgamurat6545
    @tolgamurat6545 2 года назад +1

    Hello, I have conducted the same analysis on daily data for 4 years. Data included daily % price changes of two series. When i conduct the analysis, everything is fine. So I generate residual series, I conduct ADF test and prob. of adf test is 0.000 but t-statistic value is -34.65958. What should I understand from such high value ? Thank you...

    • @JDEconomics
      @JDEconomics  2 года назад

      I’d have to see the model, but it’s just confirming it’s strongly rejecting the null hypothesis. That’s all.

  • @mohammadmahabubalam6281
    @mohammadmahabubalam6281 2 года назад +1

    Dear Juan, I used two data series govt expenditure and gov revenue (both are I(1)) to see whether they are cointegrated or not, I found they are cointegrated, but when I test cointegration after taking the log of both series, it seems that the series are not cointegrated. What could be the reason that after taking the logarithm, the series are not cointegrated?

    • @JDEconomics
      @JDEconomics  2 года назад

      That's a good question and never came across that case myself. I believe what happened is that when you applied a log transformation to your series, it got smooth in some spots where the series had some "connection" with the other series you were testing. I am not sure of the procedure for your case. Regards, JD

  • @andersng8419
    @andersng8419 Год назад

    could I ask why from the model 1, the variables are found to be stationary at I(1). But why we don't need to do first difference on the variable when running OLS to extract the residuals? can anyone answer my question?

    • @JDEconomics
      @JDEconomics  Год назад

      You use the residual test to check for long run relationship between the variables. The variables have to be in levels. Regards

  • @ashfaquegilal7542
    @ashfaquegilal7542 8 месяцев назад +1

    Hi thanks for video. Can you please send me the table

    • @JDEconomics
      @JDEconomics  8 месяцев назад

      Hi. What table? Cointegration ones? Here: www.economics.utoronto.ca/jfloyd/book/statabs.pdf

  • @cssunita3463
    @cssunita3463 2 года назад +1

    can we use three series to conduct this test

    • @JDEconomics
      @JDEconomics  6 месяцев назад

      VEC Models are for those cases.

  • @achudakhinkudachin2048
    @achudakhinkudachin2048 3 года назад +1

    Good video! but so what are the consequences of integration?

    • @JDEconomics
      @JDEconomics  3 года назад

      Hi, Thanks for your message! So as I explained in the video, the variables hold a long run relationship. If the variables didn't, then the regression would be spurious. The model in levels reflects the long run regression. In my next video I will be estimating the error correction model, which will show the short run dynamics and speed of adjustment. I trust the next video will help clarify some doubts if you still have some.
      Kind Regards,
      JD.

  • @TheViportsPYN
    @TheViportsPYN Год назад +1

    Hi Juan! I'd like to ask for your help. See, I'm trying to see if theres a relation between industrialization and inflation by using Industrial Production Index and Consumer Price Index. Both series look similar, at least for my country (Mexico). Of course I used the cointegration method, first by relying only on ADF test which accepts the null hypothesis (using the cointegration tables), and then by doing the cointegration test you showed in this video.
    The Engle - Granger test also points that there's no cointegration by giving me statistics of -1.17 and -5,7, and P values of 0.86 and 0.67.
    But just to be sure I tried with the Phillips - Ouliaris test and it gives me statistics of -3.88 and -30.01, and P values of 0.01 and 0.005, therefore, rejecting the null hyphotesis.
    So, what should I pick as 'real'? Idk a lot about this tests but I bet the Phillips - Ouliaris test is more precisely and... well, idk. What should we do in this situation?
    Have a nice week Juan!

    • @alaeberradi9384
      @alaeberradi9384 4 месяца назад

      Hello mate, too bad no one answered i had the same question. but didnt he say in the video that the ADF test is not valid?

    • @TheViportsPYN
      @TheViportsPYN 4 месяца назад

      @@alaeberradi9384 Hey pal, how is it going?
      Well, even after a year I still have no way to answer my question with a 100% of confidence, maybe because after all, this is statistics and it's all related to trends and probabilities, not 'yes/no' answers.
      I don't really remember what he said in the video about the ADF (I'm too lazy to watch it again lmao), but maybe I can help you. I remember having that question for the industrialization-inflation relation for my bachelor's degree thesis, which was divided into four chapters, being the third about econometrics.
      While it's true that the Engle-Granger and Phillips-Ouliaris tests both help us to see if there's a long run relationship, once again I tell you that I don't think there's such thing as an absolute answer for these things. Cointegration is not meant to show us if our assumptions are real or not, it is a tool that we can use to help us collect more evidence for a relationship we are assuming.
      I don't really remember the words, but Damodar N. Gujarati, in 'Basic econometric's, said something precisely in the cointegration tests like 'wheter we like it or not, causality can only be answered with philosophy'. In my case, in my thesis I had already collected information in the first and second chapter about the causality of industrialization-inflation from a lot of sources, mainly purely theoretical sources. So when we are trying cointegration tests, if we get results such as ours where there one way shows what we want to see and the other shows the opposite, I'm saying that you should just pick what is in line with your theory, and if you are in the need to show both results, go ahead and edit the second one hahaha. It's actually more usual than you think, and usually economists using econometrics, when dealing with these kind of problems, simply say something like 'while we can see there's opposite econometric evidence, theory tells us that blah blah blah...'.
      So there you are my friend. Although this might not be the answer you were looking for, I'm sure you can actually use it. And I encourage you to search that chapter about causality in Basic Econometrics by Gujarati to see that I'm not lying and this is all about, again, trends.
      Good luck!

    • @alaeberradi9384
      @alaeberradi9384 4 месяца назад

      @@TheViportsPYN This is actually helpful in a sense, in my case im trying to find a good basis for a pairs trading strategy im trying to implement. o I'm just tryingto make sure my theory works before doing further efforts

    • @TheViportsPYN
      @TheViportsPYN 4 месяца назад

      @@alaeberradi9384 Ohhh! I see. So you need something more about a personal use than a professional one. Well, what kind of strategy are you using and in what field? Like crypto, stocks, forwards…?
      I know some ideas of portfolio theory, and I don’t think you really need to use cointegration to use them if that’s what you’re dealing with. Besides, portfolio theory tells us that whatever you got into your portfolio, you’re looking for those things to have an almost 0 level of correlation which we can say is a ‘step before’ econometrics. You are looking for almost 0 correlation because you want to diversify. It’s not much related to ‘causation’.
      Once you have a bunch of, let’s say, stocks that are non correlated, you can go ahead and calculete the sharp ratio an minimum variance ratio to see where you need to put more weigh in. Finally, you simply predict using ARIMA models and see if you got a good portfolio and investing strategy!

  • @joseeduardonavarodriguez4086
    @joseeduardonavarodriguez4086 Год назад

    Hi, if I convert my all series to firts different, because all has unit root, is it correct?

    • @JDEconomics
      @JDEconomics  Год назад

      Hello Eduardo. As we have seen in the tutorial, before applying any transformations, you need to check whether the variables are cointegrated. If they are not cointegrated, you can use first differences and estimate your model as you normally would. Good luck!

  • @emmanuelsenior1191
    @emmanuelsenior1191 Год назад

    Hello sir please what can cause the THRESHOLD technic to disappear from the available technique in e-vews if one want to run a data using the threshold analysis for a number of selected countries in the ecowas region.

    • @JDEconomics
      @JDEconomics  Год назад

      Not sure.

    • @emmanuelsenior1191
      @emmanuelsenior1191 Год назад

      @@JDEconomics Thank you Sir. Please can panel data be used to run threshold analysis

  • @mohammednagdy6661
    @mohammednagdy6661 2 года назад +1

    Why the critical values from eviews are not valid?

    • @JDEconomics
      @JDEconomics  2 года назад +1

      Hi, as I explained in the video, the unit root test is performed on a regression output and not a raw series. That affects the critical values. Therefore, you have to rely on a stats table. Regards, J

  • @user-pp7qv4fz5z
    @user-pp7qv4fz5z 11 месяцев назад +1

    Data set please

    • @JDEconomics
      @JDEconomics  11 месяцев назад +1

      The dataset is here:
      www.jdeconomics.com/eviews-tutorials/cointegration-in-eviews
      Also, you can buy the slides and file at:
      jdeconomicstore.com/b/cointegration-eviews
      Regards

  • @cssunita3463
    @cssunita3463 2 года назад

    my variables are not cointegrated. what should be my next step

  • @apica1234
    @apica1234 Год назад

    Does anybody teach Bayesian time series implementation on RUclips ?

  • @solomonyemidi3203
    @solomonyemidi3203 2 года назад +1

    Boss, you are missing in action. hope all is fine?

    • @JDEconomics
      @JDEconomics  2 года назад +2

      Hey! Im still alive. Hoping to submit a video this week! Cheers

  • @ActiveezireActiveezire-pl9bm
    @ActiveezireActiveezire-pl9bm Год назад

    Transfer pricing

  • @User-12365
    @User-12365 Год назад +1

    Hi,
    Thank you for these great videos
    Is there any way I could get into contact with you (email)?
    Greetings

    • @JDEconomics
      @JDEconomics  Год назад

      Www.jdeconomics.com you can find my contact information. Regards, JD

    • @User-12365
      @User-12365 Год назад

      @@JDEconomics ok ive sent you a message

    • @User-12365
      @User-12365 Год назад

      @@JDEconomics did you get my message? Im from Germany

    • @JDEconomics
      @JDEconomics  Год назад +1

      @@User-12365 Im not sure. Please resend it

    • @User-12365
      @User-12365 Год назад

      @JD Economics I've tried to resend it. If you give me your email I can also resend it once again.