Hi everyone,
I'm getting errors when I run the following code:
oaxaca y x1 x2...x10, by(caste) pooled model2(ivregress 2sls, addrhs((lninc=iv1 iv2)))
where y = dependent var, x1, x2, ...,x10 are exogenous independent variables, lninc is endogenous independent var and iv1 and iv2 are the instruments.
I am using Stata 15.1 and I got the following error message:
option / not allowed
r(198);
end of do-file
r(198);
I will be glad, if anyone can help me to fix the problem in this command.
Thanks in advance for your cooperation,
S
Related Posts with Problem in using ivregress 2sls command in oaxaca
Misspecification Tests for Fixed Effect ModelHi all, I am running a fixed effects model and I would like to check for omitted variables and/or m…
Violation of proportional hazard assumption with big sample sizeDear all, as part of my PhD I am looking at a sample of about 95,000 firms in Switzerland and I wan…
Confusion about MDSHello, I am trying to learn how to use MDS, and would like to know if there is a way to assign diff…
STATA SE 13, how to get marginsplot for all categories of dependent variable: multiply-imputed mlogit, using mimrgns commandDear STATA users, I would much appreciate your help with my analysis which goes as follows: I run …
Working with large Panels (regressions)Hi, I have a large wide panel dataset: t=804 months. N=45464 individuals. In long form, this equals…
Subscribe to:
Post Comments (Atom)
0 Response to Problem in using ivregress 2sls command in oaxaca
Post a Comment