[Rd] d-p-q-r-tests: why is plnorm(exp(Inf)) equal pnorm(Inf)?
Thomas Hoffmann" <email@example.com
Sat, 18 Mar 00 00:04:10 +0100
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?
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: firstname.lastname@example.org