powered by
The inverse Mills ratio is used in several econometric models, especially different flavours of tobit model.
mills(x, deriv = 0)
a numeric.
a numeric
one of 0 (the default, returns the inverse Mills ratio), 1 (the first derivative) and 2 (the second derivative)