Re: issue - integration problem



"Omkar Palsule-Desai" <omkardpd@xxxxxxxxxxxxxxx> wrote in message
<fn4pgb$jg2$1@xxxxxxxxxxxxxxxxxx>...
I agree with your suggestion of reducing domain. But I
feel the main issue is due to the functions. The functions
are of the normal and bivariate normal form. I have not
been able to integrate normal density function with "int"
command in matlab. I am not sure about how to handle the
function to be integrated.
Omkar
---------
Omkar, I am a little puzzled here. The fact that F1 and F2 refer to
independent distributions has nothing to do with your evaluation of this given
integral, unless you had in mind expressing that integral as a multiple
integral involving products of the respective normal density functions, and I
see no advantage in doing that. After all, once one knows the mean(s) and
(co)variances of these distributions, their cumulative distribution functions
are completely determined as functions of x, and therefore the product (1-F1
(x)*[1-F2(x,0)) is determined.

Matlab's Statistics Toolbox contains the functions 'normcdf' and 'mvncdf'
from which you can form this integrand function in your integral. The
problem then is one of a single integration, and you should be able to make
use of one of matlab's numerical quadrature functions for this purpose.
However, as John advises, you need to change to a finite approximating upper
limit of integration rather than infinity to make it work properly. The limit
should be selected large enough to ensure upper limit integration accuracy
but not so large as to confuse the quadrature functions, they being somewhat
temperamental beasts.

Roger Stafford

.



Relevant Pages

  • Re: How do you prove Delta(2*t)=1/2*Delta(t)
    ... We should do away with the handwaving. ... a new class of objects called distributions that DO have this property. ... reason for chosing this sequence and not a different one with the same ... from above you always have a well defined integration behaviour, ...
    (comp.dsp)
  • Re: currents or charges densities
    ... and so lives on spacetime but d\tau is a 1-form on the line. ... >> I am aware or the Swartz theory of distributions. ... > order of integration over V and S must be switched. ...
    (sci.physics.research)
  • Re: Beginner questions on distributions
    ... integral form minus infinity to infinity of deltadx = 1. ... Anyway, I have been given to understand that Distributions, aka ... C_0^infinty and as if the intervale were ... You can prove that the first term from the integration by parts ...
    (sci.math)
  • Re: The mean of a product of waiting times.
    ... which hold for distributions taking only positive values ... Since I can't go to infinity, how would I know when to stop the ... integration over infinite ranges. ... numerical integration, and an infinte range done by analytical ...
    (sci.stat.math)
  • Re: Finding the optimizing distribution
    ... with probability 1", with respective expectations Eand E. ... Then by squashing both distributions up towards c in a simple linear ... PQis zero for all regions of the integration where x < c. ...
    (sci.math)