Inverse Mills Ratio
Also known as · IMR · lambda · Mills ratio
The inverse Mills ratio (IMR) is the correction term inserted into the outcome equation in the Heckman two-step procedure. It is computed from the first-stage selection probit and quantifies, for each selected observation, the implied conditional expectation of the unobserved selection error. The coefficient on in the outcome equation tests for selection: if is statistically significant, the selection equation's unobservables are correlated with the outcome equation's unobservables, confirming bias.
When to use
The IMR is the diagnostic and the fix in Heckman. PS_2's outcome equation gives (p < 0.001) → strong evidence of selection bias in the fertility regression. The corrected educ coefficient (+0.017, n.s.) is dramatically different from the OLS estimate (−0.103, ***) — a clean illustration that the OLS result was largely a selection artefact, not a within-sample fertility effect.