https://posgar.com/posgar.com/p-3981?orderby=hits
Nonlinear decomposition of binary outcome Use fairlie With STATA 18