https://www.posgar.com/p/3716/a-generalized-two-step-heckman-selection-model-use-gtsheckman-with-sta
A generalized two-step Heckman selection model Use gtsheckman With STATA 17