pNormalOrthantND¶
- pNormalOrthantND(*args)¶
Orthant probability of a N-dimensional Normal distribution using the Ridgway SMC algorithm.
- Parameters:
- asequence of float
Lower bound.
- bsequence of float
Upper bound.
- musequence of float
Mean vector.
- L
TriangularMatrix Cholesky factor of the covariance matrix.
- Mint, optional
Number of particles used in the SMC integration. Default value is given by the ‘Ridgway-DefaultParticleNumber’ key in
ResourceMap.- alphafloat, optional
ESS threshold for resampling. Default value is given by the ‘Ridgway-DefaultAlpha’ key in
ResourceMap.
- Returns:
- pfloat
The probability
.
Notes
This method uses the Ridgway algorithm, a Sequential Monte Carlo (SMC) method to compute the rectangular probability of a multivariate Normal distribution [ridgway2016]. The distribution is centered with unit variance. The SMC approach is particularly effective for high-dimensional problems, especially when the probability is very small.
Examples
>>> import openturns as ot >>> L = ot.TriangularMatrix(1) >>> L[0, 0] = 1.0 >>> p = ot.DistFunc.pNormalOrthantND([-1.0], [1.0], L)
OpenTURNS