fbpx
Wikipedia

Fourier amplitude sensitivity testing

Fourier amplitude sensitivity testing (FAST) is a variance-based global sensitivity analysis method. The sensitivity value is defined based on conditional variances 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 expansion of the output function. Then the ergodic theorem 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 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. 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 edit

The FAST method originated in study of coupled chemical reaction systems in 1973[1][2] and the detailed analysis of the computational error was presented latter in 1975.[3] 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.[4] In 1990s, the relationship between FAST sensitivity indices and Sobol’s ones calculated from Monte-Carlo simulation was revealed in the general framework of ANOVA-like decomposition [5] and an extended FAST method able to calculate sensitivity indices referring to “total effect” was developed.[6]

Foundation edit

Variance-based sensitivity edit

Sensitivity indices of a variance-based method are calculated via ANOVA-like decomposition of the function for analysis. Suppose the function is   where  . The ANOVA-like decomposition is

 

provided that   is a constant and the integral of each term in the sums is zero, i.e.

 

The conditional variance which characterizes the contribution of each term to the total variance of   is

 

The total variance is the sum of all conditional variances

 

The sensitivity index is defined as the normalized conditional variance as

 

especially the first order sensitivity

 

which indicates the main effect of the input  .

Multiple Fourier series edit

One way to calculate the ANOVA-like decomposition is based on multiple Fourier series. The function   in the unit hyper-cube can be extended to a multiply periodic function and the multiple Fourier series expansion is

 

where the Fourier coefficient is

 

The ANOVA-like decomposition is

 

The first order conditional variance is

 

where   and   are the real and imaginary part of   respectively

 

 

Ergodic theorem edit

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  , as follows

 

where   is a set of incommensurate frequencies, i.e.

 

for an integer set of   if and only if   for every  . Then the Fourier coefficients can be calculated by a one-dimensional integral according to the ergodic theorem [7]

 

 

Implementation edit

Integer frequencies edit

At most one of the incommensurate frequencies   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   is approximately incommensurate to the order of   if

 

for

 

where   is an integer. The exact incommensurate condition is an extreme case when  .

Using the integer frequencies the function in the transformed one-dimensional integral is periodic so only the integration over a period of   is required. The Fourier coefficients can be approximately calculated as

 

The approximation of the incommensurate frequencies for a finite   results in a discrepancy error between the true Fourier coefficients  ,   and their estimates  ,  . The larger the order   is the smaller the error is but the more computational efforts are required to calculate the estimates in the following procedure. In practice   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 edit

The transform,  , defines a search curve in the input space. If the frequencies,  , are incommensurate, the search curve can pass through every point in the input space as   varies from 0 to   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  . 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.

Sampling edit

The approximated Fourier can be further expressed as

 

and

 

The non-zero integrals can be calculated from sampling points

 

where the uniform sampling point in   is

 

The total number of sampling points is   which should satisfy the Nyquist sampling criterion, i.e.

 

where   is the largest frequency in   and   is the maximum order of the calculated Fourier coefficients.

Partial sum edit

After calculating the estimated Fourier coefficients, the first order conditional variance can be approximated by

 

where only the partial sum of the first two terms is calculated and   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   and   such that   Interference between the two frequencies can occur if higher order terms are included in the summation.

Similarly the total variance of   can be calculated as

 

where   denotes the estimated Fourier coefficient of the function of   inside the bracket and   is the squared Fourier coefficient of the function  . Finally the sensitivity referring to the main effect of an input can be calculated by dividing the conditional variance by the total variance.

References edit

  1. ^ Cukier, R.I., C.M. Fortuin, K.E. Shuler, A.G. Petschek and J.H. Schaibly (1973). Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients. I Theory. Journal of Chemical Physics, 59, 3873–3878.
  2. ^ Schaibly, J.H. and K.E. Shuler (1973). Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients. II Applications. Journal of Chemical Physics, 59, 3879–3888.
  3. ^ Cukier, R.I., J.H. Schaibly, and K.E. Shuler (1975). Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients. III. Analysis of the approximations. Journal of Chemical Physics, 63, 1140–1149.
  4. ^ McRae, G.J., J.W. Tilden and J.H. Seinfeld (1982). Global sensitivity analysis—a computational implementation of the Fourier Amplitude Sensitivity Test (FAST). Computers & Chemical Engineering, 6, 15–25.
  5. ^ Archer G.E.B., A. Saltelli and I.M. Sobol (1997). Sensitivity measures, ANOVA-like techniques and the use of bootstrap. Journal of Statistical Computation and Simulation, 58, 99–120.
  6. ^ Saltelli A., S. Tarantola and K.P.S. Chan (1999). A quantitative model-independent method for global sensitivity analysis of model output. Technometrics, 41, 39–56.
  7. ^ Weyl, H. (1938). Mean motion. American Journal of Mathematics, 60, 889–896.

fourier, amplitude, sensitivity, testing, fast, variance, based, global, sensitivity, analysis, method, sensitivity, value, defined, based, conditional, variances, which, indicate, individual, joint, effects, uncertain, inputs, output, fast, first, represents,. Fourier amplitude sensitivity testing FAST is a variance based global sensitivity analysis method The sensitivity value is defined based on conditional variances 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 expansion of the output function Then the ergodic theorem 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 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 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 Contents 1 History 2 Foundation 2 1 Variance based sensitivity 2 2 Multiple Fourier series 2 3 Ergodic theorem 3 Implementation 3 1 Integer frequencies 3 2 Search curve 3 3 Sampling 3 4 Partial sum 4 ReferencesHistory editThe FAST method originated in study of coupled chemical reaction systems in 1973 1 2 and the detailed analysis of the computational error was presented latter in 1975 3 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 4 In 1990s the relationship between FAST sensitivity indices and Sobol s ones calculated from Monte Carlo simulation was revealed in the general framework of ANOVA like decomposition 5 and an extended FAST method able to calculate sensitivity indices referring to total effect was developed 6 Foundation editVariance based sensitivity edit Main article Variance based sensitivity analysis Sensitivity indices of a variance based method are calculated via ANOVA like decomposition of the function for analysis Suppose the function is Y f X f X 1 X 2 X n displaystyle Y f left mathbf X right f left X 1 X 2 dots X n right nbsp where 0 X j 1 j 1 n displaystyle 0 leq X j leq 1 j 1 dots n nbsp The ANOVA like decomposition is f X 1 X 2 X n f 0 j 1 n f j X j j 1 n 1 k j 1 n f j k X j X k f 12 n displaystyle f left X 1 X 2 ldots X n right f 0 sum j 1 n f j left X j right sum j 1 n 1 sum k j 1 n f jk left X j X k right cdots f 12 dots n nbsp provided that f 0 displaystyle f 0 nbsp is a constant and the integral of each term in the sums is zero i e 0 1 f j 1 j 2 j r X j 1 X j 2 X j r d X j k 0 1 k r displaystyle int 0 1 f j 1 j 2 dots j r left X j 1 X j 2 dots X j r right dX j k 0 text 1 leq k leq r nbsp The conditional variance which characterizes the contribution of each term to the total variance of f X displaystyle f left mathbf X right nbsp is V j 1 j 2 j r 0 1 0 1 f j 1 j 2 j r 2 X j 1 X j 2 X j r d X j 1 d X j 2 d X j r displaystyle V j 1 j 2 dots j r int 0 1 cdots int 0 1 f j 1 j 2 dots j r 2 left X j 1 X j 2 dots X j r right dX j 1 dX j 2 dots dX j r nbsp The total variance is the sum of all conditional variances V j 1 n V j j 1 n 1 k j 1 n V j k V 12 n displaystyle V sum j 1 n V j sum j 1 n 1 sum k j 1 n V jk cdots V 12 dots n nbsp The sensitivity index is defined as the normalized conditional variance as S j 1 j 2 j r V j 1 j 2 j r V displaystyle S j 1 j 2 dots j r frac V j 1 j 2 dots j r V nbsp especially the first order sensitivity S j V j V displaystyle S j frac V j V nbsp which indicates the main effect of the input X j displaystyle X j nbsp Multiple Fourier series edit One way to calculate the ANOVA like decomposition is based on multiple Fourier series The function f X displaystyle f left mathbf X right nbsp in the unit hyper cube can be extended to a multiply periodic function and the multiple Fourier series expansion is f X 1 X 2 X n m 1 m 2 m n C m 1 m 2 m n exp 2 p i m 1 X 1 m 2 X 2 m n X n for integers m 1 m 2 m n displaystyle f left X 1 X 2 dots X n right sum m 1 infty infty sum m 2 infty infty cdots sum m n infty infty C m 1 m 2 m n exp bigl 2 pi i left m 1 X 1 m 2 X 2 cdots m n X n right bigr text for integers m 1 m 2 dots m n nbsp where the Fourier coefficient is C m 1 m 2 m n 0 1 0 1 f X 1 X 2 X n exp 2 p i m 1 X 1 m 2 X 2 m n X n displaystyle C m 1 m 2 m n int 0 1 cdots int 0 1 f left X 1 X 2 dots X n right exp bigl 2 pi i left m 1 X 1 m 2 X 2 dots m n X n right bigr nbsp The ANOVA like decomposition is f 0 C 00 0 f j m j 0 C 0 m j 0 exp 2 p i m j X j f j k m j 0 m k 0 C 0 m j m k 0 exp 2 p i m j X j m k X k f 12 n m 1 0 m 2 0 m n 0 C m 1 m 2 m n exp 2 p i m 1 X 1 m 2 X 2 m n X n displaystyle begin aligned f 0 amp C 00 dots 0 f j amp sum m j neq 0 C 0 dots m j dots 0 exp bigl 2 pi im j X j bigr f jk amp sum m j neq 0 sum m k neq 0 C 0 dots m j dots m k dots 0 exp bigl 2 pi i left m j X j m k X k right bigr f 12 dots n amp sum m 1 neq 0 sum m 2 neq 0 cdots sum m n neq 0 C m 1 m 2 dots m n exp bigl 2 pi i left m 1 X 1 m 2 X 2 cdots m n X n right bigr end aligned nbsp The first order conditional variance is V j 0 1 f j 2 X j d X j m j 0 C 0 m j 0 2 2 m j 1 A m j 2 B m j 2 displaystyle begin aligned V j amp int 0 1 f j 2 left X j right dX j amp sum m j neq 0 left C 0 dots m j dots 0 right 2 amp 2 sum m j 1 infty left A m j 2 B m j 2 right end aligned nbsp where A m j displaystyle A m j nbsp and B m j displaystyle B m j nbsp are the real and imaginary part of C 0 m j 0 displaystyle C 0 dots m j dots 0 nbsp respectively A m j 0 1 0 1 f X 1 X 2 X n cos 2 p m j X j d X 1 d X 2 d X n displaystyle A m j int 0 1 cdots int 0 1 f left X 1 X 2 dots X n right cos left 2 pi m j X j right dX 1 dX 2 dots dX n nbsp B m j 0 1 0 1 f X 1 X 2 X n sin 2 p m j X j d X 1 d X 2 d X n displaystyle B m j int 0 1 cdots int 0 1 f left X 1 X 2 dots X n right sin left 2 pi m j X j right dX 1 dX 2 dots dX n nbsp Ergodic theorem edit 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 displaystyle s nbsp as follows X j s 1 2 p w j s mod 2 p j 1 2 n displaystyle X j left s right frac 1 2 pi left omega j s text mod 2 pi right j 1 2 dots n nbsp where w j displaystyle left omega j right nbsp is a set of incommensurate frequencies i e j 1 n g j w j 0 displaystyle sum j 1 n gamma j omega j 0 nbsp for an integer set of g j displaystyle left gamma j right nbsp if and only if g j 0 displaystyle gamma j 0 nbsp for every j displaystyle j nbsp Then the Fourier coefficients can be calculated by a one dimensional integral according to the ergodic theorem 7 A m j lim T 1 2 T T T f X 1 s X 2 s X n s cos 2 p m j X j s d s displaystyle A m j lim T to infty frac 1 2T int T 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 j X j left s right bigr ds nbsp B m j lim T 1 2 T T T f X 1 s X 2 s X n s sin 2 p m j X j s d s displaystyle B m j lim T to infty frac 1 2T int T 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 j X j left s right bigr ds nbsp Implementation editInteger frequencies edit At most one of the incommensurate frequencies w j displaystyle left omega j right nbsp 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 w j displaystyle left omega j right nbsp is approximately incommensurate to the order of M displaystyle M nbsp if j 1 n g j w j 0 displaystyle sum j 1 n gamma j omega j neq 0 nbsp for j 1 n g j M 1 displaystyle sum j 1 n left gamma j right leq M 1 nbsp where M displaystyle M nbsp is an integer The exact incommensurate condition is an extreme case when M displaystyle M to infty nbsp Using the integer frequencies the function in the transformed one dimensional integral is periodic so only the integration over a period of 2 p displaystyle 2 pi nbsp is required The Fourier coefficients can be approximately calculated as A m j 1 2 p p p f X 1 s X 2 s X n s cos m j w j s d s A m j B m j 1 2 p p p f X 1 s X 2 s X n s sin m j w j s d s B m j displaystyle begin aligned A m j amp approx frac 1 2 pi int pi pi 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 A m j B m j amp approx frac 1 2 pi int pi pi 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 B m j end aligned nbsp The approximation of the incommensurate frequencies for a finite M displaystyle M nbsp results in a discrepancy error between the true Fourier coefficients A m j displaystyle A m j nbsp B m j displaystyle B m j nbsp and their estimates A m j displaystyle hat A m j nbsp B m j displaystyle hat B m j nbsp The larger the order M displaystyle M nbsp is the smaller the error is but the more computational efforts are required to calculate the estimates in the following procedure In practice M displaystyle M nbsp 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 edit The transform X j s 1 2 p w j s mod 2 p displaystyle X j left s right frac 1 2 pi left omega j s text mod 2 pi right nbsp defines a search curve in the input space If the frequencies w j j 1 n displaystyle omega j j 1 dots n nbsp are incommensurate the search curve can pass through every point in the input space as s displaystyle s nbsp varies from 0 to displaystyle infty nbsp 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 p displaystyle 2 pi nbsp 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 Search curve nbsp The search curve in the case of w1 p and w2 7 Since the frequencies are incommensurate the search curve is not repeated and can pass through every point on the square nbsp The search curve in the case of w1 3 and w2 7 Since the frequencies are integers which are approximately incommensurate the search curve is repeated and cannot pass through every point on the square nbsp The search curve in the case of w1 11 and w2 7 Since the frequencies are integers which are approximately incommensurate the search curve is repeated and cannot pass through every point on the squareSampling edit The approximated Fourier can be further expressed as A m j 0 m j odd 1 p p 2 p 2 f X s cos m j w j s d s m j even displaystyle hat A m j begin cases 0 amp m j text odd frac 1 pi int pi 2 pi 2 f bigl mathbf X s bigr cos left m j omega j s right ds amp m j text even end cases nbsp and B m j 1 p p 2 p 2 f X s sin m j w j s d s m j odd 0 m j even displaystyle hat B m j begin cases frac 1 pi int pi 2 pi 2 f bigl mathbf X s bigr sin left m j omega j s right ds amp m j text odd 0 amp m j text even end cases nbsp The non zero integrals can be calculated from sampling points A m j 1 2 q 1 k q q f X s k cos m j w j s k m j even B m j 1 2 q 1 k q q f X s k sin m j w j s k m j odd displaystyle begin aligned hat A m j amp frac 1 2q 1 sum k q q f bigl mathbf X s k bigr cos left m j omega j s k right m j text even hat B m j amp frac 1 2q 1 sum k q q f bigl mathbf X s k bigr sin left m j omega j s k right m j text odd end aligned nbsp where the uniform sampling point in p 2 p 2 displaystyle left pi 2 pi 2 right nbsp is s k p k 2 q 1 k q 1 0 1 q displaystyle s k frac pi k 2q 1 k q dots 1 0 1 dots q nbsp The total number of sampling points is 2 q 1 displaystyle 2q 1 nbsp which should satisfy the Nyquist sampling criterion i e 2 q 1 N w m a x 1 displaystyle 2q 1 geq N omega max 1 nbsp where w m a x displaystyle omega max nbsp is the largest frequency in w k displaystyle left omega k right nbsp and N displaystyle N nbsp is the maximum order of the calculated Fourier coefficients Partial sum edit After calculating the estimated Fourier coefficients the first order conditional variance can be approximated by V j 2 m j 1 A m j 2 B m j 2 2 m j 1 A m j 2 B m j 2 2 m j 1 2 A m j 2 B m j 2 2 A m j 2 2 B m j 1 2 displaystyle begin aligned V j amp 2 sum m j 1 infty left A m j 2 B m j 2 right amp approx 2 sum m j 1 infty left hat A m j 2 hat B m j 2 right amp approx 2 sum m j 1 2 left hat A m j 2 hat B m j 2 right amp 2 left hat A m j 2 2 hat B m j 1 2 right end aligned nbsp where only the partial sum of the first two terms is calculated and N 2 displaystyle N 2 nbsp 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 displaystyle m j nbsp and m k displaystyle m k nbsp such that m j w j m k w k displaystyle m j omega j m k omega k nbsp Interference between the two frequencies can occur if higher order terms are included in the summation Similarly the total variance of f X displaystyle f left mathbf X right nbsp can be calculated as V A 0 f 2 A 0 f 2 displaystyle V approx hat A 0 left f 2 right hat A 0 left f right 2 nbsp where A 0 f 2 displaystyle hat A 0 left f 2 right nbsp denotes the estimated Fourier coefficient of the function of f 2 displaystyle f 2 nbsp inside the bracket and A 0 f 2 displaystyle hat A 0 left f right 2 nbsp is the squared Fourier coefficient of the function f displaystyle f nbsp Finally the sensitivity referring to the main effect of an input can be calculated by dividing the conditional variance by the total variance References edit Cukier R I C M Fortuin K E Shuler A G Petschek and J H Schaibly 1973 Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients I Theory Journal of Chemical Physics 59 3873 3878 Schaibly J H and K E Shuler 1973 Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients II Applications Journal of Chemical Physics 59 3879 3888 Cukier R I J H Schaibly and K E Shuler 1975 Study of the sensitivity of coupled reaction systems to uncertainties in rate coefficients III Analysis of the approximations Journal of Chemical Physics 63 1140 1149 McRae G J J W Tilden and J H Seinfeld 1982 Global sensitivity analysis a computational implementation of the Fourier Amplitude Sensitivity Test FAST Computers amp Chemical Engineering 6 15 25 Archer G E B A Saltelli and I M Sobol 1997 Sensitivity measures ANOVA like techniques and the use of bootstrap Journal of Statistical Computation and Simulation 58 99 120 Saltelli A S Tarantola and K P S Chan 1999 A quantitative model independent method for global sensitivity analysis of model output Technometrics 41 39 56 Weyl H 1938 Mean motion American Journal of Mathematics 60 889 896 Retrieved from https en wikipedia org w index php title Fourier amplitude sensitivity testing amp oldid 1112893592, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.