Sensitivity Analysis

Resources

Main Idea

What uncertain inputs have the largest impact on some output?

Sobol' Indices

Let XU([0,1])d, f:RdR (deterministically), and Y=f(X). Under some conditions (?), we can decompose f as

f(X)=f0+i=1dfi(Xi)univariate+i=1dj=i+1dfij(Xi,Xj)bivariate++f12d(X1,X2,,Xd).

Note, the bivariate terms are Upper Triangular. The higher order terms are not shown, except the final term, which takes d inputs, similar to the original function. We can use Multi-index Notation to write this expansion as

f(X)=f0+{i1,,is}{1,,d}fi1is(Xi1,,Xis).

This decomposition is not yet unique. By adding a restriction on the orthogonality of the terms, the decomposition is then unique. For {i1,,is}{j1,,jt},

[0,1]dfi1is(X1,,Xs)fj1jt(X1,,Xt)dX=0.

We can compute these functions via

f0=[0,1]df(X)dXE(Y),fi(Xi)=[0,1]d1f(X)dX{i}E(Y|Xi)f0,fij(Xi,Xj)=[0,1]d2f(X)dX{i,j}E(Y|Xi,Xj)f0fifj,

Now, assume that f is Square Integrable, meaning

[0,1]df2(X)dX<.

Plugging in the expansion, noting the aforementioned orthogonality constraint, and decoupling, we can represent the variance of Y (E(Y2)E(Y)2) as

[0,1]df2(X)dXf02={i1,,is}{1,,d}[0,1]sfi1is2(Xi1,,Xis)dXi1dXisDi1is=D.

The Sobol' Indices are then

S{i1,,is}=D{i1,,is}D,

and sum to 1. The first-order indices are Si, while the total indices SiT include the interactions with higher-order terms. Si1, but SiT1, as the total indices include the interaction terms for multiple i (e.g. S12 contributes to both S1T and S2T).

Sobol' Indices from PCE

We can compute the Sobol' Indices from a Polynomial Chaos Expansion (PCE) instead. The PCE, with coefficients c1d and basis functions ψ1d is given as

f(X)=c0+{i1,is}{1,,d}ci1isψi1is(X1,,Xs).

This is quite similar to the Sobol' expansion. We can relate the PCE coefficients to the Sobol' indices, accounting for the basis functions as well. This gives

Di1is=ci1is[0,1]sψi1is2(Xi1,,Xis)dXi1dXis.

Often, E(ψi1is2)=1, meaning Di1is=ci1is. Thus, we can rely on non-intrusive PCE techniques (such as Sparse Regression) to avoid computing all the integrals above.