This paper considers models with latent/discrete endogenous regressors and presents a simulation-based two-step (STS) estimator. The endogeneity is corrected by adopting a simulation-based control function approach. The first step consists of simulating of the residuals of the reduced-form...