Mathematical overview of variance-based methods
Source:vignettes/variance-based-methods.Rmd
variance-based-methods.RmdThis article provides a mathematical overview of the variance-based global sensitivity analysis methods implemented in the OSP Global Sensitivity package, namely the Sobol method of Homma & Saltelli and the Extended Fourier Amplitude Sensitivity Test (EFAST) method of Saltelli et al. It corresponds to Supplementary Materials 2 of the accompanying publication:
Najjar A, Hamadeh A, Krause S, Schepky A, Edginton A. Global sensitivity analysis of Open Systems Pharmacology Suite physiologically based pharmacokinetic models. CPT Pharmacometrics Syst Pharmacol. 2024;13:2052-2067. doi: 10.1002/psp4.13256
Variance-based methods start by expressing a pharmacokinetic parameter in terms of a summation of functions of subsets of the parameters , as described in Homma & Saltelli:
Thus, the decomposition of Equation 1 splits into distinct functions corresponding to each unique combination of parameters . The variance of may similarly be decomposed. For the case of parameters (, , ), the decomposition of the total variance is as follows:
The indices represent first order indices that quantify the proportion of the total variance that is due to variation solely in a single parameter . In addition, as defined in Homma & Saltelli, a total effect can also be defined as the sum of all components of that involve parameter . For the case of parameters, the total effect variances are given by
The first order sensitivity for parameter is thus given by , and the corresponding total effect sensitivity .
Mathematical derivation
The decomposition of in terms of a summation of functions of subsets of the parameters , as given in Equation 1, is such that, by construction,
Without loss of generality, we limit this analysis to the case , and therefore:
The function has mean value
Under the condition of Equation 2,
Yielding , and similarly and .
Similarly, using Equation 1,
which yields , and similarly and .
Moreover, as shown in Homma & Saltelli, any two (distinct) functions and are orthogonal:
Based on this decomposition and the orthogonality property, the variance of may also be decomposed. For the case of parameters, the total variance in the PK parameter () is decomposed as
where
The first order effect is given by
while the total effect is given by
For the case of parameters, the total effect variances are given by
The first order sensitivity for parameter is thus given by , and the corresponding total effect sensitivity .
Computation of variance-based sensitivity indices
The computation of the first order and total effect indices requires evaluating the of the model outputs at numerous points in the space of parameters . A variety of methods have been reported for efficiently traversing this parameter space in a way that gives satisfactory evaluation of and . The OSP Global Sensitivity package provides two methods for sampling the parameter space and computing and : that of Homma & Saltelli and the EFAST method in Saltelli et al.
The initial stage in both methodologies entails the establishment of a sampling scheme for the selection of points within the parameter space where is to be evaluated. One possibility is to use a uniform distribution over the unit hypercube of quantiles of the probability distribution of the parameters . The inverse cumulative probability distribution of each parameter can then be used to map the point in the quantile space to the corresponding point in the parameter space for input into the PBPK model (Figure 1-A). Alternative methods are however used in both Homma & Saltelli and the EFAST method in Saltelli et al., as described next.






Figure 1. Sampling strategies on the unit square of quantiles (left of each pair) and their translation onto parameter space (right of each pair) under (A) uniform sampling, (B) Sobol sequence sampling, and (C) EFAST sampling.
Homma & Saltelli (Sobol)
The sampling of the parameter space in Homma & Saltelli utilizes a Sobol quasi-random Monte Carlo method. As shown in Figure 1-B, this approach offers the advantage of producing more evenly distributed and less clustered points across the unit hypercube compared to uniform sampling, while maintaining a quasi-random distribution.
To compute the sensitivity indices and , the following procedure from Homma & Saltelli is used. Two sets of Sobol sequences of samples (where is user-selected) from the unit -dimensional hypercube are generated and then mapped into the parameter space via the inverse cumulative distributions of the parameters . These parameter space samples can be organized into matrices, which we denote by and . For the case of parameters, these can be represented as
A total of additional sets of samples () are then generated from the original two by substituting columns from into . For the case of parameters:
The PBPK model is evaluated with parameters set to the values in each of the rows of the matrices , , and , giving a total of model evaluations in each run of this algorithm.
The mean value of is approximated by , where means that is evaluated using the parameters taken from the row of .
Similarly, the total variance in is estimated as , while the numerical approximation to the first order variance in Equation 3 is given by
On the other hand, the total effect variance is approximated numerically as:
EFAST
In contrast to the Monte Carlo approach of Homma & Saltelli, the Extended Fourier Amplitude Sensitivity Test (EFAST) method of Saltelli et al. uses a systematic algorithm to traverse the space of parameters via a series of curves that oscillate periodically at different frequencies (), as shown in Figure 2.
As the scalar varies from to , points in the -dimensional hypercube are sampled along curves given by , where is a random perturbation. The rate of sampling is given by , where and . Selection of the frequencies is as per Saltelli et al. The choice of and the sampling rate ensures adherence to the Nyquist sampling criterion, which requires the sampling rate of a signal (i.e., the values as they vary in response to periodic variations in ) to be at least to ensure no information loss and accurate reconstruction of the original signal from the acquired samples.
The sampled points, residing in the quantile space within the unit hypercube, are mapped onto parameter space using the inverse cumulative distribution functions of the respective parameters (Figure 1-C). Evaluation of PK parameters such as and is performed at each sample point by updating the PBPK model with the sample point values of , simulating the model to evaluate the output time profile of interest (), and calculating the PK parameter for that output time profile.
To analyze the frequency characteristics of the resulting PK parameter evaluations, the Fast Fourier Transform (FFT) is employed (Figure 2). The FFT derives the frequency spectrum of the PK parameter as it varies across the sample point curves. First-order sensitivity indices of parameter , , are calculated by assessing the fraction of the total spectrum at frequency , which is associated with parameter . Higher order harmonics (at frequencies ) quantify interactions between parameter and other parameters. The total effect sensitivity indices are computed by subtracting from the spectrum all frequency components that are not associated with parameter at frequencies ().
For each model parameter , the EFAST method in the OSP Global Sensitivity package evaluates and by setting a high frequency and a lower set of frequencies for the remaining parameters, thereby ensuring separation of the spectra associated with these parameters in the frequency space. The spectrum at and its higher order harmonics may then be separated from the spectrum associated with the remaining parameters . This procedure is repeated times, once for each parameter. The user may specify the number of repetitions of the algorithm, the results of which are averaged whenever . Thus, there are a total of points at which the PBPK model is simulated and its PK parameters evaluated.

Figure 2. Overview of the EFAST global sensitivity method of Saltelli et al. The unit hypercube of quantiles is traversed via periodic curves of varying frequencies that correspond to model parameters as the scalar quantity theta varies over [0, 2*pi). Sampled points are mapped onto the space of parameters via the inverse cumulative distribution of each parameter, the PK parameters of interest are evaluated at each sample point, and the Fast Fourier Transform is used to derive the frequency spectrum of the resulting PK parameter evaluations.
References
- Homma T, Saltelli A. Importance measures in global sensitivity analysis of nonlinear models. Reliability Engineering & System Safety. 1996;52:1-17.
- Saltelli A, Tarantola S, Chan KP-S. A Quantitative Model-Independent Method for Global Sensitivity Analysis of Model Output. Technometrics. 1999;41(1):39-56.