ModifCorrMatrix: Modification of a correlation matrix to use in UtoX

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/UtoX.R

Description

ModifCorrMatrix modifies a correlation matrix originally defined using SPEARMAN correlation coefficients to the correlation matrix to be used in the NATAF transformation performed in UtoX.

Usage

1

Arguments

Rs

Original correlation matrix defined using SPEARMAN correlation coefficient :

Rs=[ρ ij^s]

Value

R0

Modified correlation matrix

Note

The NATAF distribution is reviewed from the (normal) copula viewpoint as a particular and convenient means to describe a joint probabilistic model assuming that the normal copula fits to the description of the input X. The normal copula is defined by a symmetric positive definite matrix R0. Even though the off-diagonal terms in this matrix are comprised in ]-1; 1[ and its diagonal terms are equal to 1, it shall not be confused with the more usual correlation matrix. Lebrun and Dutfoy point out that the SPEARMAN (or rank) correlation coefficient is better suited to parametrize a copula because it leads to a simpler closed-form expression for ρ_{ij}.

ρ ij^0 = 2 sin(ρ ij^s pi/6)

Author(s)

Gilles DEFAUX, gilles.defaux@cea.fr

References

See Also

UtoX

Examples

1
2
3
4
5
6
 
Dim <- 2
input.Rho    <- matrix( c(1.0, 0.5,
                          0.5, 1.0),nrow=Dim)
input.R0     <- ModifCorrMatrix(input.Rho)
print(input.R0)

mistral documentation built on April 19, 2021, 1:06 a.m.