Lably
Skip to content

Variance-based sensitivity analysis

Form of global sensitivity analysis

  • 5 min read
  • 4 chapters

Related on Lably

Through Probability and Variance

Decomposition of variance

From a black box perspective, any model may be viewed as a function Y=f(X), where X is a vector of d uncertain model inputs {X1, X2, ... Xd}, and Y is a chosen univariate model output (note that this approach examines scalar model outputs, but multiple outputs can be analysed by multiple independent sensitivity analyses). Furthermore, it will be assumed that the inputs are independently and uniformly distributed within the unit hypercube, i.e. Xi∈[0,1] for i=1,2,...,d. This incurs no loss of generality because any input space can be transformed onto this unit hypercube. f(X) may be decomposed in the following way,

Y=f0+∑i=1dfi(Xi)+∑i<jdfij(Xi,Xj)+⋯+f1,2,…,d(X1,X2,…,Xd)

where f0 is a constant and fi is a function of Xi, fij a function of Xi and Xj, etc. A condition of this decomposition is that,

∫01fi1i2…is(Xi1,Xi2,…,Xis)dXk=0, for k=i1,...,is

i.e. all the terms in the functional decomposition are orthogonal. This leads to definitions of the terms of the functional decomposition in terms of conditional expected values,

f0=E(Y)
fi(Xi)=E(Y|Xi)−f0
fij(Xi,Xj)=E(Y|Xi,Xj)−f0−fi−fj

From which it can be seen that fi is the effect of varying Xi alone (known as the main effect of Xi), and fij is the effect of varying Xi and Xj simultaneously, additional to the effect of their individual variations. This is known as a second-order interaction. Higher-order terms have analogous definitions.

Now, further assuming that the f(X) is square-integrable, the functional decomposition may be squared and integrated to give,

∫f2(X)dX−f02=∑s=1d∑i1<⋯<isd∫fi1…is2dXi1…dXis

Notice that the left hand side is equal to the variance of Y, and the terms of the right hand side are variance terms, now decomposed with respect to sets of the Xi. This finally leads to the decomposition of variance expression,

Var⁡(Y)=∑i=1dVi+∑i<jdVij+⋯+V12…d

where

Vi=VarXi⁡(EX∼i(Y∣Xi)),
Vij=VarXij⁡(EX∼ij(Y∣Xi,Xj))−Vi−Vj

and so on. The X~i notation indicates the set of all variables except Xi. The above variance decomposition shows how the variance of the model output can be decomposed into terms attributable to each input, as well as the interaction effects between them. Together, all terms sum to the total variance of the model output.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics