pNormalND¶
- pNormalND(*args)¶
Rectangular probability of a N-dimensional Normal distribution.
- Parameters:
- asequence of float
Lower bound.
- bsequence of float
Upper bound.
- musequence of float
Mean vector.
- L
TriangularMatrix Cholesky factor of the covariance matrix.
- nint, optional
Number of Sobol’ points used in the QMC integration. Default value is given by the ‘Genz-DefaultSampleSize’ key in
ResourceMap.
- Returns:
- pfloat
The probability
.
Notes
This method uses the Genz algorithm, a quasi-Monte Carlo integration based on Sobol’ sequences to compute the rectangular probability of a multivariate Normal distribution. In dimension 1, the exact probability is returned. The distribution is centered with unit variance.
Examples
>>> import openturns as ot >>> L = ot.TriangularMatrix(1) >>> L[0, 0] = 1.0 >>> p = ot.DistFunc.pNormalND([-1.0], [1.0], L)
OpenTURNS