Truncated Multivariate Normal Generator

(perfect) sampling from the truncated multivariate normal density
626 Downloads
Updated 3 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 (2024). 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
Acknowledgements

Inspired: Truncated Multivariate Normal Moments

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0