Hi,

I'm trying to use Oaxaca decomposition and within that, I'm trying to estimate the models using ivregress 2sls.

In the help manual for the Oaxaca command it says that I am allowed to do this.

Code:
oaxaca lnwage educ exper tenure isco2-isco9, by(female) pooled model1(ivregress 2sls, addrhs((age = kids6))) svy detail (expertise: exper tenure) categorical(isco?)
The error I am getting is : ivregress is not supported by suest. Is there a way of getting around this?? I would basically like to do a twofold decomposition and also use ivregress. Threefold decomp seems to work with ivregress but twofold doesn't.

HTML Code:
http://fmwww.bc.edu/repec/bocode/o/oaxaca.dta
- here is the dataset I use.

Thanks in Advance.