Re: [R] Numerical precision problem

From: dlakelan <dlakelan_at_street-artists.org>
Date: Fri, 21 Dec 2007 16:48:07 -0800

C.Rosa_at_lse.ac.uk wrote:
> Dear All,
> ....

>> (1-p)==1

>
> [1] TRUE
>
> The main problem I have is that I need to evaluate the inverse of the normal Cumulative Distribution Function near 1 (but not exactly 1) and the PC cannot recognize it.

Evaluate it at 1, evaluate the density at 1, and use basic calculus to calculate the differential of the cumulative distribution for small differentials away from 1.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 22 Dec 2007 - 00:50:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 22 Dec 2007 - 01:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.