(Stata13): How to Estimate Two-Step Difference GMM

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 185

  • @CrunchEconometrix
    @CrunchEconometrix  6 ปีที่แล้ว +5

    Beloved guest/subscriber, you have discovered my amazing TH-cam Channel tailored specifically for you and other beginners and intermediate users. Please do not keep me to yourself (lol). Kindly share my videos and links with your students, colleagues and academic community so that they too can SUBSCRIBE and learn with ease….and for the global community to be aware that applied econometrics can be simplified. My teaching approach is very practical. I adopt a do-as-I-do style. Many thanks to those who have supported me by telling others. Once again, CrunchEconometrix loves to teach, support my Channel with your subscription, likes, feedbacks and sharing my videos with your cohorts. Follow me on Facebook, Twitter and Reddit. Love you all, greatly!!! 

    • @martinbitsie7270
      @martinbitsie7270 5 ปีที่แล้ว

      Hi, thank you for being interested in a question, but I will be clear and precise.
      1) I would like to know what is the logic in this estimate of GMM, because I have the impression that it is a method that uses trial and error. unless I made a mistake.
      2) How to play with the variables so that they are not significant in AR (1), AR (2) and Hansen, but also for the interpretation of the variables while passing by the possibility of the student must be equal to P

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@martinbitsie7270 (1) GMM is an IV regression. It is advisable that you read those references I indicated at the end of each video to fully understand the concept of GMM; (2) watch my videos to see how different simulations can lead to different values of AR(1) and AR(2). Thanks.

    • @hllp2497
      @hllp2497 5 ปีที่แล้ว

      Bosede Ngozi Adeleye thank for your video. I am beginner for this. May I ask for your advice? How we can know which variables are exo or endo geneous. How may lag should I use? My topic is about predict stock return (y) base on financial ratio( roe , dy, roa,....)

  • @GithaigaPeterNderitu
    @GithaigaPeterNderitu 4 ปีที่แล้ว +1

    Ngozi ADELEYE
    -Ngozi ADELEYE
    Covenant University Ota Ogun State, Nigeria. I have learnt a lot from your videos. Very educative. Great stuff

  • @musambamoriaso587
    @musambamoriaso587 5 ปีที่แล้ว +1

    What great insight in GMM approach. Thank you so much Dr. Ngozi

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Thanks Zeph, for the positive feedback and remarks on my video. Deeply appreciated! May I know from where (location) you are reaching me?

  • @omergultekin9498
    @omergultekin9498 2 ปีที่แล้ว +1

    Thank you Professor, it is instructive and helpful. Thanks a lot.

    • @CrunchEconometrix
      @CrunchEconometrix  2 ปีที่แล้ว +1

      Thanks, Omer for the encouraging feedback... deeply appreciated!

  • @nadianadia-ln3en
    @nadianadia-ln3en 4 ปีที่แล้ว +2

    thank you for your video. please how to recuperate residuals after xtabond2

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว +1

      Hi Nadia, thanks for the encouraging feedback. Deeply appreciated! I'm not sure if possible but you can try the "predict" command.

  • @牛牛牛-x3x
    @牛牛牛-x3x 2 หลายเดือนก่อน +1

    Thank you Professor, it is instructive and helpful. Thanks a lot. But I have a question that my result of AR(1) always is non-significant. Does this question will affect my results highly. And why does my result of AR1 is non-significant? and how to solve this question? Hope to hear from you soon, thanks a lot again

    • @CrunchEconometrix
      @CrunchEconometrix  2 หลายเดือนก่อน

      AR(1) not significant implies there's no 1st order serial correlation which is good. Interpret your results.

    • @牛牛牛-x3x
      @牛牛牛-x3x 2 หลายเดือนก่อน

      ​@@CrunchEconometrix So does this mean i can not do GMM model?

    • @CrunchEconometrix
      @CrunchEconometrix  2 หลายเดือนก่อน

      You can.

  • @yonsamuel
    @yonsamuel 2 ปีที่แล้ว +1

    very nice explanation the more I saw the videos the more i understand the Difference and system GMM... I have only one question how come the endogenous variable and the internal instrumental variable are the same

    • @CrunchEconometrix
      @CrunchEconometrix  2 ปีที่แล้ว

      Yonatan, that will be at your discretion. It's your study. Your research.

  • @rayeugene5090
    @rayeugene5090 8 หลายเดือนก่อน +1

    Great tutorial Professor. Please using first and second difference Gmm I am getting great results but my F and Prob >F does not provide any value, it’s just dot( a point). It’s there a problem with my results?

    • @CrunchEconometrix
      @CrunchEconometrix  8 หลายเดือนก่อน

      Yes, Ray something is not quite right with your results as you should have the F-statistic and corresponding pvalue. You may want to estimate the model by adjusting lags and the instruments in IV( ).

    • @rayeugene5090
      @rayeugene5090 8 หลายเดือนก่อน +1

      @@CrunchEconometrix Okay Professor. Thank you

  • @swathim8617
    @swathim8617 4 ปีที่แล้ว +1

    Dear Professor, Thank you once again for your amazing efforts
    Could you please clarify on external instruments used in your GMM model. All the external instruments (IV) used in your model is already included in the main equation, I can see only 'lntrade' as an external instrument. Please clarify and guide me on this regard. Thank you.

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Yes, Swathi. You have made the clarification. Exactly what I did. Some treat IVs differently but I chose the most used approach.

  • @TS-kd6xw
    @TS-kd6xw 3 ปีที่แล้ว +1

    Thank you for your teaching. It's helpful. I have question, in performing preliminary, besides multicol test, is gmm method require normality test?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Thanks for the positive feedback. Appreciated! Pls watch the foundation GMM video to know what's about the technique. Tx

  • @economiclibya5069
    @economiclibya5069 5 ปีที่แล้ว

    Dr. Ngozi, great the GMM approach explaining I would like to ask you about the result of hansen test p-value(0.99) in my diff estimation, how to emphasize it in my interpretation.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +1

      Any GMM result having a Hansen statistic of 0.99 should be disregarded (Roodman, 2009). Read the paper and watch my GMM videos from the beginning because I emphasized it and should what can be done in the event such occurs.

    • @economiclibya5069
      @economiclibya5069 5 ปีที่แล้ว

      @@CrunchEconometrix Thank you for your answer, N=50, T= 21 I think the obstacles here the T is it correct?

  • @JMPriver
    @JMPriver 2 ปีที่แล้ว +1

    Thanks for your lecture! I have one question. Would weakly balanced panel make any differences in the result? A set of strongly balanced panel is necessary?

    • @CrunchEconometrix
      @CrunchEconometrix  2 ปีที่แล้ว +1

      Hi Donghoon, not much difference. I use unbalanced panel most of the time.

  • @alessandroguasti5779
    @alessandroguasti5779 5 ปีที่แล้ว

    Hello, thank you very much, the whole series is very hepful and clear! I was wondering if there are some guideline rules on when one should use one step or the two step GMM. Thanks a lot for your help!

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +1

      Hi Alessandro, none. You can use either. Most times I estimate both and take that which gives the best results. May I know from where (location) you are reaching me?

    • @alessandroguasti5779
      @alessandroguasti5779 5 ปีที่แล้ว +1

      Bosede Ngozi Adeleye thanks for your answer! :) i was in Lecce italy

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +1

      @@alessandroguasti5779 Awesome Aless! I will appreciate if you can share my videos with your colleagues in Lecce...thanks!

    • @alessandroguasti5779
      @alessandroguasti5779 5 ปีที่แล้ว

      @@CrunchEconometrix I will for sure :)! I have another question that is not 100% clear from reading Roodman 2009 and other papers: does system GMM account for unobserved heterogeneity (fixed effects) or not? In other words, if I am sure I need to control for unit heterogeneity, would difference GMM be more robust than system GMM?
      thank you in advance for your help

  • @rmdrayfelix7157
    @rmdrayfelix7157 5 ปีที่แล้ว +1

    Firstly thanks for sharing your knowledge. Please, is it a must to include all explanatory variables in instrumental variable?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +1

      No, not at all.

    • @rmdrayfelix7157
      @rmdrayfelix7157 5 ปีที่แล้ว +1

      @@CrunchEconometrix thank you for replying me. I asked it since in your almost all video you included all explanatory variable in iv. Is there any criteria to help decide which explanatory and other variables should I include in instrumental variable? last question is I am a little bit worry about the fact that you used the explanatory variable in IV as a level term instead of firs difference?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +2

      @@rmdrayfelix7157 RM, you have to run different simulations to get the model that gives you the best results. Studies differ so what works in mine may not in yours. If putting all regressors as instruments fits well in your model, good for you...and if using a few of them works well, that's fine too. GMM in itself is a complex estimator. Keep it simple and run several simulations to pick the best.

  • @einsteinalbert8309
    @einsteinalbert8309 6 ปีที่แล้ว +1

    I really enjoyed this video

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      Thanks for the feedback, Einstein...deeply appreciated, kindly tell others about my Channel! 💕 😊

  • @yebouakouassi3694
    @yebouakouassi3694 6 ปีที่แล้ว +1

    Thank you for your video. It is usually said that when T

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว +1

      Thanks Yeboua for watching my video. As to your question, I have no paper to back up that assertion but it's the academic norm. No reviewer or Supervisor who knows what he or she is doing should ask for unit root test when a series has less than 10 years observation. But keep searching, maybe you'll find a paper.

  • @AlexvanZoelen
    @AlexvanZoelen 6 ปีที่แล้ว +1

    Very nice, when will you upload the sytem GMM videos?

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว +1

      Thanks Alex for the compliments. I'm currently working on the system GMM videos, i a little while, they'll be out.

    • @AlexvanZoelen
      @AlexvanZoelen 6 ปีที่แล้ว +1

      @@CrunchEconometrix Thanks! your videos are very helpful to me. :)

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว +1

      @@AlexvanZoelen Gr8! Please let others know too, I know you've helped greatly in sharing my videos....don't stop, keep sharing!!! gracias! :)

    • @AlexvanZoelen
      @AlexvanZoelen 6 ปีที่แล้ว

      @@CrunchEconometrix I will definitely recommended your channel to my fellow colleagues ! Best regards from the Netherlands

  • @oluwaseunadeoyeoyebamiji3592
    @oluwaseunadeoyeoyebamiji3592 5 ปีที่แล้ว

    Hello Dr. Adeyele, once again, I followed your previous teachings on xtabond2 and I find them really helpful. However, I am working on my dissertation whereby I have endogenous variables in my model, I noticed you did not make any example of such, I'd like to learn about how to specify these variable in my System dynamic panel model. My N=13 and my T=9. Also, I have a question about the no of instruments, no of groups or heterogeneity and no of observations, I mean must they exceed or remain bellow the no of observation or groups?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Ur query is an evidence that you didn't watch the prerequisite videos as adviced. Do so and jot some notes while doing so...and you have your answers.

    • @oluwaseunadeoyeoyebamiji3592
      @oluwaseunadeoyeoyebamiji3592 5 ปีที่แล้ว +1

      @@CrunchEconometrix Thank you very much, off I go.

  • @jyotiprakashdas4069
    @jyotiprakashdas4069 2 ปีที่แล้ว +1

    I just want to know, is there any other command or way to perform the Two-step GMM dynamic panel data model in STATA because while I am giving the xtabond2 command STATA showing unrecognize command

    • @CrunchEconometrix
      @CrunchEconometrix  2 ปีที่แล้ว

      Hi Joyti, it is unrecognized because you did not install the syntax. Type "help xtabond2" in the Command Window and follow the Stata prompts for installation. Thanks

  • @ezeugonna5017
    @ezeugonna5017 5 ปีที่แล้ว

    Prof. Thanks for this great insight into Two step GMM. I am running a GMM estimator using a panel of 81 countries over 23 years. And in line with the work my study is modeled after, i used three years average data. the result of System GMM indicate that both Sargan and Hansen test are highly significant. Pls what do i do to solve this problem of over identification instrument even after including the collapse option.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi Ugo, thanks for the positive feedback on my video, deeply appreciated. From your query, 3-year averages reduces T to about 7years? That is good. GMM procedure can be quite naughty and you may have to try different simulations: reduce regressors, reduce instruments, estimate with and w/o year dummies. Try these and see the outcomes. Also, try use the 1-step system and the difference GMMs then compare results.

    • @ezeugonna5017
      @ezeugonna5017 5 ปีที่แล้ว

      thanks very much for your response I sincerely appreciate. My understanding is that System GMM produces a better result than Difference GMM. What do you have to say about that?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@ezeugonna5017 Not quite, only in terms of number of instruments used. Both difference and system GMM yield efficient results. One of the reasons I made this GMM series is to draw attention to the relevance of difference GMM. Do a Google to see several contemporary papers on difference GMM approach.

    • @ezeugonna5017
      @ezeugonna5017 5 ปีที่แล้ว

      thanks so much Prof. Please I encountered another problem with my STATA while estimating the model. It started given this error message "Favoring space over speed. To switch, type or click on mata: mata set matafavor speed, perm.
      J(): 3900 unable to allocate real [163296,2016]
      _Explode(): - function returned error
      _ParseInsts(): - function returned error
      xtabond2_mata(): - function returned error
      : - function returned error
      r(3900);" please do you have solution to this problem

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@ezeugonna5017 Honestly no idea. Perhaps, you can re-check the syntax if it's incorrectly stated.

  • @Ocq4395
    @Ocq4395 4 ปีที่แล้ว

    Hi - thanks for your video.
    I was wondering what do you do when your regressors outnumber your instruments? This is the case for me when I introduce y* (my year dummies are 40)..

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      What is your N and T? I need to understand your data structure.

  • @mohdabdullah2088
    @mohdabdullah2088 ปีที่แล้ว +1

    Is it necessary that both sargan test and hansen test to be more than 0.05 value?
    What value of both is good for both?

    • @CrunchEconometrix
      @CrunchEconometrix  ปีที่แล้ว

      Hi Mohd, I explained this in the GMM introductory video. Kindly watch it, thanks.

  • @Vizva-vloger-india
    @Vizva-vloger-india 5 ปีที่แล้ว +1

    Ma'am, kindly share the GMM estimates for dynamic panel model using Eviews. I will be highly obliged.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi Nirmal, the reason I don't have the EViews version is because it is not straightforward. Very complicated...may I know from where (location) you are reaching me?

    • @Vizva-vloger-india
      @Vizva-vloger-india 5 ปีที่แล้ว +1

      I am research scholar at IIT Kharagpur India.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@Vizva-vloger-india Awesome Nirmal! 💕 Kindly spread the word about my videos to your students and academic community in IIT. Thanks! 💕 😊

  • @junaidhaider4395
    @junaidhaider4395 ปีที่แล้ว

    hi , correct me if i am wrong , does y* mean that we have to add every year dummy in the model like y1,y2,y3,y4,y5 ........ in our syntax

    • @CrunchEconometrix
      @CrunchEconometrix  ปีที่แล้ว

      Junaid, with y* Stata automatically includes all the year dummies (less one) into the model.

  • @asanteka.2403
    @asanteka.2403 4 ปีที่แล้ว

    Prof, A question just came to my mind while (re)listenning to this beautiful lecture of yours, What if AR(1) is not significant? but all the other yield good results that is AR(2) is not significant, p value of Hansen and Sargan too. Should the results be discarded due to poor instrumentation? must AR(1) be significant?

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Hi Asante, pay attention to AR(2) and Hansen statistic as I did throughout this GMM series.

    • @asanteka.2403
      @asanteka.2403 4 ปีที่แล้ว +1

      @@CrunchEconometrix thanks prof, always great

  • @MuhammadUmar-wi1yh
    @MuhammadUmar-wi1yh 3 ปีที่แล้ว +1

    AOA
    Madam which is P- Value of AR (2) and Hansen test in difference GMM?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Umar, if you check the result output you will see the pvalue. Thanks.

  • @mustanggemini2156
    @mustanggemini2156 4 ปีที่แล้ว

    Hi Dr, hope you are doing well. I have a question on t-statistic GMM. Assuming I want to compare 2 values of t-statistic on A and B, how should I interpret it, if A t-statistic is 2.94 and B is 1.94. Thanks again for your kind help.

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Hi Khairul, you can base your comparison on the level of statistical significance if they have the same sign.

    • @mustanggemini2156
      @mustanggemini2156 4 ปีที่แล้ว +1

      CrunchEconometrix Thank you Dr. Your enthusiastic to help and explain is really appreciated. May God bless you always.

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      You too, Sir :)

  • @supermeteora23
    @supermeteora23 3 ปีที่แล้ว +1

    Hello Professor, I have a doubt about my own analysis. I am evaluating and comparing firm value through two different equations, one with a variable for firm Risk and one without. Can I have a different set of instruments for each equation?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว +1

      Hi Vincente, you can use different set of instruments for different models.

    • @supermeteora23
      @supermeteora23 3 ปีที่แล้ว +1

      @@CrunchEconometrix thank you professor

  • @somatv257
    @somatv257 ปีที่แล้ว +1

    Thank you Madam but Ma'am how to proceed if we want to display results by country?

    • @CrunchEconometrix
      @CrunchEconometrix  ปีที่แล้ว

      Kindly watch my videos on SUB-SAMPLE ANALYSIS and incorporate the idea into the GMM model specification. Thanks.

  • @noviapanisti1991
    @noviapanisti1991 4 ปีที่แล้ว

    Hi! Thank you for your video! I find it very helpful why didn't I find it sooner?!! Anyway, I tried to open your website to get the do file but I cannot open your website. Is there any other way for me to ask for your do file? I really need help with my thesis right now. Thank you so much!

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว +1

      Hi Novia, thanks for the encouraging feedback on my videos. Deeply appreciated! 🙏 ❤️ My website is accessible cruncheconometrix.com.ng/shop/. Kindly try again.

  • @abuanas335
    @abuanas335 5 ปีที่แล้ว

    Hello,
    Thank you for your videos, they are really helpful.
    I face a problem when I implement the GMM model. My problem is that my main independent variables is omitted!! Do you have any idea what would be the problem?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Can't say exactly why that is.

    • @abuanas335
      @abuanas335 5 ปีที่แล้ว

      @@CrunchEconometrix when I remove the year dummies it works fine. Do you think it is better to remove the years dummy?
      Many Thanks

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      It's advisable to include year dummies...so you must have good explanations for excluding them when asked by a Reviewer.

  • @franciscogavidia2426
    @franciscogavidia2426 4 ปีที่แล้ว

    Hello, first I will like to thank you for your work. I am working on the effect of remittances in the four pillars of food security, I have a data panel of N=34 and T=6, I was thinking in applying GMM, since then I performed a good model for one-step system but when I applied other types of GMM estimations, the regressors (except the lag dependent variable) become not significant, why do you think this is happening? The model has 111 observations (I don't know if that is enough) and due to the missing values at the end only use 25 groups, but there are 22 instruments, the Hansen is chi^2=0.112 and AR(2) z=0.438

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Hi Francisco, thanks for reaching out. If one-step GMM give you the results you want then go for it. If you watch my videos you will see the measures involved in changing the status of coefficients.

    • @franciscogavidia2426
      @franciscogavidia2426 4 ปีที่แล้ว

      @@CrunchEconometrix Thank you so much for your answer! I have another question, what do you suggest if the coefficient of the lag dependent variable in the GMM model is higher than in pooled OLS but lower than in LSDV. I also preformed ivhettest and showed a presence of homoskedasticity (as I understand GMM is recommended when you have a presence of heteroskedasticity).

  • @AlLitu-p1q
    @AlLitu-p1q 9 หลายเดือนก่อน +1

    Professor
    I dont have any constant term in two step system gmm estimation result.
    Now what can i do?
    Is it ok if i report without constant value?

  • @nasriikram1999
    @nasriikram1999 5 ปีที่แล้ว

    thanks madame, please how to interprete THE method 3SLS of simultanous equaTions

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว +1

      Sorry Nasri, I don't have videos on 3SLS. You can do some online search on it. Thanks.

  • @rurialifia12
    @rurialifia12 5 ปีที่แล้ว

    Thank you for the video, Prof! But I wonder why xtabond2 couldnt be load to my stata. Which version of stata you use in this tutorial?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi Ruri, it's in the video title. Stata13. Have you tried installing with "ssc install xtabond2" or "findit xtabond2" or "help xtabond2". May I know from where (location) you are reaching me?

    • @rurialifia12
      @rurialifia12 5 ปีที่แล้ว

      @@CrunchEconometrix im from indonesia. No, i havent tried stata13 because mine is 14.2. Should I install the package or reinstall the apps?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@rurialifia12 Install the package. It should work.

  • @KiranSingh-vf8nc
    @KiranSingh-vf8nc 3 ปีที่แล้ว +1

    Instead of creating the year dummies, can i not just use the command i.year? Also, how do I choose between a one step or two step? should i just run one and two step models, and see which is better?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Kiran, YES to both questions.

    • @KiranSingh-vf8nc
      @KiranSingh-vf8nc 3 ปีที่แล้ว +1

      @@CrunchEconometrix thank you so much for this! your content is very highly appreciated. I shared your videos with my peers who are also doing their thesis in the pandemic and trying to learn :)

  • @aymanissa6722
    @aymanissa6722 ปีที่แล้ว +1

    Is it OK to use external instrument in GMM?!

  • @evaggeliasiopi4746
    @evaggeliasiopi4746 3 ปีที่แล้ว

    Dear Professor, my dependent variable is ROA, i want to use two dummy variables (time periods ) as predictors in the main equation and as instruments other variables, the syntax is like : xtabond2 roa l.roa S2 P2 , gmm(roa ,eq(diff) collapse ) iv (inflation l.gdp pen corr tax l.size prem ) twostep small robust. N=24, T=15.Am I doing well ? or Am I completely in the wrong direction?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Hi Eva, there are several specifications to the GMM technique. Advisable to use that which you understand its configuration. Thanks.

    • @evaggeliasiopi4746
      @evaggeliasiopi4746 3 ปีที่แล้ว

      @@CrunchEconometrix Thanks a lot dear professor. !!!!

  • @YahyaMarei
    @YahyaMarei 3 ปีที่แล้ว +1

    would it be better if you name your variables differently so we can follow the logic; for example V1 V2 V3

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Yahya, you mean you don't understand the variables used?

  • @zairaanees
    @zairaanees ปีที่แล้ว +1

    is xtdpdsys and xtabond2 different? can you refer the difference please

    • @CrunchEconometrix
      @CrunchEconometrix  ปีที่แล้ว +1

      Yes, both are different dynamic panel data techniques. You may need to read more about their differences via Stata HELP menu or PDF documentation.

    • @zairaanees
      @zairaanees ปีที่แล้ว +1

      @@CrunchEconometrix thank you

  • @deblemethomas1201
    @deblemethomas1201 6 ปีที่แล้ว +1

    Thank you Madame

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      U're welcome, Debleme...kindly tell others about my Channel. They need to know. Gracias! 💕 😊

  • @2001aunti
    @2001aunti 4 ปีที่แล้ว

    may I know why do you put year in dummies? Does it already include in your panel data when you set up xtset? Appreciate your reply

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      I explained the importance of year dummies in its dedicated video in the series. Kindly watch. Yes, time dummies are created in the dataset.

  • @DocShady65
    @DocShady65 4 ปีที่แล้ว

    Hi thank you for your explanation! I have a question. I used xtabond2 y l.y l2.y x1 x2 x3 gmm(x1 x2, collapse) noleveleq twostep. But I got omitted value in x3 Could you give me solution for this?

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Hi Yeseul, from what you specified that code is wrong. Adapt what I used and re-estimate. Please may I know from where (location) you are reaching me?

    • @DocShady65
      @DocShady65 4 ปีที่แล้ว

      @@CrunchEconometrix so I change code to xtabond2 y l.y l2.y x1 x2 x3 gmm(x1 x2,eq(diff) collapse) twostep and now I got omitted cons Could you help me how to fix it? Btw from korea😁

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Constants are sometimes omitted due to the econometric constructs in GMM

    • @DocShady65
      @DocShady65 4 ปีที่แล้ว

      @@CrunchEconometrix could you explain why constant is omitted often in difference GMM?

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Kindly read Roodman (2009, 2014) for detailed info about GMM.

  • @habibulhasan1296
    @habibulhasan1296 5 ปีที่แล้ว

    Hi Dr. Ngozi
    The do file for "Two step Difference GMM" is probably missing in the Do files list, Would you pls add that to the folder.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Yes, I didn't bother because the syntax for the Two-Step Difference GMM are minimal modifications to the One-Step Difference GMM which can be gleaned from the screen. Thanks for watching. May I know from where (location) you are reaching me?

  • @kihalbrahim424
    @kihalbrahim424 6 ปีที่แล้ว +1

    thank you

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      U're welcome, Kihal...I'll be grateful if you can help share this with your academic community and colleagues. Thanks! 💕 😊

  • @rohtashbhall2671
    @rohtashbhall2671 7 หลายเดือนก่อน +1

    Good morning mam , how we can learn these commands.

    • @CrunchEconometrix
      @CrunchEconometrix  6 หลายเดือนก่อน

      Familiarity with the techniques speeds up understanding the commands.

  • @MuhammadUmar-wi1yh
    @MuhammadUmar-wi1yh 3 ปีที่แล้ว +1

    tell me answer as quickly as possible. I also subscribed your channel.

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Umar, I have responded. Thanks for your subscription. Deeply appreciated! 😊

  • @martinbitsie7270
    @martinbitsie7270 5 ปีที่แล้ว

    thank you for your video. please why resol the mention Warning: Uncorrected two-step standard errors are unreliable after the estimation

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi Martin, please re-phrase your query. I don't quite get what you're saying.

    • @martinbitsie7270
      @martinbitsie7270 5 ปีที่แล้ว

      @@CrunchEconometrix Hi, thank you for being interested in a question, but I will be clear and precise.
      1) I would like to know what is the logic in this estimate of GMM, because I have the impression that it is a method that uses trial and error. unless I made a mistake.
      2) How to play with the variables so that they are not significant in AR (1), AR (2) and Hansen, but also for the interpretation of the variables while passing by the possibility of the student must be equal to P

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@martinbitsie7270 I have responded to this on a different thread.

    • @martinbitsie7270
      @martinbitsie7270 5 ปีที่แล้ว

      @@CrunchEconometrix hello Professor, thank you and congratulate you all for the work you do for science. I finally understood your method. But I have another concern, if I lead a study at the Aranese scale ie 54 countries, and later I would like to make an estimate on one of the regional economic communities so how am I to take when my base is made up of 54 countries? which command to execute or is there another method? Thank you in advance for your response and good luck to you.

  • @ishtiaquemahmood7815
    @ishtiaquemahmood7815 6 ปีที่แล้ว

    Hello thank you. I did not find two step GMM code yet. How can I get those codes

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      Mahmood, didn't I say all dofiles are on my website? I also displayed this info for all to see.

  • @HH-td1go
    @HH-td1go 5 ปีที่แล้ว

    thank you for your efforts can I ask why the following error appears when I apply Sys GMM :
    Favoring space over speed. To switch, type or click on mata: mata set matafavor speed, perm.
    / / / / / / invalid.r(198);
    PLEASE NEED HELP
    THANKS IN ADVANCE

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi HH, pardon my late response. You may have written the command wrongly.

  • @DoyinsolaDammy
    @DoyinsolaDammy 4 หลายเดือนก่อน +1

    Pls ma how were u able to generate ur year dummies??

    • @CrunchEconometrix
      @CrunchEconometrix  3 หลายเดือนก่อน +1

      tab year, gen(yr)

    • @DoyinsolaDammy
      @DoyinsolaDammy 3 หลายเดือนก่อน +1

      @@CrunchEconometrix thanks ma.

  • @shirazshiraz8404
    @shirazshiraz8404 4 ปีที่แล้ว

    Hi, i couldnt open your website to download the dofiles. can you tell me how can i access please?

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว

      Hi Shiraz, my website is active. Can I know the challenge you are experiencing?

    • @shirazshiraz8404
      @shirazshiraz8404 4 ปีที่แล้ว

      @@CrunchEconometrix Hi Adeleye, thanks to reply, i am learning how to estimate dynamic panel model in stata. and i wanted to download your dofile to try it in my data. but your website didnt open

  • @enkii82
    @enkii82 4 ปีที่แล้ว

    I got this "Warning: Uncorrected two-step standard errors are unreliable." for the result. how to correct it?

    • @CrunchEconometrix
      @CrunchEconometrix  4 ปีที่แล้ว +1

      You may need to play around with lags and instruments set.

  • @gonzaloriveramariscal4290
    @gonzaloriveramariscal4290 5 ปีที่แล้ว

    Hi, Ms, can you give an orientation please? I have a doubt: why when you use iv(variables), the xtabond and xtabond2 use the difference of this variables as instruments instead of levels?. I read arellano and bond (1991) and i don't find any reference, it is gonna makes me crazy.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi Gonzalo, I think it's the way the algorithms are programmed. I honestly can't say anything about it.

    • @gonzaloriveramariscal4290
      @gonzaloriveramariscal4290 5 ปีที่แล้ว +1

      @@CrunchEconometrix thank you for your soon answer. Greetings

  • @siftikhar4883
    @siftikhar4883 ปีที่แล้ว +1

    why did dummies i and 2 omitted? what if IV is omitted?

    • @CrunchEconometrix
      @CrunchEconometrix  ปีที่แล้ว

      Hi iftikhar, they were omitted by Stata due to multicollinearity. I have not encountered where an IV is omitted.

  • @muhammadusman3445
    @muhammadusman3445 5 ปีที่แล้ว

    how to find the control or predetermined variable?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      That is up to you on variables classification. You make the assumptions.

    • @muhammadusman3445
      @muhammadusman3445 5 ปีที่แล้ว

      Is these necessary to include?
      In stata 13 help menu no need to introduce th predetermined variables only time dummy work is efficiently.

  • @lemakargar6356
    @lemakargar6356 6 ปีที่แล้ว

    Dear Professor, I am trying to follow this method but i keep getting my instruments bigger than the number of groups. and also since my variables are only stationary in the first difference, so shall i be using them in the first difference as instruments?

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      Lema, I didn't perform any stationary test so I have no idea of what you intend doing. Follow my procedure.

    • @lemakargar6356
      @lemakargar6356 6 ปีที่แล้ว

      @@CrunchEconometrix yes, that's true you didn't but since my T=20 and N=30, so shall I not do unit root test?

    • @lemakargar6356
      @lemakargar6356 6 ปีที่แล้ว

      and my instruments are only reduced if I drop the year dummies. so can I do that?

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      @@lemakargar6356 You know you can't.

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      @@lemakargar6356 Yes, you should.

  • @mustaphadjaballah7089
    @mustaphadjaballah7089 6 ปีที่แล้ว

    how to run the same exemple but panel-ARDL

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      Watch all my videos on panel ARDL and you'll know what to do.

  • @dr.lailamemdani250
    @dr.lailamemdani250 5 ปีที่แล้ว

    Can you send me the link for GMM videos using E views

  • @nursenaaksunger3875
    @nursenaaksunger3875 3 ปีที่แล้ว

    Dear Prof. I run the model for diff GMM but I get missing values for F test and its' probability. While I drop the option noleveleq and use system GMM I get results for F test. What would be the reason for that?

    • @CrunchEconometrix
      @CrunchEconometrix  3 ปีที่แล้ว

      Hi Nursena, no idea. You may need to post your query on Statalist.org for more constructive feedback.

  • @lahmarhabib6559
    @lahmarhabib6559 6 ปีที่แล้ว +1

    brvoo... thanks

    • @CrunchEconometrix
      @CrunchEconometrix  6 ปีที่แล้ว

      Thanks Lahmar. Kindly share this with your academic community and colleagues! 💕 😊

  • @soufianemahjoubi5758
    @soufianemahjoubi5758 2 ปีที่แล้ว

    problem of no observation, N=24 and T=3 years (cross-section)

    • @CrunchEconometrix
      @CrunchEconometrix  2 ปีที่แล้ว

      Mahjoubi, check your data again to see if a country has 0 observations on a variable included in the specification. If there is, remove the country.

  • @johnaibinu683
    @johnaibinu683 5 ปีที่แล้ว

    sorry does anyone what it means when the Hansen test =.

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      Hi John, this evidences that one or more of your variables has so many missing observations. Check your data to know which and change them with closer proxies having more data points. Hope this helps. May I know from where (location) you are reaching me?

    • @johnaibinu683
      @johnaibinu683 5 ปีที่แล้ว

      @@CrunchEconometrix But I run the estimates already indicating if the sample==1 doesn't that take care of that issue?

    • @CrunchEconometrix
      @CrunchEconometrix  5 ปีที่แล้ว

      @@johnaibinu683 No it doesn't.

  • @economiclibya5069
    @economiclibya5069 5 ปีที่แล้ว

    Hi

  • @dimapetrukhin6451
    @dimapetrukhin6451 ปีที่แล้ว +1

    Thank you