image thumbnail

Truncated Multivariate Normal Generator

version 1.0.0.0 (10.3 KB) by Zdravko Botev
(perfect) sampling from the truncated multivariate normal density

507 Downloads

Updated 03 Nov 2015

View License

Simulates 'n' random vectors exactly (perfectly) distributed from the d-dimensional N(0,Sig) distribution (zero-mean normal with covariance 'Sig'), conditional on l<X<u. Infinite values for the truncation limits 'l' and 'u' are accepted.
Reference: Z. I. Botev (2015), "The Normal Law Under Linear Restrictions: Simulation and Estimation via Minimax Tilting", submitted to JRSS(B)

Cite As

Zdravko Botev (2022). Truncated Multivariate Normal Generator (https://www.mathworks.com/matlabcentral/fileexchange/53792-truncated-multivariate-normal-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!