[R] pnorm, qnorm

David Duffy davidD at qimr.edu.au
Fri Aug 13 03:34:42 CEST 2004


Trenkler, Dietrich said:
>
> I found the following strange behavior  using qnorm() and pnorm():
>
> > x<-8.21;x-qnorm(pnorm(x))
> [1] 0.0004638484
> > x<-8.28;x-qnorm(pnorm(x))
> [1] 0.07046385
> > x<-8.29;x-qnorm(pnorm(x))
> [1] 0.08046385
> > x<-8.30;x-qnorm(pnorm(x))
> [1] -Inf
>
 qnorm(1-.Machine$double.eps)
 [1] 8.12589




More information about the R-help mailing list