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
Interpreting control variables- percentage or percentage point?I am conducting a difference-in-difference regression where the probability of being unemployed is m…
Princeton's Event study did not generate the predicted returnHi everyone, I've gone through the Princeton event study stata coding, everything run through (I ha…
rearranging observationsDear Stata Users, I am working with data and I would like to know how to rearrange some variables. …
Program a logistics commandHey everyone, I am trying to write a program that will do logistics on different variables. Final s…
Multicollinearity in a panel regressionHello, I have downloaded data from the Barro-Lee educational attainment data set and merged this wi…
Subscribe to:
Post Comments (Atom)
0 Response to Problem in using ivregress 2sls command in oaxaca
Post a Comment