Joint probability calculations w/ three variables
이전 댓글 표시
Hi,
I have re-sampled three different variables simultaneously using the datasample function to create a 180x30,000 matrix of this re-sampled data. Effectively, I think of what I did in the first step as running 10,000 different simulations covering 180 months of time for three different variables since I'm dealing w/ financial data.
For each simulation I then compute the mean of each of the three variables. With some reshaping this gives me a 10,000x3 matrix where each row contains the mean of each of the three variables for a particular one of the 10,000 simulations.
With those particulars out of the way, what I'm trying to understand is how I calculate joint probabilities using this discrete simulated data. For example, how would I compute the probability of mean of X1<=10 & mean X2<=5 and mean X3<=8 using MATLAB and the 10,000x3 matrix above?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!