Skip to contents

This 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 PKPK in terms of a summation of functions of subsets of the parameters p1,,pnp_{1},\cdots,\ p_{n}, as described in Homma & Saltelli:

PK=h(p1,,pn)=h0+ihi(pi)+i,jhij(pi,pj)++h1n(p1,,pn)(1)PK = h\left( p_{1},\cdots,p_{n} \right) = h_{0} + \sum_{i} h_{i}\left( p_{i} \right) + \sum_{i,j} h_{ij}\left( p_{i},\ p_{j} \right) + \cdots + h_{1\cdots n}\left( p_{1},\cdots,\ p_{n} \right) \quad (1)

Thus, the decomposition of Equation 1 splits PKPK into distinct functions corresponding to each unique combination of parameters p1pnp_{1}\cdots p_{n}. The variance DD of PKPK may similarly be decomposed. For the case of n=3n = 3 parameters (p1p_{1}, p2p_{2}, p3p_{3}), the decomposition of the total variance is as follows:

D=D1+D2+D3+D12+D13+D23+D123D = D_{1} + D_{2} + D_{3} + D_{12} + D_{13} + D_{23} + D_{123}

The indices DiD_{i} represent first order indices that quantify the proportion of the total variance DD that is due to variation solely in a single parameter pip_{i}. In addition, as defined in Homma & Saltelli, a total effect DiTD_{i}^{T} can also be defined as the sum of all components of Var(PK)Var(PK) that involve parameter ii. For the case of n=3n = 3 parameters, the total effect variances are given by

D1T=D1+D12+D13+D123=DD2D3D23D_{1}^{T} = D_{1} + D_{12} + D_{13} + D_{123} = D - D_{2} - D_{3} - D_{23}D2T=D2+D12+D23+D123=DD1D3D13D_{2}^{T} = D_{2} + D_{12} + D_{23} + D_{123} = D - D_{1} - D_{3} - D_{13}D3T=D3+D13+D23+D123=DD1D2D12D_{3}^{T} = D_{3} + D_{13} + D_{23} + D_{123} = D - D_{1} - D_{2} - D_{12}

The first order sensitivity for parameter pip_{i} is thus given by Si=Di/DS_{i} = D_{i}/D, and the corresponding total effect sensitivity SiT=DiT/DS_{i}^{T} = D_{i}^{T}/D.

Mathematical derivation

The decomposition of PKPK in terms of a summation of functions of subsets of the parameters p1,,pnp_{1},\cdots,\ p_{n}, as given in Equation 1, is such that, by construction,

hij(pi,,pj)P(pi,,pj)dpk=0for any ki,,j.(2)\int h_{i\cdots j}\left( p_{i},\cdots,p_{j} \right)P\left( p_{i},\cdots,p_{j} \right)dp_{k} = 0 \quad \text{for any } k \in i,\cdots,j. \quad (2)

Without loss of generality, we limit this analysis to the case n=3n = 3, and therefore:

h=h0+h1+h2+h3+h12+h13+h23+h123h = h_{0} + h_{1} + h_{2} + h_{3} + h_{12} + h_{13} + h_{23} + h_{123}

The function h(p1,p2,p3)h\left( p_{1},p_{2},p_{3} \right) has mean value

h0=E[PK]=h(p1,p2,p3)P(p1,p2,p3)dp1dp2dp3h_{0} = E\lbrack PK\rbrack = \int h(p_{1},p_{2},p_{3}) \cdot P\left( p_{1},p_{2},p_{3} \right) \cdot dp_{1}dp_{2}dp_{3}

Under the condition of Equation 2,

h123(p1,p2,p3)P(p1,p2,p3)dp2dp3=0=h(p1,p2,p3)P(p1,p2,p3)dp2dp3h0h1\int h_{123}\left( p_{1},p_{2},p_{3} \right)P\left( p_{1},p_{2},p_{3} \right)dp_{2}dp_{3} = 0 = \int h\left( p_{1},p_{2},p_{3} \right) \cdot P\left( p_{1},p_{2},p_{3} \right)dp_{2}dp_{3} - h_{0} - h_{1}

Yielding h1(p1)=E[PK|p1]h0h_{1}\left( p_{1} \right) = E\left\lbrack PK|p_{1} \right\rbrack - h_{0}, and similarly h2(p2)=E[PK|p2]h0h_{2}\left( p_{2} \right) = E\left\lbrack PK|p_{2} \right\rbrack - h_{0} and h3(p3)=E[PK|p3]h0h_{3}\left( p_{3} \right) = E\left\lbrack PK|p_{3} \right\rbrack - h_{0}.

Similarly, using Equation 1,

h123(p1,p2,p3)P(p1,p2,p3)dp1=0=h(p1,p2,p3)P(p1,p2,p3)dp1h0h2h3h23\int h_{123}\left( p_{1},p_{2},p_{3} \right)P\left( p_{1},p_{2},p_{3} \right)dp_{1} = 0 = \int h\left( p_{1},p_{2},p_{3} \right) \cdot P\left( p_{1},p_{2},p_{3} \right)dp_{1} - h_{0} - h_{2} - h_{3} - h_{23}

which yields h23(p2,p3)=E[PK|p2,p3]h0h2h3h_{23}\left( p_{2},p_{3} \right) = E\left\lbrack PK|p_{2},p_{3} \right\rbrack - h_{0} - h_{2} - h_{3}, and similarly h12(p1,p2)=E[PK|p1,p2]h0h1h2h_{12}\left( p_{1},p_{2} \right) = E\left\lbrack PK|p_{1},p_{2} \right\rbrack - h_{0} - h_{1} - h_{2} and h13(p1,p3)=E[PK|p1,p3]h0h1h3h_{13}\left( p_{1},p_{3} \right) = E\left\lbrack PK|p_{1},p_{3} \right\rbrack - h_{0} - h_{1} - h_{3}.

Moreover, as shown in Homma & Saltelli, any two (distinct) functions hijh_{i\cdots j} and hijh_{i'\cdots j'} are orthogonal:

hij(pi,,pj)hij(pi,,pj)P(p1,,pn)dp1dpn=0\int h_{i\cdots j}\left( p_{i},\cdots,\ p_{j} \right) \cdot h_{i'\cdots j'}\left( p_{i'},\cdots,\ p_{j'} \right) \cdot P\left( p_{1},\cdots,\ p_{n} \right)\ dp_{1}\cdots dp_{n} = 0

Based on this decomposition and the orthogonality property, the variance of PKPK may also be decomposed. For the case of n=3n = 3 parameters, the total variance in the PK parameter (Var(PK)Var(PK)) is decomposed as

Var(PK)=D=D1+D2+D3+D12+D13+D23+D123Var(PK) = D = D_{1} + D_{2} + D_{3} + D_{12} + D_{13} + D_{23} + D_{123}

where

Dij=hij2(pi,,pj)P(pi,,pj)dpidpjD_{i\cdots j} = \int h_{i\cdots j}^{2}\left( p_{i},\cdots,p_{j} \right) \cdot P\left( p_{i},\cdots,p_{j} \right) \cdot dp_{i}\cdots dp_{j}

The first order effect is given by

Di=Var[E[PK|pi]]=hi2(pi)P(pi)dpi=(h(p1,,pn)P(pji)dpji)2P(pi)dpif02(3)D_{i} = Var\left\lbrack E\left\lbrack PK|p_{i} \right\rbrack \right\rbrack = \int h_{i}^{2}\left( p_{i} \right) \cdot P\left( p_{i} \right) \cdot dp_{i} = \int \left( \int h\left( p_{1},\cdots,\ p_{n} \right) \cdot P\left( p_{j \neq i} \right) \cdot dp_{j \neq i} \right)^{2} \cdot P\left( p_{i} \right) \cdot dp_{i} - f_{0}^{2} \quad (3)

while the total effect is given by

DiT=Var(PK)Var(E[PK|pji])=h2(p1,,pn)P(p1,,pn)dp1dpn(h(p1,,pn)P(pi)dpi)2P(pji)dpji(4)D_{i}^{T} = Var(PK) - Var\left( E\lbrack PK|p_{j \neq i}\rbrack \right) = \int h^{2}\left( p_{1},\cdots,p_{n} \right) \cdot P\left( p_{1},\cdots,p_{n} \right) \cdot dp_{1}\cdots dp_{n} - \int \left( \int h\left( p_{1},\cdots,p_{n} \right) \cdot P\left( p_{i} \right) \cdot dp_{i} \right)^{2} \cdot P\left( p_{j \neq i} \right) \cdot dp_{j \neq i} \quad (4)

For the case of n=3n = 3 parameters, the total effect variances are given by

D1T=D1+D12+D13+D123=DD2D3D23=Var(PK)Var(E[PK|p2,p3])(5)D_{1}^{T} = D_{1} + D_{12} + D_{13} + D_{123} = D - D_{2} - D_{3} - D_{23} = Var(PK) - Var\left( E\lbrack PK|p_{2},p_{3}\rbrack \right) \quad (5)D2T=D2+D12+D23+D123=DD1D3D13=Var(PK)Var(E[PK|p1,p3])D_{2}^{T} = D_{2} + D_{12} + D_{23} + D_{123} = D - D_{1} - D_{3} - D_{13} = Var(PK) - Var\left( E\lbrack PK|p_{1},p_{3}\rbrack \right)D3T=D3+D13+D23+D123=DD1D2D12=Var(PK)Var(E[PK|p1,p2])D_{3}^{T} = D_{3} + D_{13} + D_{23} + D_{123} = D - D_{1} - D_{2} - D_{12} = Var(PK) - Var\left( E\lbrack PK|p_{1},p_{2}\rbrack \right)

The first order sensitivity for parameter pip_{i} is thus given by Si=Di/DS_{i} = D_{i}/D, and the corresponding total effect sensitivity SiT=DiT/DS_{i}^{T} = D_{i}^{T}/D.

Computation of variance-based sensitivity indices

The computation of the first order and total effect indices requires evaluating the PKPK of the model outputs y(t)y(t) at numerous points in the space of parameters p1,,pnp_{1},\cdots,p_{n}. A variety of methods have been reported for efficiently traversing this parameter space in a way that gives satisfactory evaluation of SiS_{i} and SiTS_{i}^{T}. The OSP Global Sensitivity package provides two methods for sampling the parameter space and computing SiS_{i} and SiTS_{i}^{T}: 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 PKPK 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 p1,,pnp_{1},\cdots,\ p_{n}. 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.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.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.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.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.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.

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 SiS_{i} and SiTS_{i}^{T}, the following procedure from Homma & Saltelli is used. Two sets of Sobol sequences of NN samples (where NN is user-selected) from the unit nn-dimensional hypercube are generated and then mapped into the parameter space via the inverse cumulative distributions of the parameters P(pi)P(p_{i}). These parameter space samples can be organized into N×nN \times n matrices, which we denote by UAU_{A} and UBU_{B}. For the case of n=3n = 3 parameters, these can be represented as

UA=[A1A2A3]andUB=[B1B2B3]U_{A} = \begin{bmatrix} \vdots & \vdots & \vdots \\ A_{1} & A_{2} & A_{3} \\ \vdots & \vdots & \vdots \end{bmatrix} \quad \text{and} \quad U_{B} = \begin{bmatrix} \vdots & \vdots & \vdots \\ B_{1} & B_{2} & B_{3} \\ \vdots & \vdots & \vdots \end{bmatrix}

A total of nn additional sets of samples (U1,,UnU_{1},\ \cdots,U_{n}) are then generated from the original two by substituting columns from UAU_{A} into UBU_{B}. For the case of n=3n = 3 parameters:

U1=[A1B2B3],U2=[B1A2B3],U3=[B1B2A3]U_{1} = \begin{bmatrix} \vdots & \vdots & \vdots \\ A_{1} & B_{2} & B_{3} \\ \vdots & \vdots & \vdots \end{bmatrix}, \quad U_{2} = \begin{bmatrix} \vdots & \vdots & \vdots \\ B_{1} & A_{2} & B_{3} \\ \vdots & \vdots & \vdots \end{bmatrix}, \quad U_{3} = \begin{bmatrix} \vdots & \vdots & \vdots \\ B_{1} & B_{2} & A_{3} \\ \vdots & \vdots & \vdots \end{bmatrix}

The PBPK model is evaluated with parameters p1,,pnp_{1},\cdots,p_{n} set to the values in each of the NN rows of the n+2n + 2 matrices UAU_{A}, UBU_{B}, and U1,,UnU_{1},\cdots,U_{n}, giving a total of N(n+2)N(n + 2) model evaluations in each run of this algorithm.

The mean value of PKPK is approximated by h0=1Nj=1Nh(UAj)h_{0} = \frac{1}{N}\sum_{j = 1}^{N} h\left( {U_{A}}_{j} \right), where h(UAj)h\left( {U_{A}}_{j} \right) means that PK=h(p1,,pn)PK = h\left( p_{1},\cdots,p_{n} \right) is evaluated using the parameters taken from the jthj^{th} row of UAU_{A}.

Similarly, the total variance in PKPK is estimated as D=Var(PK)=(1Nj=1Nh2(UAj))h02D = Var(PK) = \left( \frac{1}{N}\sum_{j = 1}^{N} h^{2}\left( {U_{A}}_{j} \right) \right) - h_{0}^{2}, while the numerical approximation to the first order variance DiD_{i} in Equation 3 is given by

Di=(1Nj=1Nh(UAj)h(Uij))h02.D_{i} = \left( \frac{1}{N}\sum_{j = 1}^{N} h\left( {U_{A}}_{j} \right)h\left( {U_{i}}_{j} \right) \right) - h_{0}^{2}.

On the other hand, the total effect variance is approximated numerically as:

DiT=D((1Nj=1Nh(UBj)h(Uij))h02).D_{i}^{T} = D - \left( \left( \frac{1}{N}\sum_{j = 1}^{N} h\left( {U_{B}}_{j} \right)h\left( {U_{i}}_{j} \right) \right) - h_{0}^{2} \right).

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 p1,,pnp_{1},\cdots,\ p_{n} via a series of curves that oscillate periodically at different frequencies (ω1,,ωn\omega_{1},\ \cdots,\omega_{n}), as shown in Figure 2.

As the scalar θ\theta varies from θ=0\theta = 0 to θ=2π\theta = 2\pi, points in the nn-dimensional hypercube are sampled along curves given by 12+1πarcsin(sin(ωiθ+φi))\frac{1}{2} + \frac{1}{\pi}\arcsin\left( \sin\left( \omega_{i}\theta + \varphi_{i} \right) \right), where φi\varphi_{i} is a random perturbation. The rate of sampling is given by ωs=2Mωmax+1\omega_{s} = 2 \cdot M \cdot \omega_{\max} + 1, where ωmax=max(ω1,,ωn)\omega_{\max} = \max\left( \omega_{1},\ \cdots,\omega_{n} \right) and M=4M = 4. Selection of the frequencies ω1,,ωn\omega_{1},\ \cdots,\omega_{n} is as per Saltelli et al. The choice of MM and the sampling rate ωs\omega_{s} ensures adherence to the Nyquist sampling criterion, which requires the sampling rate of a signal (i.e., the PKPK values as they vary in response to periodic variations in p1,,pnp_{1},\cdots,p_{n}) to be at least 2ωmax2 \cdot \omega_{\max} to ensure no information loss and accurate reconstruction of the original signal from the acquired PKPK 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 (p1,,pn)\left( p_{1},\cdots,\ p_{n} \right) (Figure 1-C). Evaluation of PK parameters such as AUCAUC and CmaxC_{\max} is performed at each sample point by updating the PBPK model with the sample point values of (p1,,pn)\left( p_{1},\cdots,\ p_{n} \right), simulating the model to evaluate the output time profile of interest (y(t)y(t)), 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 pip_{i}, S1(pi)S_{1}\left( p_{i} \right), are calculated by assessing the fraction of the total spectrum at frequency ωi\omega_{i}, which is associated with parameter pip_{i}. Higher order harmonics (at frequencies 2ωi,3ωi,{2\omega}_{i},\ 3\omega_{i}, \cdots) quantify interactions between parameter pip_{i} and other parameters. The total effect sensitivity indices S1T(pi)S_{1}^{T}\left( p_{i} \right) are computed by subtracting from the spectrum all frequency components that are not associated with parameter pip_{i} at frequencies (ωi,2ωi,3ωi,\omega_{i},{2\omega}_{i},\ 3\omega_{i}, \cdots).

For each model parameter pip_{i}, the EFAST method in the OSP Global Sensitivity package evaluates S1(pi)S_{1}\left( p_{i} \right) and S1T(pi)S_{1}^{T}\left( p_{i} \right) by setting a high frequency ωi\omega_{i} 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 ωi\omega_{i} and its higher order harmonics may then be separated from the spectrum associated with the remaining parameters pjip_{j \neq i}. This procedure is repeated nn times, once for each parameter. The user may specify the number of repetitions Nr1N_{r} \geq 1 of the algorithm, the results of which are averaged whenever Nr>1N_{r} > 1. Thus, there are a total of nNr(2Mωmax+1)n \cdot N_{r} \cdot \left( 2 \cdot M \cdot \omega_{\max} + 1 \right) 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.

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

  1. Homma T, Saltelli A. Importance measures in global sensitivity analysis of nonlinear models. Reliability Engineering & System Safety. 1996;52:1-17.
  2. 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.