[R] pmnorm produces NaN

Marsupilami nicolas.berkowitsch at unibas.ch
Sat May 11 15:29:05 CEST 2013


Dear list-members,

A  specific set of parameter values produces NaN when using pmnorm (library
mnormt). I was wondering whether has do to that either extremely small or
big values are computed.

Here is a reproducible code:

###########
library(mnormt)

Leta = matrix(c(6.9077758,0.7253306),2,1)
Lomega =
matrix(c(9.105868e-04,-8.326422e-05,-8.326422e-05,8.855829e-06),2,2)
pmnorm(x=Leta,varcov=Lomega)
###########

any suggestions?

Thx,
Nicolas



--
View this message in context: http://r.789695.n4.nabble.com/pmnorm-produces-NaN-tp4666826.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list