Sobol Sensitivity Method

The Sobol Sensitivity method calculates two kinds of variance-based sensitivity indices: the main effect index and the total effect index. Its algorithm is based directly on the definitions of the variance-based sensitivity indices.

See Also
Configuring the Sobol Sensitivity Method

To understand the basic theory, let's assume the given model as:

Y = f ( X ) ,
where
X
is a vector of d input variables { X 1 , X 2 , ... ⁢   , X d } and
Y
is the (random) output.

Assume that all the input variables are distributed independently.

Then, we can decompose Y = f ( X ) as:

Y = f 0 + ∑ i = 1 d f i ( X i ) + ∑ i < j f i , j ⁢ ( X i , X j ) + ... + f 1 , 2 , ... , d ( X 1 , X 2 , ... , X d ) ,

where f 0 (a constant), f 1 ( ⋅ ) , ... ,   f 1 , 2 , ... , d ( ⋅ , ⋅ , ... , ⋅ ) satisfy the orthogonality condition of ∫ f i 1 , i 2 , ... , i s ( X i 1 , X i 2 , ... ⁢ X i s )   d X k = 0 , for k = i 1 , i 2 , ... , i s and ∀ { i 1 , i 2 , ... , i s } ⊆ { 1 , 2 , ... , d } .

We can prove that the unique decomposed terms under the condition are derived as:

f 0 = E X ( Y ) ,
f i ( X i ) = E X ∼ i ( Y | X i ) − f 0 ,
f i , j ( X i , X j ) = E X ∼ i , j ( Y | X i , X j ) − f 0 − f i ( X i ) − f j ( X j ) .

Here, E ( ⋅ ) is the expectation notation, and X ∼ i means the set of all the variables X 1 , X 2 , ... , X d except X i .

Using the decomposition of Y , we can then derive the variance decomposition as:

V a r X ( Y ) = ∑ i = 1 d V i + ∑ i < j V i , j + ... + V 1 , 2 , ... , d ,

where V i = V a r X i ( E X ∼ i ( Y | X i ) ) , V i , j = V a r X i , X j ( E X ∼ i , j ( Y | X i , X j ) ) − V i   − V j , etc.

If we define the fractions as:

S i = V i V a r ( Y ) ,
S i , j = V i , j V a r ( Y ) ,

then the "first-order sensitivity index" or "main effect index" for any input variable X i is S i . It measures the contribution of varying input variable X i to the total output variance of Y , considering the effects of all other input variables averaged out.

All these fractions have values within [0,1] and satisfy the relationship,

∑ i = 1 d S i + ∑ i < j S i , j + ... + S 1 , 2 , ... , d = 1.

Theoretically, we can use S i , j and higher-order fractional terms to measure the contribution of each input variable to the total output variance that considers the interactions between input variables. However, computing these terms is highly expensive. To address this, the Sobol Sensitivity method introduces the "total-effect index" or "total-order index" as:

S T i = E X ∼ i ( V a r X i ( Y | X ∼ i ) ) V a r ( Y ) = 1 − V a r X ∼ i ( E X i ( Y | X ∼ i ) ) V a r ( Y ) .

An alternative sensitivity index, S i , measures each input variable's contribution to the total output variance while considering its interactions with other input variables.

The definitions of S i and S T i can yield the following theoretical results:

∑ i = 1 d S i ≤ 1 , ∑ i = 1 d S T i ≥ 1.

The most common Monte Carlo estimators used to compute the main effect and total effect indices are:

V a r X i ( E X ∼ i ( Y | X i ) ) = 1 N ∑ i = 1 n f ( B ) j ⁢ ( f ( A B ( i ) ) j − f ( A ) j ) ,
E X ∼ i ( V a r X i ( Y | X ∼ i ) ) = 1 2 N ∑ j = 1 N ( f ( A ) − f ( A B ( i ) ) j ) 2 .

You can find details about the formulas above in the article “Variance-Based Sensitivity Analysis of Model Output. Design and Estimator for the Total Sensitivity Index” by Saltelli, et al. (2010).