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
How do i include the results of a no observations regression into a matrix?So my problem is that i have a dataset of 502 firms but some of them have no observations. The thing…
dataset normality issue (probit analysis)Hi all, I intending to employ simple probit, multinomial and Heckman selection model analysis to id…
Confidence intervals for gradients in npregressDear all, I'm trying to estimate confidence intervals for my gradients after performing a kernel re…
Varied clustering analysis results from the same datasetHi everyone, I read Stata manual for clustering analysis on this topic, and followed suggestion to …
Problem combining multiple IF qualifiers which reference value of other variable entriesHi all, First time posting - very grateful for this well-resourced community that has helped me thu…
Subscribe to:
Post Comments (Atom)
0 Response to Problem in using ivregress 2sls command in oaxaca
Post a Comment