|Title||Stata 5: Obtaining Mills’ ratios for Heckman models|
|Author||James Hardin, StataCorp|
The heckman command does not save the Mills’ ratios that it uses in the estimation of the Heckman selection model. However, it is straightforward to calculate them yourself:
. predict phat, xb
. gen mills = exp(-.5*phat2)/(sqrt(2*_pi)*normprob(phat))
Alternatively, you could specify the trace option to heckman.