mills | R Documentation |
The inverse Mills ratio is used in several econometric models, especially different flavours of tobit model.
mills(x, deriv = 0)
x |
a numeric |
deriv |
one of 0 (the default, returns the inverse Mills ratio), 1 (the first derivative) and 2 (the second derivative) |
a numeric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.