Estimation (estimate) of binary treatment models with idiosyncratic average effect Use ivtreatreg With STATA 18 https://ln.run/ivtreatreg