Instrumental-variables regression using Stata®

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Learn how to fit instrumental-variables models for endogenous covariates in Stata using the ivregress command.
    Note that you can type db ivregress into the Command Window to open its dialog box.
    www.stata.com
    Copyright 2011-2019 StataCorp LLC. All rights reserved.

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

  • @andriikulishov3371
    @andriikulishov3371 5 лет назад +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!!

  • @anantmehta123
    @anantmehta123 8 лет назад +13

    this was really helpful, thank you.

  • @Themojii
    @Themojii 6 лет назад

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

  • @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!

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

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

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

    Woooow just what I needed! Thank you!!

  • @scarlettcrawford6366
    @scarlettcrawford6366 4 года назад

    honestly, this vid saved my life

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

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

  • @andrikos911
    @andrikos911 8 лет назад

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

  • @khiaghiekoropa-wt1gv
    @khiaghiekoropa-wt1gv 3 месяца назад

    it was very helpful, tyvm

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

    youre the man, chuck huber

  • @siegfriednaumann2118
    @siegfriednaumann2118 8 лет назад

    Very helpful and simple to understand. Thank you!

  • @DrNealeOConnor
    @DrNealeOConnor 4 года назад

    Really helpful! Thankyou very much!

  • @mohamedahmedateia
    @mohamedahmedateia 9 лет назад +1

    Thanks, Excellent Explanation !!!

  • @aaronbench3891
    @aaronbench3891 7 лет назад

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

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

    thank you!

  • @LinLin-vo2bq
    @LinLin-vo2bq 4 года назад

    very helpful indeed. thank you so much!

  • @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!

  • @Tyradx11
    @Tyradx11 8 лет назад +1

    thank you so much. You are amazing!

  • @kenwu2608
    @kenwu2608 4 года назад

    Thnx. This was pretty helpful.

  • @sureshnaik9797
    @sureshnaik9797 8 лет назад +2

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

  • @swetalahiri7536
    @swetalahiri7536 5 лет назад

    So helpful. thanks a lot!!

  • @iftrejom
    @iftrejom 6 лет назад

    Amazing! Thank you so much

  • @Lasterlastful
    @Lasterlastful 8 лет назад

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

  • @ngocle291
    @ngocle291 5 лет назад

    Thank you so much

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

    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.

  • @jlguzman88
    @jlguzman88 8 лет назад

    excellent!! thank you!!

  • @wmtejero
    @wmtejero 5 лет назад

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

  • @sanghyukcho4571
    @sanghyukcho4571 9 лет назад

    Thank you very much!!!

  • @victorquirola7277
    @victorquirola7277 6 лет назад

    Very helpful!

  • @loveechoes5662
    @loveechoes5662 3 месяца назад

    what could be done differently if education was categorical?

  • @hubertnii-aponsah8
    @hubertnii-aponsah8 7 лет назад

    Thanks. Helpful

  • @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?

  • @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

  • @sublime9525
    @sublime9525 5 лет назад

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

  • @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.

  • @nurnabi1141
    @nurnabi1141 6 лет назад

    Thanks a lot

  • @FishHRO
    @FishHRO 8 лет назад

    very useful

  • @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?

  • @gloryths
    @gloryths 8 лет назад +1

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

  • @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

  • @Aleemmuhdr
    @Aleemmuhdr 4 года назад

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

  • @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

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

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

  • @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.

  • @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!

  • @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!

  • @fahadshahization
    @fahadshahization 8 лет назад

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

  • @zerohero109
    @zerohero109 5 лет назад

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

  • @captainvirk7914
    @captainvirk7914 5 лет назад

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

  • @lionheart5078
    @lionheart5078 6 лет назад

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

  • @rahmanakbi1905
    @rahmanakbi1905 4 года назад

    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?

  • @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.

  • @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

  • @agrippamwafulirwa7771
    @agrippamwafulirwa7771 3 месяца назад

    Share link, you said it's below here

  • @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.

  • @mirasehgal8061
    @mirasehgal8061 4 года назад

    How to save 2sls regression results using outreg2?

  • @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.

  • @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?

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

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

  • @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.

  • @sunusigarba9278
    @sunusigarba9278 6 лет назад

    Please, can you provide relevant reference for this techique

  • @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

  • @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.

  • @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".

  • @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 ;)

  • @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.

  • @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.

  • @monicarizzo6579
    @monicarizzo6579 5 лет назад

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

  • @giancarloscaldasnazario9499
    @giancarloscaldasnazario9499 8 лет назад +1

    no entiendo nada!

  • @matiasbahena4617
    @matiasbahena4617 4 года назад

    Where's the link to the dataset?

    • @statacorp
      @statacorp  4 года назад

      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.

  • @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".

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

    Can you please send data please

  • @sauravdash1787
    @sauravdash1787 6 лет назад +1

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