How can I do bivariate numerical integration in Matlab for computing joint probabilities?
Afficher commentaires plus anciens
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))
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!