Normalise multivariate probability density
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I have some multivariate data of dimension 4. I have used mvnpdf to compute their densities.
However, I would like to normalise the densities by using a partition function. I wish to calculate:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152196/image.png)
where pi_l is some constant and N(v;mean;covariance) is the mvnpdf and v is a data point.
How would i go about this?
댓글 수: 0
답변 (1개)
Dave Behera
2015년 12월 2일
To compute the integral above, you can use the Multivariate normal cumulative distribution function 'mvncdf' described here:
Also, you may need to multiply the constant pi_l (present within the integral above) to the output of 'mvncdf' function to get the correct result.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!