Hi,

I am going to use eprobit for my purpose of regressing a binary variable(y) on another endogenous binary variable(x). The related instrument is called z. The Stata command that I use is as follows:

eprobit y x, endogenous(x= z, probit)

I am interested in marginal effects. However, when I use margins cmd, it gives me an error that "e(sample) does not identify the estimation sample".
I was wondering if anybody know what might be the problem.


Thanks.