Cointegration and Error Correction Model in Stata

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

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

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

    Hello Everyone! Thanks a lot for your support and helping me reach +1,000 subscribers!
    ✅Please subscribe to my channel by clicking:
    ruclips.net/channel/UC5P21WGFO4WRUlAiGLcwymg
    ✅ Download the Dataset and/or Buy the DO File at:
    jdeconomicstore.com/b/cointegration-stata
    ✅Visit my website for all my content:
    www.jdeconomics.com/
    Thanks a lot for all your support and positive Feedback!
    Good luck on your research and courses!
    JDEconomics

  • @SanaUllah-e7p
    @SanaUllah-e7p 10 месяцев назад +1

    Great job on this explanation! I'd love to see more videos diving into panel data analysis and other co-integration techniques like ARDL, CRDF etc. Your clear explanations really make complex topics easier to understand. Looking forward to more content like this!

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

      Thanks a lot! Please feel free to subscribe to my channel and share it with your friends/social network. I wish you good luck in your studies/work!

  • @linaabdelfatah8855
    @linaabdelfatah8855 3 года назад +8

    Brilliant way of walking the audience through theory and empirics!
    Can you please post a video on VECM in STATA using a multivariate model? it would be massively helpful! thanks so much :)

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

      Thanks for your feedback! Will consider it for coming videos. Best regards, JDEc

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

      @@JDEconomics I join the request for material on VECM. Thank you for this one -- well-explained theoretical part.

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

    Thank you very much for the description of the relevant technics which i am using in my study.

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

      I am glad it helped you! Good luck!

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

    Very beneficial and excellent work. Thank you so much JD Economics!

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

      Thanks a lot for your kind feedback! Good luck

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

    Thank you, @JDEconomics this video was really helpful for my understanding

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

      That’s great. Thanks for your feedback!

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

    Above all Juan I love the economic interpretation you give to your models and results this helps a lot xx

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

      Thanks for your positive feedback! Kind regards, JD

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

      @@JDEconomics Juan I have been looking for your interpretation of GMM models in STATA couldn’t locate it if you haven’t done them yet pls do many thanks xx

  • @TÔMTIÊNYÊN
    @TÔMTIÊNYÊN 11 месяцев назад +1

    Thank you, great lecturer

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

      Thanks a lot! Please feel free to subscribe to my channel and share it with your friends/social network. I wish you good luck in your studies/work!

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

    A video on Threshold Regression will be a big plus. Thank you for the effort.

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

      Thanks for your feedback! JD

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

    well explained with a good speech style. thank you

  • @benlonsdale9784
    @benlonsdale9784 7 месяцев назад +1

    Hi, what is the purpose of the noconstant bit after dfuller test and when is it appropriate to use?

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

      Hi! Including a constant in a regression model assumes that the mean of the dependent variable is stable over time. If the series wiggles around a mean of zero, it suggests that the series is already mean stationary, and including a constant might not be appropriate because it would introduce bias into the model. However, if the series starts from a value other than zero (like 10), it could indicate that a constant term should be included to account for this initial level. So, in such cases, excluding the constant with the "noconstant" option might not be appropriate.
      Regards,
      JD

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

    Thank you, JD ,very helpful for my thesis presentation

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

      Thanks! I am glad it was helpful! Regards, JD

  • @abalhassanesilahi9466
    @abalhassanesilahi9466 10 месяцев назад +1

    EXCELLENT

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

      Thanks a lot! Please feel free to subscribe to my channel and share it with your friends/social network. I wish you good luck in your studies/work!

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

    Doubt: So I am running a VECM model on 5 variables with 1 dependent variable. However, my variables are integrated of different order. What should be the way forward in this case??

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

    I love your videos so much and they have been very helpful in polishing us. I would be happy if you could do a video on Monte Carlo Simulation. Thanks

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

      Thanks a lot for your positive feedback. I will consider your video suggestion and add it to the list. Regards! JDEC.

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

    Tk you very much, I'm from IVORY COAST in West AFRICA🙏🙏🙏

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

      You’re welcome! Great Ivory Coast!

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

    thank you very much JD you're really a life saver

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

      Hi! Thanks for your message. I am glad you liked the video. Feel free to share it with your friends. Best Regards, JD

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

    Hello. this is a fantastic tutorial, thank you. Question - what happens if any of the diagnostic tests are failed?

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

      No problem. Make sure to check my website, www.jdeconomics.com
      If a test fails, will depend on the type of test. You can always work it out.
      Regards

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

    Waiting for garch video 🌻, have you ever did panel data garch? I would love !

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

      Just in case you chase me everywhere, I will say I haven't done any panel data or anything else. hahahah. I will work on the Garch this weekend.

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

      @@JDEconomics ok thank you !

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

    Thanks, do a video on svar with stata

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

      Thanks for your feedback! I will take it into account for future tutorials. Regards, JD

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

    Hi. Thanks for the explanation on ECM above. My worry is, if after testing for cointegration using the Engle and Granger test above and the variables were found not to be cointegrated, would the Error Correction model still be an appropriate technique to use? If not, what would be the proper technique of analysis to use?

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

      Hi, it all depends on what you are working on. Normally you take differences of the variables and work with a var model. Or you can work with linear regression, and include some dynamics to ensure there is no autocorrelation and the blue conditions are satisfied. What methodology you use is upto you. I suggest you look in google scholar for the existing literature about your topic of interest. There is a lot of literature already which can help you. Good luck! jD

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

    Thanks J D!I am looking forward to learning a panel cointegration test in Eviews from your channel:)

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

    Dear Respected Prof! Kindly make the videos on short-run and long-run causality, and the Panel VAR causality test.

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

    Thank you for your amazing videos. Pls, the "ssc install egranger" command didn't work on my stata13, version? Furthermore, is there any other way I could do the test without command?

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

      Hi, sorry for the late reply. You should probably check the stata 13 manual. I am not sure of it. Good luck! JD

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

    Thanks

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

      My pleasure! Make sure to check my website! Www.jdeconomics.com Good luck!

  • @etbedtalksAOH
    @etbedtalksAOH 9 месяцев назад

    Thank you sir. One confusion regarding whether or not to go for cointegration. Some are saying its appropriate if we have a mixture of I(0) and I(1) variables. Or should all variables be of the same order?

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

    Thank you sir 🙏🏻 please you make explanation vecm panel data.
    Thankyou 🙏🏻

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

      Thanks for your feedback! Will add it to the list.
      Regards, JD

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

      Thanks for your feedback! Will add it to the list.
      Regards, JD

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

    Is this video related to VECM or do you have a video about evryting VECM just like in the VAR?

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

      Hi! This isn’t VEC. I haven’t posted a video about VEC yet. Regards

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

    Thanks for the video. I need the Do file please.

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

      Here is the link jdeconomicstore.com/collection/stata
      Good luck!

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

    Hi!😃One question. Should we use: egranger x y, lags() or egranger x y, no lags. Which one to use? Because frequently happens to me that using granger cointegration test with specified lags can show no cointegration between series in comparaison to egrangers like in your case, with no lags . Thank you so much.

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

      Just egranger is fine. Cheers

  • @user-wq7fg8rz7m
    @user-wq7fg8rz7m Год назад

    What does it mean when my long-run model is cointegrated, but in the short-run model my error correction term is statistically insignificant. I have a sample size of 2700 but both swilk and wntestq indicate the residuals in my error-correction model are autocorrelated and not normally distributed

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

    How can I reach the trade and cpi data you used in your video?

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

      Hi! In my website you can find the link to download the data to replicate the content. If you want to download any other data, you can try the website FRED (Federal reserve) or World data Bank or the International Monetary Fund. Regarda

  • @Ahmed-jl7uh
    @Ahmed-jl7uh 3 года назад +1

    Please make a video on ARDL

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

      Thanks for your suggestion!

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

    Cool !!

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

    what do you do if one was stationary upon the first check, do you still do cointegration?

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

      They need to be of the same order of integration. If they aren’t, you need to try another model.

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

    Thank you for this part! I have one question about exploring the relationship between series. For a bivariate analysis, can I explore the short-run relationship by VAR model and explore the long-run relationship by ECM model displayed in this video? Thanks so much !

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

      If you are working with a var models, you should use a VECM model. I will try to do a series of videos on it hopefully some time in the future. I have many tutorials to work on. But I will definitely try to cover VEC models. Regards, JD

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

    Hi,
    Please, what can I do if my eganger test of error term isn't significant? I also noticed that because of the above, both the Logged-difference of the independent variable and the lagged error term aren't significant at 5% level of significance when I regressed the dependent variable against them.

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

    Hello sir
    In the last table where you have shown the comparison between the long run and short run models there the p-values are different from the ones that you obtained earlier in the models.
    Why is it so?

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

      Hey. I could have forgotten to update the pvalues in the slides. Just make sure you fill the table with the pvalues from the estimated models. Rrgards

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

    How would you write out the short run model equation without a constant?

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

      You would just remove the "c" from the equation. Lmk if you have questions, regards. JD

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

    Hi sir, I just want to ask if my variables are stationary at lever 1 but not cointegrated, what should I do next? Should I use a var model in the first difference?

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

      Depends on what type of model it is. Can be a var or linear regression. Cheers

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

      @@JDEconomics thank you

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

      @@JDEconomics thank you very much for the help

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

    in min 19:14 I am not sure that is the interpretation of the coefficient? it is a first difference of a log-variable...

  • @nabilaa.vashti2602
    @nabilaa.vashti2602 3 года назад

    Hi Sir, if my variables are stationary at different levels, how is the command if I input ECT?

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

      Hi, to use this type of models, you need the variables to be of the same order of integration. Regards, JD

    • @nabilaa.vashti2602
      @nabilaa.vashti2602 3 года назад

      @@JDEconomics Oh I see, so I can choose between I(0) or I(1) to regress it with ECT?

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

      @@nabilaa.vashti2602 If your variables are I(0), you can just estimate a normal linear regression. If your variables are I(1) and you confirm there is cointegration, you can estimate the short run model with the error correction term. If your variables are different order of integration, you can't use this model. Hope that helps to clarify your doubts, Regards, JD

  • @mrmarwayosiayakobo5209
    @mrmarwayosiayakobo5209 9 месяцев назад

    what if your residual is not significant?, how are we going to make residual significant?

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

      In such case the variables are not cointegrated.

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

    with panel data?

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

      I don’t have videos about panel data. But I should

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

      "But do you have any hints to do it with panel data, please? I'm working on a project and I need to determine the short-term model with ECM in panel data."@@JDEconomics