Hello,
We are running an ordered IV-probit model. We have two endogenous regressors so we will need to use two IVs. The command that we are using is as follows:

cmp setup
cmp (Y = X1 X2 `Xvars') (X1 X2 = IV1 IV2 `Xvars' ), indicators($cmp_oprobit $cmp_cont) vce(cluster state)

On running this we get an error:
X1X2 not found
invalid syntax
r(111);

Somehow the code does not recognize the space between the two endogenous X's and treats them as one single var.

It would be very helpful if you point us to the error in the code. Should we use three brackets instead of two?