How can I do bivariate numerical integration in Matlab for computing joint probabilities?
Mostrar comentarios más antiguos
Hi all, I have to compute the probabilities listed below for each row i of the matrices b and c. I assume that (u_1,u_2) are distributed as a bi-variate normal with mean mu and var-cov matrix sigma. Could you help me please?
b= unidrnd(10,100,2);
c= unidrnd(10,100,2);
sigma=[1 0.3;0.3 1];
mu=[0 0];
(1) Pr(u_1<-b(i,1); u_2<-b(i,2))
(2) Pr(u_1>=-c(i,1); u_2>=-c(i,2))
(3) Pr(u_1>-b(i,1); u_2<-b(i,2))
(4) Pr(u_1>-c(i,1);-b(:,2)<=u_2<=-c(i,2))
(5) Pr(u_1>-b(i,1); u_2<-c(i,2))
(6) Pr(u_1<-c(i,1); u_2> -c(i,2))
(7) Pr(u_1<-b(i,1);-b(:,2)<=u_2<=-c(i,2)
(8) Pr(u_1<-c(i,1); u_2>-b(i,2))
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!