I have been running non-instrumental multinomial probit that roughly looks like
where Y is dep var, X is indep var, C are controls.
Now I wasted add an instrument.
So after reading some posts from Statalist, it seems typical command for instrumental multinomial probit is the following (is this correct?)
where Z is the instrument. I added iia because there is no alternative (Y)-specific controls.
Thank you for all the posters who made me come this far.
But what if original non-instrumental multinomial probit model was more complex? It had cluster, baseoutcome, if conditions.
Then how should I write instrumental multinomial probit that corresponds to this?
The following two attempts failed.
Webuse example
By arbitrarily adding fem_work=2, I get a data that I can meaningfully run multinomial probit.
This code does not just have cluster, if, baseoutcome. But still this is taking forever to run.. still not finished.
Code:
mprobit Y X C
Now I wasted add an instrument.
So after reading some posts from Statalist, it seems typical command for instrumental multinomial probit is the following (is this correct?)
Code:
cmp (Y=X C, iia) (X=Z C), ind($cmp_mprobit $cmp_cont)
Thank you for all the posters who made me come this far.
But what if original non-instrumental multinomial probit model was more complex? It had cluster, baseoutcome, if conditions.
Code:
mprobit Y X C if C<100, baseoutcome(1) vce(cluster D)
The following two attempts failed.
Code:
cmp (Y=X C, iia) (X=Z C) if C<100, ind($cmp_mprobit $cmp_cont) baseoutcome(1) vce(cluster D)
Code:
cmp (Y=X C, iia baseoutcome(1)) (X=Z C) if C<100, ind($cmp_mprobit $cmp_cont) vce(cluster D)
Webuse example
By arbitrarily adding fem_work=2, I get a data that I can meaningfully run multinomial probit.
Code:
webuse laborsup, clear replace fem_work=2 if fem_work==1 & _n<200 cmp (fem_work = other_inc fem_educ kids) (other_inc = fem_educ kids male_educ), ind($cmp_mprobit $cmp_cont) qui
Comment