Multivariate Orthonormal basis¶
In that file, we detail the construction of an orthonormal basis with respect to a multivariate
measure denoted by , addressing both the independent and dependent marginal settings.
In the functional expansion setting (refer to Functional Chaos Expansion), the distribution
may be the input distribution
, the distribution
which is the push-forward distribution of
through
the isoprobabilistic transformation
, or the instrumental distribution
of the domination method.
The set of functions with
is orthonormal with respect to
if:
(1)¶
for any where
is the Kronecker symbol:
Case of independent marginals: Tensorized univariate basis¶
We assume here that is a multivariate distribution with independent marginals
denoted by
:
In that case, a multivariate basis orthonormal with respect to can be built as the
tensorization of univariate basis orthonormal with respect to its marginals.
For any , let
be the univariate
basis orthonormal with respect to the marginal distribution
.
The tensorized multivariate basis is defined by:
where is a
multi-index that enables to define each element of the multivariate basis from the elements of
the univariate marginal basis (see Tensorized multivariate basis enumeration functions and the class
EnumerateFunction to get details on that
bijection).
The univariate bases may be:
polynomials: the associated distribution
can be continuous or discrete. The orthonormal polynomial basis is represented by its three-term recurrence and the reverse Clenshaw algorithm enables fast, stable evaluation of the polynomials at any point (see
OrthogonalUniVariatePolynomial). For some distributions, the orthonormal polynomial basis is known (see Univariate orthonormal polynomials). For all the other arbitrary distributions, the three-term recurrence is computed (seeAdaptiveStieltjesAlgorithm) and used to build its orthonormal polynomial family (seeStandardDistributionPolynomialFactory).Haar wavelets: the Haar wavelets basis is orthonormal with respect to the
measure. This basis is used to approximate functions with discontinuities. For details on this basis, see
HaarWaveletFactory.Fourier series: the Fourier series is orthonormal with respect to the
measure. For more details on this basis, see
FourierSeriesFactory.
Case of dependent marginals¶
When is a multivariate distribution with dependent marginals, several methods
enable to build a basis orthonormal with respect to
.
One method is to use an isoprobabilistic transformation denoted by
that maps the measure
into a measure
with independent marginals.
Therefore, if
is a basis orthonormal with respect to
,
then
is a basis orthonormal with respect to
. It is
important to note that if
is a polynomial basis, then
is not a polynomial basis as soon as
is not affine.
Another method consists in the following functional basis, which was first introduced by Soize-Ghanem in [soizeghanem2004] defined by:
where is the cumulative distribution function of the
-th marginal of
,
the probability density function of its copula and
the polynomial basis orthonormal with respect to
.
It is important to note that although is a polynomial basis,
is not a polynomial basis. In addition,
if the copula is not the independent copula.
Furthermore, this basis generates approximation subspaces of poor quality.
Indeed, for most copulas, the density tends to infinity at
or
(and possibly at other points).
As a consequence, all the basis functions
vanish at these points and take small values in their neighborhoods.
Therefore, the coefficients in the expansion of a function that takes non zero
values at these points must necessarily be large.
This leads to numerical instabilities, both for the computation of the expansion coefficients
and for the evaluation of the metamodel.
That is the reason why the use of such a multivariate orthonormal basis is not recommended.
OpenTURNS