[R] pmnorm produces NaN

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun May 12 15:46:26 CEST 2013



On 11.05.2013 15:29, Marsupilami wrote:
> 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?

Yes: Ask the authors of the code.

Best,
Uwe Ligges

>
> 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.
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list