Description Usage Arguments Details Value Author(s) Examples

Calculates the Mills ratio

1 |

`y` |
Numeric. Value at which the Mills' Ratio is evaluated. |

`log` |
Logical. If |

The function calculates the Mills' Ratio.
Since the Mill's Ratio converges to zero for large positive *z*
and infinity for large negative *z*. The range over which the
logarithm of the Mill's ratio may be calculated is greater than that
for which the Mill's ratio itself may be calculated.

The Mills' Ratio is

*R(z)=(1-Phi(z))/phi(z)*

where *Phi(z)* and *phi(z)* are
respectively the distribution function and density function of the
standard normal distribution.

David Scott [email protected], Jason Shicong Fu

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.