From Thomas Hoffmann" <thoffman@zappa.sax.de  Fri Mar 17 23:04:10 2000
From: Thomas Hoffmann" <thoffman@zappa.sax.de (Thomas Hoffmann)
Date: Sat, 18 Mar 00 00:04:10 +0100
Subject: [Rd] d-p-q-r-tests: why is plnorm(exp(Inf)) equal pnorm(Inf)?
Message-ID: <38d2b9ec.thoffman.zappa@zappa.sax.de>

I stumbled across a result of d-p-q-r-tests:

d-p-q-r-tests expects pnorm(Inf) and pnorm(-Inf)  to give the same results as  plnorm(exp(Inf)) 
and plnorm(exp(-Inf)), respectively.

Does this mean that all expressions result in NaN (which I expect for the 3rd and 4th expression only) or 
does it mean that R can prevent the exp(Inf) to be evaluated before being parsed in the context of plnorm?

Thomas Hoffmann.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] d-p-q-r-tests: why is plnorm(exp(Inf)) equal pnorm(Inf)?
Thomas Hoffmann