HOME

TheInfoList



OR:

Fourier amplitude sensitivity testing (FAST) is a variance-based global
sensitivity analysis Sensitivity analysis is the study of how the uncertainty in the output of a mathematical model or system (numerical or otherwise) can be divided and allocated to different sources of uncertainty in its inputs. A related practice is uncertainty anal ...
method. The sensitivity value is defined based on
conditional variance In probability theory and statistics, a conditional variance is the variance of a random variable given the value(s) of one or more other variables. Particularly in econometrics, the conditional variance is also known as the scedastic function or ...
s which indicate the individual or joint effects of the uncertain inputs on the output. FAST first represents conditional variances via coefficients from the multiple
Fourier series A Fourier series () is a summation of harmonically related sinusoidal functions, also known as components or harmonics. The result of the summation is a periodic function whose functional form is determined by the choices of cycle length (or ''p ...
expansion of the output function. Then the
ergodic theorem Ergodic theory (Greek: ' "work", ' "way") is a branch of mathematics that studies statistical properties of deterministic dynamical systems; it is the study of ergodicity. In this context, statistical properties means properties which are expres ...
is applied to transform the multi-dimensional integral to a one-dimensional integral in evaluation of the Fourier coefficients. A set of incommensurate frequencies is required to perform the transform and most frequencies are irrational. To facilitate computation a set of integer frequencies is selected instead of the irrational frequencies. The integer frequencies are not strictly incommensurate, resulting in an error between the multi-dimensional integral and the transformed one-dimensional integral. However, the integer frequencies can be selected to be incommensurate to any order so that the error can be controlled meeting any precision requirement in theory. Using integer frequencies in the integral transform, the resulted function in the one-dimensional integral is periodic and the integral only needs to evaluate in a single period. Next, since the continuous integral function can be recovered from a set of finite sampling points if the
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is a theorem in the field of signal processing which serves as a fundamental bridge between continuous-time signals and discrete-time signals. It establishes a sufficient condition for a sample rate that pe ...
is satisfied, the one-dimensional integral is evaluated from the summation of function values at the generated sampling points. FAST is more efficient to calculate sensitivities than other variance-based global sensitivity analysis methods via
Monte Carlo integration In mathematics, Monte Carlo integration is a technique for numerical integration using random numbers. It is a particular Monte Carlo method that numerically computes a definite integral. While other algorithms usually evaluate the integrand a ...
. However the calculation by FAST is usually limited to sensitivities referred to as “main effects” or “first-order effects” due to the computational complexity in computing higher-order effects.


History

The FAST method originated in study of coupled chemical reaction systems in 1973 and the detailed analysis of the computational error was presented latter in 1975. Only the first order sensitivity indices referring to “main effect” were calculated in the original method. A FORTRAN computer program capable of analyzing either algebraic or differential equation systems was published in 1982. In 1990s, the relationship between FAST sensitivity indices and Sobol’s ones calculated from
Monte-Carlo simulation Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be determini ...
was revealed in the general framework of
ANOVA Analysis of variance (ANOVA) is a collection of statistical models and their associated estimation procedures (such as the "variation" among and between groups) used to analyze the differences among means. ANOVA was developed by the statistician ...
-like decomposition and an extended FAST method able to calculate sensitivity indices referring to “total effect” was developed.


Foundation


Variance-based sensitivity

Sensitivity indices of a variance-based method are calculated via ANOVA-like decomposition of the function for analysis. Suppose the function is Y = f\left(\mathbf\right)=f\left(X_1,X_2,\dots,X_n\right) where 0 \leq X_j \leq 1, j=1, \dots, n. The ANOVA-like decomposition is :f\left(X_1,X_2,\ldots,X_n\right)=f_0+\sum_^nf_j\left(X_j\right)+\sum_^\sum_^n f_\left(X_j,X_k\right)+ \cdots +f_ provided that f_0 is a constant and the integral of each term in the sums is zero, i.e. : \int_0^1 f_\left(X_,X_,\dots,X_\right)dX_=0, \text 1 \leq k \leq r. The conditional variance which characterizes the contribution of each term to the total variance of f\left(\mathbf\right) is : V_=\int_0^1 \cdots \int_0^1 f_^2\left(X_,X_,\dots,X_\right)dX_dX_\dots dX_. The total variance is the sum of all conditional variances : V = \sum_^n V_j + \sum_^ \sum_^n V_ + \cdots + V_. The sensitivity index is defined as the normalized conditional variance as : S_ = \frac especially the first order sensitivity : S_j=\frac which indicates the main effect of the input X_j .


Multiple Fourier series

One way to calculate the ANOVA-like decomposition is based on multiple Fourier series. The function f\left(\mathbf\right) in the unit hyper-cube can be extended to a multiply periodic function and the multiple Fourier series expansion is : f\left(X_1,X_2,\dots,X_n\right) = \sum_^ \sum_^ \cdots \sum_^ C_\exp\bigl \pi i\left( m_1X_1 + m_2X_2 + \cdots + m_nX_n \right) \bigr \textm_1, m_2, \dots, m_n where the Fourier coefficient is : C_ = \int_0^1 \cdots \int_0^1 f\left(X_1,X_2,\dots,X_n\right) \exp\bigl 2\pi i \left( m_1X_1+m_2X_2+\dots+m_nX_n \right) \bigr The ANOVA-like decomposition is : \begin f_0 &= C_ \\ f_j &= \sum_ C_ \exp\bigl \pi i m_jX_j \bigr\\ f_ &= \sum_ \sum_ C_ \exp\bigl \pi i \left( m_jX_j + m_kX_k \right) \bigr\\ f_ &= \sum_ \sum_ \cdots \sum_ C_ \exp\bigl 2\pi i \left( m_1X_1+m_2X_2+\cdots+m_nX_n \right) \bigr \end The first order conditional variance is : \begin V_j &= \int_0^1 f_j^2\left(X_j\right)dX_j\\ &= \sum_ \left, C_ \^2\\ &= 2\sum_^ \left( A_^2+B_^2 \right) \end where A_ and B_ are the real and imaginary part of C_ respectively : A_ = \int_0^1 \cdots \int_0^1 f \left(X_1, X_2, \dots, X_n\right) \cos\left(2\pi m_jX_j\right)dX_1dX_2 \dots dX_n B_ = \int_0^1 \cdots \int_0^1 f \left(X_1, X_2, \dots, X_n\right) \sin\left(2\pi m_jX_j\right)dX_1dX_2 \dots dX_n


Ergodic theorem

A multi-dimensional integral must be evaluated in order to calculate the Fourier coefficients. One way to evaluate this multi-dimensional integral is to transform it into a one-dimensional integral by expressing every input as a function of a new independent variable s , as follows : X_j \left( s \right) = \frac\left(\omega_j s \text 2\pi \right), j = 1,2,\dots,n where \left\ is a set of incommensurate frequencies, i.e. : \sum_^n \gamma_j\omega_j = 0 for an integer set of \left\ if and only if \gamma_j = 0 for every j . Then the Fourier coefficients can be calculated by a one-dimensional integral according to the ergodic theorem Weyl, H. (1938). Mean motion. ''American Journal of Mathematics'', 60, 889–896. : A_ = \lim_ \frac \int_^T f\bigl(X_1\left(s\right),X_2\left(s\right),\dots,X_n\left(s\right)\bigr)\cos\bigl(2\pi m_jX_j\left(s\right)\bigr)ds B_ = \lim_ \frac \int_^T f\bigl(X_1\left(s\right),X_2\left(s\right),\dots,X_n\left(s\right)\bigr)\sin\bigl(2\pi m_jX_j\left(s\right)\bigr)ds


Implementation


Integer frequencies

At most one of the incommensurate frequencies \left\ can be rational with all others being irrational. Since the numerical value of an irrational number cannot be stored exactly in a computer, an approximation of the incommensurate frequencies by all rational numbers is required in implementation. Without loss of any generality the frequencies can be set as integers instead of any rational numbers. A set of integers \left\ is approximately incommensurate to the order of M if : \sum_^n \gamma_j\omega_j \neq 0 for : \sum_^n \left, \gamma_j \ \leq M + 1 where M is an integer. The exact incommensurate condition is an extreme case when M \to \infty . Using the integer frequencies the function in the transformed one-dimensional integral is periodic so only the integration over a period of 2\pi is required. The Fourier coefficients can be approximately calculated as : \begin A_ &\approx \frac \int_^ f\bigl(X_1\left(s\right),X_2\left(s\right),\dots,X_n\left(s\right)\bigr)\cos\left(m_j\omega_j s\right)ds := \hat_\\ B_ &\approx \frac \int_^ f\bigl(X_1\left(s\right),X_2\left(s\right),\dots,X_n\left(s\right)\bigr)\sin\left(m_j\omega_j s\right)ds := \hat_ \end The approximation of the incommensurate frequencies for a finite M results in a discrepancy error between the true Fourier coefficients A_ , B_ and their estimates \hat_ , \hat_ . The larger the order M is the smaller the error is but the more computational efforts are required to calculate the estimates in the following procedure. In practice M is frequently set to 4 and a table of resulted frequency sets which have up to 50 frequencies is available. (McRae et al., 1982)


Search curve

The transform, X_j \left( s \right) = \frac\left(\omega_j s \text 2\pi \right), defines a search curve in the input space. If the frequencies, \omega_j, j = 1,\dots,n , are incommensurate, the search curve can pass through every point in the input space as s varies from 0 to \infty so the multi-dimensional integral over the input space can be accurately transformed to a one-dimensional integral along the search curve. However, if the frequencies are approximately incommensurate integers, the search curve cannot pass through every point in the input space. If fact the search is repeated since the transform function is periodic, with a period of 2\pi. The one-dimensional integral can be evaluated over a single period instead of the infinite interval for incommensurate frequencies; However, a computational error arises due to the approximation of the incommensuracy. File:Search_curve_1.gif , The search curve in the case of ω1=π and ω2=7. Since the frequencies are incommensurate, the search curve is not repeated and can pass through every point on the square File:Search_curve_2.gif , The search curve in the case of ω1=3 and ω2=7. Since the frequencies are integers, which are approximately incommensurate, the search curve is repeated and cannot pass through every point on the square File:Search_curve_3.gif , The search curve in the case of ω1=11 and ω2=7. Since the frequencies are integers, which are approximately incommensurate, the search curve is repeated and cannot pass through every point on the square


Sampling

The approximated Fourier can be further expressed as : \hat_= \begin 0 & m_j \text \\ \frac\int_^f\bigl(\mathbf X(s)\bigr)\cos\left(m_j\omega_js\right)ds & m_j \text \end and : \hat_= \begin \frac\int_^f\bigl(\mathbf X(s)\bigr)\sin\left(m_j\omega_js\right)ds & m_j \text \\ 0 & m_j \text \end The non-zero integrals can be calculated from sampling points : \begin \hat_ &= \frac\sum_^q f\bigl(\mathbf X(s_k)\bigr)\cos\left( m_j \omega_j s_k\right), m_j \text\\ \hat_ &= \frac\sum_^q f\bigl(\mathbf X(s_k)\bigr)\sin\left( m_j \omega_j s_k\right), m_j \text \end where the uniform sampling point in \left \pi/2, \pi/2\right is : s_k = \frac, k=-q,\dots,-1,0,1,\dots,q. The total number of sampling points is 2q+1 which should satisfy the Nyquist sampling criterion, i.e. : 2q+1 \geq N\omega_+1 where \omega_ is the largest frequency in \left\ and N is the maximum order of the calculated Fourier coefficients.


Partial sum

After calculating the estimated Fourier coefficients, the first order conditional variance can be approximated by : \begin V_j &= 2\sum_^ \left( A_^2+B_^2 \right) \\ &\approx 2\sum_^ \left( \hat_^2+\hat_^2 \right) \\ &\approx 2\sum_^ \left( \hat_^2+\hat_^2 \right) \\ &= 2\left( \hat_^2 + \hat_^2 \right) \end where only the partial sum of the first two terms is calculated and N=2 for determining the number of sampling points. Using the partial sum can usually return an adequately good approximation of the total sum since the terms corresponding to the fundamental frequency and low order frequencies usually contribute most to the total sum. Additionally, the Fourier coefficient in the summation are just an estimate of the true value and adding more higher order terms will not help improve the computational accuracy significantly. Since the integer frequencies are not exactly incommensurate there are two integers m_j and m_k such that m_j\omega_j = m_k\omega_k. Interference between the two frequencies can occur if higher order terms are included in the summation. Similarly the total variance of f\left( \mathbf X \right) can be calculated as : V \approx \hat_0\left f^2 \right- \hat_0\left f \right2 where \hat_0\left f^2 \right denotes the estimated Fourier coefficient of the function of f^2 inside the bracket and \hat{A}_0\left f \right2 is the squared Fourier coefficient of the function f . Finally the sensitivity referring to the main effect of an input can be calculated by dividing the conditional variance by the total variance.


References

Sensitivity analysis Fourier series