I would like to ask if any of you guys can help me find how can I compute a double integral of a given joint distribution e.g. dnorm(x,m1,s1)*dnorm(y,m2,s2)*CopulaDensity
with Ymin=-inf
, Ymax=inf
, and Xmin= x
and Xmax = inf
? I want to do this in R.
Thanks a lot .
Note! CopulaDensity
is a numeric vector .