Displaying 2 results from an estimated 2 matches for "dmvtnorm".
Did you mean:
mvtnorm
2007 Jun 26
0
linking problem
...These libs are static ones, like libBOOMdebug.a , is this a problem ? Do I need to convert all of them to DLL's ?
Is there an easy way to this. I am not quite familiar with this, I would appreciate it if your advice could be a little detailed.
Thanks a lot in advance.
$ R CMD SHLIB -d dmvtnorm.cpp
making dmvtnorm.d from dmvtnorm.c
gcc -IC:/cygwin/home/owner/R-2.4.1/include -I/home/owner/BOOM2/src -gdwarf-2 -Wall -O0 -std=gnu99 -c dmvt
norm.c -o dmvtnorm.o
g++ -shared -o dmvtnorm.dll dmvtnorm.def dmvtnorm.o -LC:/cygwin/home/owner/R-2.4.1/bin -L/home/owner/BOO
M2 -lR -lBOOM...
2010 Jun 23
3
integrate dmvtnorm
Hello, everyone,
I have a question about integration of product of two densities.
Here is the sample code; however the mean of first density is a function of
another random variable, which is to be integrated.
##
f=function(x) {dmvnorm(c(0.6, 0.8), mean=c(0.75, 0.75/x))*dnorm(x, mean=0.6,
sd=0.15)}
integrate(f, lower=-Inf, upper=Inf)
## error message
Error in dmvnorm(c(0.6, 0.8), mean = c(0.75,