Integrate a bivariate normal distribution over y when x is fixed

I have a bivariate normal distribution f(x,y). I want to integrate f(x=a, y) over y, say from y1 to y2. Is there any direct/simpler way to do this without using the integral function?
Thank you.

 Réponse acceptée

Paul
Paul le 18 Avr 2021
Modifié(e) : Paul le 18 Avr 2021
One simple approach is to evaluate f(a,y) for vector of y from y1 to y2 and then use cumtrapz() or trapz() on the result.

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by