Multiple Discrete Endogenous Variables in Weakly-Separable Triangular Models