Instrumental-variables regression using Stata®

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

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

  • @andriikulishov3371
    @andriikulishov3371 6 ปีที่แล้ว +2

    Chuck Huber, this is the most vivid explanation I've found. Good for my research.
    Many thanks.

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

    Thank you!! Had I not seen this, I wouldn't have been able to solve the singleton dummy variable problem I had when using ivreg2. You saved me!!

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

    thanks for this simple explanation
    what does this below notification mean?
    estat overid
    no overidentifying restrictions

  • @Themojii
    @Themojii 7 ปีที่แล้ว

    Great video. It explains important things and most importantly short. I could easily do my statistic homework with watching your video.

  • @anantmehta123
    @anantmehta123 8 ปีที่แล้ว +13

    this was really helpful, thank you.

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

    May the Lord bless you for this video!!

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

    Thank you so much for the video! The testing part is extremely useful!

  • @andrikos911
    @andrikos911 8 ปีที่แล้ว

    Excellent analysis and presentation. It really helped me. Well done.

  • @maurineocholah4806
    @maurineocholah4806 9 หลายเดือนก่อน

    Woooow just what I needed! Thank you!!

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

    Thank u for you video! this will help me a lot in my upcoming econometrics course

  • @HieuNguyen-ef3qf
    @HieuNguyen-ef3qf 8 ปีที่แล้ว +3

    Thank you for the awesome video! Could you please answer a question for me though? In my understanding, a "correctly specified" model is what we WANT in the end. Is that correct? But what happens if in practice, the p-values (for Sargan, Basmann, and Wooldridge tests) turn out to be all too small for us to not reject the null hypothesis of "correct specification?" In this case, is there any way to improve our model? Thank you again!

  • @siegfriednaumann2118
    @siegfriednaumann2118 9 ปีที่แล้ว

    Very helpful and simple to understand. Thank you!

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

    honestly, this vid saved my life

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

    Hi
    When we run 2SLS, we need to include all Control variables too under Independent Variables field? My dependent variable is RoE. My independent variable is Carbon Emission. My control variables: Many incl bank and country specific. My IV is population density.

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

    Thanks, Excellent Explanation !!!

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

    youre the man, chuck huber

  • @aaronbench3891
    @aaronbench3891 8 ปีที่แล้ว

    I usually don't comment on anything, but THANK YOU!!!

  • @LinLin-vo2bq
    @LinLin-vo2bq 5 ปีที่แล้ว

    very helpful indeed. thank you so much!

  • @TrangTran-mb4qs
    @TrangTran-mb4qs 4 ปีที่แล้ว

    Thank you for your video. I am doing on panel data, and using xtivreg with Random effects. So how can I test for endogeneity problem, validity of the IV...? there are postestimations for xtivreg2 but they use for FE, and FD. I can't use them with my RE

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

    Hi Thank you for the video very helpful. But you also advise what statistical test is used to compare the risk ratios in stir

  • @boryanadimitrova3154
    @boryanadimitrova3154 7 ปีที่แล้ว

    Thank you for the video! It is very helpful. I performed the 2sls analysis but when I ran the test for endogeneity, I found that the variables are exogenous. Does this mean I should not worry about endogeneity issues with my IVs? Thank you.

  • @sureshnaik9797
    @sureshnaik9797 8 ปีที่แล้ว +2

    thanks for nice presentation. i want know if you any video regarding GMM model please upload...

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

    Can there be made a video about the 3sls regression. It would be very helpful! Or does somebody know a site or video, in which it is explained?

  • @prof.debdatta7755
    @prof.debdatta7755 2 ปีที่แล้ว

    Thanks for the video. How would I take fixed effect in the model?

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

      You can fit fixed-effects models with instrumental variables with the *xtivreg* command. Please type *help xtivreg* to learn more about this command.

  • @khiaghiekoropa-wt1gv
    @khiaghiekoropa-wt1gv 6 หลายเดือนก่อน

    it was very helpful, tyvm

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

    Can you guide me on how to perform the "Wooldridge Test for Strict Exogeneity"..Thanks

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

    thank you so much. You are amazing!

  • @Vanessa-rx3ih
    @Vanessa-rx3ih 5 ปีที่แล้ว

    Hi, thanks for the very helpful video. I was wondering what the code is for the same tests (Durbin & Wu-Hausman as well as overidentification test) when you use probit instead of regress. I tried the same codes as in regress and it doesn't work. I also can't find these tests described in the helpfile of ivprobit or ivprobit_postestimation. Any help would be much appreciated. Thanks!

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

    Thnx. This was pretty helpful.

  • @zheliang7056
    @zheliang7056 8 ปีที่แล้ว

    Thanks for your introduction. However, when I added "svy" before ivregress, that's svy: ivregress, the options in Postestimation changed totally and I could not do the same estimation as you showed.
    So how can I do postestimation when using svy: ivregress? Thank you.

  • @davidlaport5841
    @davidlaport5841 7 ปีที่แล้ว

    What kind of regression do you use if you want to instrument two variables with different instruments for both. Can it only be done with a 3 stages ordinary least squares? And is there a good example video about it?

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

    Amazing! Thank you so much

  • @linhbui7088
    @linhbui7088 7 ปีที่แล้ว

    Hi. i have a question that how is different between 2sls and 3sls. and when we should use 3sls instead of 2sls and gmm? Thank you

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

    So helpful. thanks a lot!!

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

    thank you!

  • @arindambandyopadhyay3896
    @arindambandyopadhyay3896 9 ปีที่แล้ว

    thanks for the nice presentation...however, I am not able to run post estimation like estat endog and estat overid in STATA13...which version of STATA are you using? please help..

    • @statacorp
      @statacorp  9 ปีที่แล้ว

      ***** This video was done with Stata 13. Contact our Technical Services department if you are having issues with your copy of Stata. www.stata.com/support/tech-support/contact

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

    When testing a variable for endogeneity how do you know what variables to put in instrumental and independent

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

    Thank you very much! Hope you will also illustrate SUR and GMM

  • @jtyler05
    @jtyler05 9 ปีที่แล้ว

    im trying to do the same but i have dummy variables for GCSE ALEVEL and DEGREE (uk) rather than years of education. It keeps " must have at least as many instruments not in the regression as there are instrumented variables" but i only want to use mother and father years of education as you have done. Any chance you coould tell me what im doing wrong? thanks!

  • @jlguzman88
    @jlguzman88 9 ปีที่แล้ว

    excellent!! thank you!!

  • @fahadshahization
    @fahadshahization 8 ปีที่แล้ว

    I WILL USE (1) Random (2) Fixed and last step i will combine fixed and random effect model. please guide me

  • @sainaveenbali
    @sainaveenbali 9 ปีที่แล้ว +3

    Is the treatment same for Panel data?

    • @prippsbla89
      @prippsbla89 8 ปีที่แล้ว

      +Naveen Bali Did you get any answer on the subjuct? I have the same question...

    • @sainaveenbali
      @sainaveenbali 8 ปีที่แล้ว

      +Alexandre Pripp as the matter of fact i solved the puzzle :P

    • @prippsbla89
      @prippsbla89 8 ปีที่แล้ว

      +Naveen Bali All right, can you tell me how?

    • @nevsta4
      @nevsta4 7 ปีที่แล้ว

      Does anyone have an answer to this?

    • @Galmion
      @Galmion 7 ปีที่แล้ว

      found the solution too ;)

  • @loveechoes5662
    @loveechoes5662 5 หลายเดือนก่อน

    what could be done differently if education was categorical?

  • @Lasterlastful
    @Lasterlastful 8 ปีที่แล้ว

    Thanks, a lot!... It was so useful!

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

    How to use iv regression to estimate compulsory eduction regulation as IV?

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

    Hello sir,
    I am Rahma, 2nd year student at the Monastir University, Mahdia, Tunisia. The problem is that my database of 30 African countries from 1980 to 2017 can not be included in the STAT program. But my writing to this next command
    forvall i = 1/30 {
    var var var indep if (name countries == "i" "), maximum delay (p, q, ....)
    matrix list e (delay)
    di
    }
    the message was "no obsservations" Can you give me the correct command for this data?

  • @sanghyukcho4571
    @sanghyukcho4571 10 ปีที่แล้ว

    Thank you very much!!!

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

    But what about the fact that parents' education and wages could you correlated as well?

  • @benvu4769
    @benvu4769 9 หลายเดือนก่อน

    Hi team, I can't find the data link. Pls advise. Tks.

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

    Thank you so much

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

    how do you know which varbiales are exogen and which are endogen?

  • @hammadyousaf244
    @hammadyousaf244 8 ปีที่แล้ว +2

    How we select the instrumental variables?

    • @DanielGarcia-rq9mv
      @DanielGarcia-rq9mv 3 ปีที่แล้ว

      theory, you need to find a variable that is related to the one you believe is endogenous, but is not related to anything else in your model

  • @gharelo
    @gharelo 7 ปีที่แล้ว

    How Can we apply 2sls on two different models.
    like in first regression I want to use.
    bysort Country: regress bdr fam MTB lnTA
    this is my first stage regression for second stage I want to use another variable std as my dependent variable and use predicted value of bdr from first regression as independent variable. so second model will be like.
    bysort Country: regress shtd Predict(bdr) fam MTB lnTA lnTA2(square)
    for reference I am attaching a table from a Published Paper. Can you help me how can i solve this?

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

    Very helpful!

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

    Hi Sir, please guide how can we check endogeneity in panel data on Stata ?

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

    Hi sir
    I need your help on how to generate instrumental variables according to ivreg2h using STATA. in other words, how to generate instrumental variables from my data because I don't have external instruments. The method developed by (Lewbel, 2012). Please, you help is highly appreciated.

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

    why it includes union as instrumental variable as well? You just chose meducation feducation

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

      Wondering the same question

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

    How to save 2sls regression results using outreg2?

  • @trongkhang911
    @trongkhang911 8 ปีที่แล้ว

    Hi, I have a message after I ran the Hausman test:
    chi2 model fitted on these
    data fails to meet the asymptotic
    assumptions of the Hausman test;
    see suest for a generalized test
    What is the problems and how can I deal with it?
    Thank you.

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

    Please, can you provide relevant reference for this techique

  • @agrippamwafulirwa7771
    @agrippamwafulirwa7771 5 หลายเดือนก่อน

    Share link, you said it's below here

  • @hubertnii-aponsah8
    @hubertnii-aponsah8 7 ปีที่แล้ว

    Thanks. Helpful

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

    Please my IV is a dummy variable, how do I go about it?

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

      Contact us at tech-support@stata.com for assistance.

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

    What if the dependent variable is binary instead of continuous?

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

      In that case you should use a dependant variable model, such as logit, probit, cloglog or gompit, in case you need to incorporate instrumental variables, I would suggest an ivprobit regression model since iv logit is not possible.
      The difference with the methodology shown here is that the first stage is estimated via probit model and not OLS, and that the coefficients obtained in the second stage are not interpretable directly so we use marginal effects.

  • @FishHRO
    @FishHRO 8 ปีที่แล้ว

    very useful

  • @heaven255h
    @heaven255h 7 ปีที่แล้ว

    thank you for your video.
    btw i can not find the link for the data download

    • @repale13
      @repale13 7 ปีที่แล้ว

      Try command "webuse educwages".

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

    I can't find the link, please, can you help me?

  • @nurnabi1141
    @nurnabi1141 7 ปีที่แล้ว

    Thanks a lot

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

    Hello all, Am failing to get this link of the data set someone help please

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

      If you are connected to the Internet, type *webuse educwages* in Stata's Command window. If you are still having issues, contact tech-support@stata.com and someone will be able to assist you.

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

    Hey! Thank you for this video, it is very helpful. I still have a question, is it possible to do a ivregression 2sls with 4 endogeneous variables and just one instrumental variable. I want to use one instrumental variable for all my endogeneous variables. I hope you can help me out. Thanks :)

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

      Yes, you can. In that case, the model is called under-identified but be careful of endogeneity among the variables you're going to estimate via IV.

  • @martinaassereto6736
    @martinaassereto6736 8 ปีที่แล้ว

    is the link to the data not available anymore?

    • @martinaassereto6736
      @martinaassereto6736 8 ปีที่แล้ว

      got it, thanks

    • @shona7017
      @shona7017 7 ปีที่แล้ว

      Hi, I can't find the link too, do you know where I can get it please?

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

      Try command "webuse educwages".

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

    Where's the link to the dataset?

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

      You can type *webuse educwages,
      clear* to load this dataset. Chuck loaded a local copy of this dataset by typing *use* , but it is the same dataset that is available from the Stata website.

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

    Can you please send data please

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

    no entiendo nada!

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

    Without any background discussion just showing use of Stata doesn't make anything interesting.

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

    Really helpful! Thankyou very much!