Truncated multivariate normal

버전 1.5.0.0 (7.2 KB) 작성자: Tim Benham
Generates pseudo-random vectors drawn from the truncated multivariate normal distribution.
다운로드 수: 2K
업데이트 날짜: 2015/8/26

라이선스 보기

X = rmvnrnd(MU,SIG,N,A,B) returns in N-by-P matrix X a
random sample drawn from the P-dimensional multivariate normal
distribution with mean MU and covariance SIG truncated to a
region bounded by the hyperplanes defined by the inequalities Ax<=B.
[X,RHO,NAR,NGIBBS] = rmvnrnd(MU,SIG,N,A,B) returns the
acceptance rate RHO of the accept-reject portion of the algorithm
(see below), the number NAR of returned samples generated by
the accept-reject algorithm, and the number NGIBBS returned by
the Gibbs sampler portion of the algorithm.
rmvnrnd(MU,SIG,N,A,B,RHOTHR) sets the minimum acceptable
acceptance rate for the accept-reject portion of the algorithm
to RHOTHR. The default is the empirically identified value
2.9e-4.

인용 양식

Tim Benham (2024). Truncated multivariate normal (https://www.mathworks.com/matlabcentral/fileexchange/34402-truncated-multivariate-normal), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.5.0.0

Uses chebycenter to find a feasible point to seed the Gibbs sampler if the the random generation does not find one.

1.4.0.0

1. Correct problem with initialization of the Gibbs sampler.
2. Behave correctly when no constraints supplied.

1.3.0.0

Added example and improved interface.

1.2.0.0

Changed interface to support omission of A and b. Added example script rmvnrnd_eg.

1.0.0.0