3.2. Global Sensitivity Analysis (Dakota)¶
Global Sensitivity Analysis in Dakota Engine is based on Eqs. (8) and (9) of [Weirs12]. Using the raw analysis samples shown in “RES” tab - “Data Values” tab after running a sensitivity analysis, one can reproduce the sensitivity indices as follows.
According to [Weirs12], the main and total Sobol indices of \(i\)-th random variable for a quantity of interest (QoI) are computed by
See [Weirs12] for notation details. Note that, the second formulation looks slightly different from Eq. (9) of the original paper, becuase \(\boldsymbol{A}\) is switched with \(\boldsymbol{B}\). This is to reuse \(f(\boldsymbol{B_A}^{(i)})\) in the main index for computing the total index.
To reproduce the main and total sensitivity indices of \(i\)-th random variable, one can substitute \(n\) with the simulation number specified in the user interface, \(f(\boldsymbol{A})\) with the vector of first \(n\) QoI sample values (sample id from \(1\) to \(n\)), \(f(\boldsymbol{B})\) with that of subsequent \(n\) QoI samples (sample id from \(n+1\) to \(2n\)), and \(f(\boldsymbol{B_A}^{(i)})\) with that of sample id from \((i+1)n+1\) to \((i+2)n\).