[R] Double Infinite Integration

S Ellison
Thu, 05 Dec 2013 15:28:37 -0000

> -----Original Message-----
> I need to perform the following integration where the integrand is the
> product of three functions:
> f(x)g(y)z(x,y)
>
> the limits of x are(0,inf) and the limits of y are(-inf,inf).
>
> Could this be done using R? I tried using the function integrate 2 times,
but it
> didn't work:
> z<- function(x,y) {
>
>
> }
.....
>
>    I didn't get any output at all!!!


The function z() you provided is not doing anything; it is defined in your post
as z<-function(x,y){}

Surprised you didn't get at least NULL, though.








*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}