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
Tracking changes in dataset with conditionDear reader, I tracked executives across firms and retained those individual executives who were em…
xtabond2 question on large N small TI am in the process of running two different xtabond2 models, and have a question regarding the spec…
New version of xcontract (YET AGAIN) on SSCThanks yet again to Kit Baum, a new version of the xcontract package (superseding last year's versio…
How draw a number from a given vector of distribution?Hello everyone, and happy new year! I searched everywhere for an answer but could not find any, so …
Loop Panel Regression to save one coefficient and visualizeDear all, I am new to Stata and could use some help. I have a Panel-Data set where I try to analyze …
Subscribe to:
Post Comments (Atom)
0 Response to Problem in using ivregress 2sls command in oaxaca
Post a Comment