ArticleslgStudy

mathematics

Variance-based sensitivity analysis

Variance-based sensitivity analysis is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Variance-based sensitivity analysis rather than just read about it. In short: Variance-based sensitivity analysis (often referred to as the Sobol’ method or Sobol’ indices, after Ilya M. Sobol’) is a form of global sensitivity analysis.

Variance-based sensitivity analysis — main illustration
Variance-based sensitivity analysis — illustration

Key takeaways

  • Variance-based sensitivity analysis belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Variance-based sensitivity analysis to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Variance-based sensitivity analysis from memory before moving on to harder problems.

Reference excerpt

Variance-based sensitivity analysis (often referred to as the Sobol’ method or Sobol’ indices, after Ilya M. Sobol’) is a form of global sensitivity analysis. Working within a probabilistic framework, it decomposes the variance of the output of the model or system into fractions which can be attributed to inputs or sets of inputs. For example, given a model with two inputs and one output, one might find that 70% of the output variance is caused by the variance in the first input, 20% by the variance in the second, and 10% due to interactions between the two. These percentages are directly interpreted as measures of sensitivity. Variance-based measures of sensitivity are attractive because they measure sensitivity across the whole input space (i.e. it is a global method), they can deal with nonlinear responses, and they can measure the effect of interactions in non-additive systems.

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(𝐗)d𝐗−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(E𝐗∼i(Y∣Xi)), Vij=VarXij(E𝐗∼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.

First-order indices A direct variance-based measure of sensitivity Si, called the "first-order sensitivity index", or "main effect index" is stated as follows,

Si=ViVar⁡(Y) This is the contribution to the output variance of the main effect of Xi, therefore it measures the effect of varying Xi alone, but averaged over variations in other input parameters. It is standardised by the total variance to provide a fractional contribution. Higher-order interaction indices Sij, Sijk and so on can be formed by dividing other terms in the variance decomposition by Var(Y). Note that this has the implication that,

∑i=1dSi+∑i<jdSij+⋯+S12…d=1

Total-effect index Using the Si, Sij and higher-order indices given above, one can build a picture of the importance of each variable in determining the output variance. However, when the number of variables is large, this requires the evaluation of 2d-1 indices, which can be too computationally demanding. For this reason, a measure known as the "Total-effect index" or "Total-order index", STi, is used. This measures the contribution to the output variance of Xi, including all variance caused by its interactions, of any order, with any other input variables. It is given as,

STi=E𝐗∼i(VarXi(Y∣𝐗∼i))Var⁡(Y)=1−Var𝐗∼i(EXi(Y∣𝐗∼i))Var⁡(Y) Note that unlike the Si,

∑i=1dSTi≥1 due to the fact that the interaction effect between e.g. Xi and Xj is counted in both STi and STj. In fact, the sum of the STi will only be equal to 1 when the model is purely additive.

Calculation of indices For analytically tractable functions, the indices above may be calculated analytically by evaluating the integrals in the decomposition. However, in the vast majority of cases they are estimated – this is usually done by the Monte Carlo method.

Sampling sequences

The Monte Carlo approach involves generating a sequence of randomly distributed points inside the unit hypercube (strictly speaking these will be pseudorandom). In practice, it is common to substitute random sequences with low-discrepancy sequences to improve the efficiency of the estimators. This is then known as the quasi-Monte Carlo method. Some low-discrepancy sequences commonly used in sensitivity analysis include the Sobol’ sequence and the Latin hypercube design.

Procedure To calculate the indices using the (quasi) Monte Carlo method, the following steps are used:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Variance-based sensitivity analysis

Start with the simplest possible case. Write down what Variance-based sensitivity analysis claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Variance-based sensitivity analysis before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Variance-based sensitivity analysis ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Variance-based sensitivity analysis

In research
Variance-based sensitivity analysis appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Variance-based sensitivity analysis in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Variance-based sensitivity analysis is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical modeling, Sensitivity analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Variance-based sensitivity analysis outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Variance-based sensitivity analysis” →

How to study Variance-based sensitivity analysis in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Variance-based sensitivity analysis means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Variance-based sensitivity analysis out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Variance-based sensitivity analysis in simple terms?

Variance-based sensitivity analysis (often referred to as the Sobol’ method or Sobol’ indices, after Ilya M. Sobol’) is a form of global sensitivity analysis.

Why does Variance-based sensitivity analysis matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Variance-based sensitivity analysis?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Variance-based sensitivity analysis.

Tags

  • Mathematical modeling
  • Sensitivity analysis

Keep exploring