Hi everyone,
I am using Stata Version 14.2 and currently run a 2SLS Regression using the ivprobit command with a binary outcome, one continuous endogenous variable, categorical and continuos covariates and three binary instruments. Now I want to test for overidentification using the overid command., but Stata returns an error message
ivprobit clin_dia (chil_n = iv_sex iv_girl iv_twin) age i.educat i.wealth_quintile i.relig i.area, twostep first
overid
0: operator invalid
r(198);
However, when indicating the covariates to be continuous, I do not receive an error message:
ivprobit clin_dia (chil_n = iv_sex iv_girl iv_2girls iv_twin) age educat wealth_quintile relig area, twostep first
overid
Is there a possibility to test for overidentification in a model that includes categorical covariates?
I would really appreciate some help on this! Thanks a lot in advance
Felix
p.s.: this is my first post here, so I apologise in case I did not apply all the advices on posting to Statalist correctly.
Related Posts with Testing overidentification with categorical covariates
True discard of precision with roundHi all, I'm using Stata 14 and wish to round data in one of my variables to 1 dp. I shall be retaini…
Year fixed effectsHi all, I am seeking for explanation on year fixed effects, why one would need them as a control in…
Creating relative scale for two different variables for comparisonHi All, I am creating an index which investigates associations between ecological footprint (EF) an…
esttab producing wrong estimates for imputed marginsHi, Im trying to use esttab to export my margins in some imputed data and while the estimates on the…
Creating dummy variable to indicate if trend increasing or decreasingHello! I am working on a panel dataset. I want to create a dummy variable that indicates weither m…
Subscribe to:
Post Comments (Atom)
0 Response to Testing overidentification with categorical covariates
Post a Comment