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.

 Akzeptierte Antwort

Paul
Paul am 18 Apr. 2021
Bearbeitet: Paul am 18 Apr. 2021

1 Stimme

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.

Weitere Antworten (0)

Gefragt:

am 18 Apr. 2021

Bearbeitet:

am 18 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by