# \[ANN\] MvNormalCDF.jl - multivariate normal CDF

**URL:** <https://discourse.julialang.org/t/ann-mvnormalcdf-jl-multivariate-normal-cdf/71329>\
**Category:** Package Announcements\
**Tags:** package, announcement, statistics\
**Created:** [November 11, 2021, 12:24pm UTC](https://discourse.julialang.org/t/ann-mvnormalcdf-jl-multivariate-normal-cdf/71329 "2021-11-11T12:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PharmCat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pharmcat/32/6953_2.png) [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Post date:** [November 11, 2021, 12:24pm UTC](https://discourse.julialang.org/t/ann-mvnormalcdf-jl-multivariate-normal-cdf/71329/1 "2021-11-11T12:24:28Z")

</div>

[MvNormalCDF.jl](https://github.com/PharmCat/MvNormalCDF.jl) - Quasi-Monte-Carlo numerical computation of multivariate normal probabilities.

This function uses an algorithm given in the paper “Numerical Computation of Multivariate Normal Probabilities”, in J. of Computational and Graphical Stat., 1(1992), pp. 141-149, by Alan Genz, WSU Math, PO Box 643113, Pullman, WA 99164-3113 Email : [alangenz@wsu.edu](mailto:alangenz@wsu.edu)

The primary references for the numerical integration are “On a Number-Theoretical Integration Method” H. Niederreiter, Aequationes Mathematicae, 8(1972), pp. 304-11, and “Randomization of Number Theoretic Methods for Multiple Integration” R. Cranley and T.N.L. Patterson, SIAM J Numer Anal, 13(1976), pp. 904-14.

Re-coded in Julia from the MATLAB function qsimvnv(m,r,a,b) Alan Genz is the author the MATLAB qsimvnv() function.

Alan Genz software website: [http://archive.is/jdeRh](http://archive.is/jdeRh) Source code to MATLAB qsimvnv() function: [http://archive.is/h5L37](http://archive.is/h5L37)

Idea was taken from this [PR](https://github.com/JuliaStats/StatsFuns.jl/pull/114) to StatsFuns.jl.

Also see discourse discussion [here](https://discourse.julialang.org/t/mvn-cdf-have-it-coded-need-help-getting-integrating-into-distributions-jl/38631).

Thanks to @blackeneth

---

<div class="post-metadata">

**Author:** ![blackeneth](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blackeneth/32/10353_2.png) [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Post date:** [November 12, 2021, 8:22am UTC](https://discourse.julialang.org/t/ann-mvnormalcdf-jl-multivariate-normal-cdf/71329/2 "2021-11-12T08:22:34Z")

</div>

Thanks @PharmCat for getting it out there. Looks really good.
