|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| In [[stochastic processes]], [[chaotic dynamical systems|chaos theory]] and [[time series analysis]], '''detrended fluctuation analysis (DFA)''' is a method for determining the statistical [[self-affinity]] of a signal. It is useful for analysing time series that appear to be long-memory processes (diverging [[correlation time]], e.g. power-law decaying [[autocorrelation function]]) or [[1/f noise]].
| | I'm Yoshiko Oquendo. To maintain birds is one of the issues he enjoys most. Arizona is her birth location and she will never transfer. Interviewing is how he supports his family members but his marketing by no means comes.<br><br>Feel free to visit my homepage :: car warranty - [http://Www.Dubaitoursrus.com/UserProfile/tabid/61/userId/122235/Default.aspx have a peek at these guys] - |
| | |
| The obtained exponent is similar to the [[Hurst exponent]], except that DFA may also be applied to signals whose underlying statistics (such as mean and variance) or dynamics are [[stationary process|non-stationary]] (changing with time). It is related to measures based upon spectral techniques such as [[autocorrelation]] and [[Fourier transform]].
| |
| | |
| Peng et al. introduced DFA in 1994 in a paper that has been cited over 2000 times as of 2013<ref>{{cite journal|last=Peng|first=C.K. et al.|title=Mosaic organization of DNA nucleotides|journal=Phys. Rev. E|year=1994|volume=49|pages=1685–1689|url=http://prola.aps.org/pdf/PRE/v49/i2/p1685_1}}</ref> and represents an extension of the (ordinary) [[fluctuation analysis]] (FA), which is affected by non-stationarities.
| |
| | |
| ==Calculation==
| |
| Given a bounded [[time series]] <math>x_t</math>, <math>t \in \mathbb{N}</math>, integration or summation first converts this into an unbounded process <math>X_t</math>:
| |
| | |
| :<math>X_t=\sum_{i=1}^t (x_i-\langle x_i\rangle)</math>
| |
| | |
| <math>X_t</math> is called cumulative sum or profile. This process converts, for example, an [[i.i.d.]] [[white noise]] process into a [[random walk]].
| |
| | |
| Next, <math>X_t</math> is divided into time windows <math>Y_j</math> of length <math>L</math> samples, and a local [[least squares]] straight-line fit (the local trend) is calculated by minimising the squared error <math>E^2</math> with respect to the slope and intercept parameters <math>a, b</math>:
| |
| | |
| :<math>E^2 = \sum_{j = 1}^L \left( Y_j - j a - b \right)^2.</math>
| |
| Trends of higher order, can be removed by higher order DFA, where the linear function <math>j a +b</math> is replaced by a polynomial of order <math>n</math>.<ref name = "Kantelhardt">{{cite journal|last=Kantelhardt J.W. et al.|title=Detecting long-range correlations with detrended fluctuation analysis|journal=Physica A|year=2001|volume=295|pages=441–454}}</ref>
| |
| Next, the root-mean-square deviation from the trend, the '''fluctuation''', is calculated over every window at every time scale:
| |
| | |
| :<math>F( L ) = \left[ \frac{1}{L}\sum_{j = 1}^L \left( Y_j - j a - b \right)^2 \right]^{\frac{1}{2}}.</math>
| |
| | |
| This detrending followed by fluctuation measurement process is repeated over the whole signal at a range of different window sizes <math>L</math>, and a [[log-log graph]] of <math>L</math> against <math>F(L)</math> is constructed.
| |
| | |
| A straight line on this log-log graph indicates statistical [[self-affinity]] expressed as <math>F(L) \propto L^{\alpha}</math>. The scaling exponent <math>\alpha</math> is calculated as the slope of a straight line fit to the log-log graph of <math>L</math> against <math>F(L)</math> using least-squares. This exponent is a generalization of the [[Hurst exponent]]. Because the expected displacement in an [[Random_walk#Correlated_steps|uncorrelated random walk]] of length L grows like <math>\sqrt{L}</math>, an exponent of <math>\tfrac{1}{2}</math> would correspond to uncorrelated white noise. When the exponent is between 0 and 1, the result is [[Fractional Brownian motion]], with the precise value giving information about the series self-correlations:
| |
| | |
| * <math>\alpha<1/2</math>: anti-correlated
| |
| * <math>\alpha \simeq 1/2</math>: uncorrelated, [[white noise]]
| |
| * <math>\alpha>1/2</math>: correlated
| |
| * <math>\alpha\simeq 1</math>: 1/f-noise, [[pink noise]]
| |
| * <math>\alpha>1</math>: non-stationary, unbounded
| |
| * <math>\alpha\simeq 3/2</math>: [[Brownian noise]]
| |
| | |
| There are different orders of DFA. In the described case, linear fits (<math>n=1</math>) are applied to the profile, thus it is called DFA1. In general, DFA<math>n</math>, uses polynomial fits of order <math>n</math>. Due to the summation (integration) from <math>x_i</math> to <math>X_t</math>, linear trends in the mean of the profile represent constant trends in the initial sequence, and DFA1 only removes such constant trends (steps) in the <math>x_i</math>. In general DFA of order <math>n</math> removes (polynomial) trends of order <math>n-1</math>. For linear trends in the mean of <math>x_i</math> at least DFA2 is needed. The Hurst [[Rescaled range|R/S analysis]] removes constants trends in the original sequence and thus, in its detrending it is equivalent to DFA1.
| |
| The DFA method was applied to many systems; e.g., DNA sequences,<ref name ="Buldyrev">{{cite journal|last=Buldyrev et al|title=Long-Range Correlation-Properties of Coding And Noncoding Dna-Sequences- Genbank Analysis|journal=Phys. Rev. E|year=1995|volume=51|pages=5084–5091|url=http://prola.aps.org/abstract/PRE/v51/i5/p5084_1}}</ref><ref>{{cite journal|last=Bunde A|first=Havlin S|title=Fractals and Disordered Systems, Springer, Berlin, Heidelberg, New York|year=1996}}</ref> neuronal oscillations,<ref>{{cite journal|last=Hardstone|first=Richard|coauthors=Poil, Simon-Shlomo; Schiavone, Giuseppina; Jansen, Rick; Nikulin, Vadim V.; Mansvelder, Huibert D.; Linkenkaer-Hansen, Klaus|title=Detrended Fluctuation Analysis: A Scale-Free View on Neuronal Oscillations|journal=Frontiers in Physiology|date=1 January 2012|volume=3|doi=10.3389/fphys.2012.00450}}</ref> speech pathology detection,<ref>{{cite journal|last=Little et al|title=Nonlinear, Biophysically-Informed Speech Pathology Detection|journal=2006 IEEE International Conference on Acoustics, Speech and Signal Processing, 2006. ICASSP 2006 Proceedings.: Toulouse, France. pp. II-1080-II-1083|year=2006|url=http://www.physics.ox.ac.uk/users/littlem/publications/dfafullpath.pdf}}</ref> and heartbeat fluctuation in different sleep stages.<ref>{{cite journal|last=Bunde A. et al|title=Correlated and uncorrelated regions in heart-rate fluctuations during sleep|journal=Phys. Rev. E|year=2000|volume=85(17)|pages=3736–3739}}</ref> Effect of trends on DFA were studied in<ref>{{cite journal|last=Hu, K. et al|title=Effect of trends on detrended fluctuation analysis|journal=Phys. Rev. E|year=2001|volume=64(1)|pages=011114}}</ref> and relation to the power spectrum method is presented in.<ref>{{cite journal|last=Heneghan et al|title=Establishing the relation between detrended fluctuation analysis and power spectral density analysis for stochastic processes|journal=Phys. Rev. E|year=2000|volume=62(5)|pages=6103–6110|url=http://prola.aps.org/abstract/PRE/v62/i5/p6103_1}}</ref>
| |
| | |
| Since in the fluctuation function <math>F(L)</math> the square(root) is used, DFA measures the scaling-behavior of the second moment-fluctuations, this means <math>\alpha=\alpha(2)</math>. The [[multifractal]] generalization ([[MF-DFA]])<ref name="Kantelhardt2">{{cite journal|last=H.E. Stanley|first=J.W. Kantelhardt|coauthors=S.A. Zschiegner, E. Koscielny-Bunde, S. Havlin, A. Bunde|title=Multifractal detrended fluctuation analysis of nonstationary time series|journal=Physica A|year=2002|volume=316|pages=87|url=http://havlin.biu.ac.il/Publications.php?keyword=Multifractal+detrended+fluctuation+analysis+of+nonstationary+time+series++&year=*&match=all}}</ref> uses a variable moment <math>q</math> and provides <math>\alpha(q)</math>. Kantelhardt et al. intended this scaling exponent as a generalization of the classical Hurst exponent. The classical Hurst exponent corresponds to the second moment for stationary cases <math>H=\alpha(2)</math> and to the second moment minus 1 for nonstationary cases <math>H=\alpha(2)-1</math>.<ref name="Kantelhardt2" />
| |
| | |
| ==Relations to other methods==
| |
| In the case of power-law decaying auto-correlations, the [[correlation function]] decays with an exponent <math>\gamma</math>:
| |
| <math>C(L)\sim L^{-\gamma}\!\ </math>.
| |
| In addition the [[power spectrum]] decays as <math>P(f)\sim f^{-\beta}\!\ </math>.
| |
| The three exponent are related by:<ref name="Buldyrev" />
| |
| * <math>\gamma=2-2\alpha</math>
| |
| * <math>\beta=2\alpha-1</math> and
| |
| * <math>\gamma=1-\beta</math>.
| |
| The relations can be derived using the [[Wiener–Khinchin theorem]].
| |
| | |
| Thus, <math>\alpha</math> is tied to the slope of the power spectrum <math>\beta</math> used to describe the [[color of noise]] by this relationship: <math>\alpha = (\beta+1)/2</math>.
| |
| | |
| For [[Fractional Brownian motion|fractional Gaussian noise]] (FGN), we have <math> \beta \in [-1,1] </math>, and thus <math>\alpha = [0,1]</math>, and <math>\beta = 2H-1</math>, where <math>H</math> is the [[Hurst exponent]]. <math>\alpha</math> for FGN is equal to <math>H</math>.
| |
| | |
| For [[fractional Brownian motion]] (FBM), we have <math> \beta \in [1,3] </math>, and thus <math>\alpha = [1,2]</math>, and <math>\beta = 2H+1</math>, where <math>H</math> is the [[Hurst exponent]]. <math>\alpha</math> for FBM is equal to <math>H+1</math>. In this context, FBM is the cumulative sum or the [[integral]] of FGN, thus, the exponents of their
| |
| power spectra differ by 2.
| |
| | |
| ==Pitfalls in interpretation==
| |
| As with most methods that depend upon line fitting, it is always possible to find a number <math>\alpha</math> by the DFA method, but this does not necessarily imply that the time series is self-similar. Self-similarity requires that the points on the log-log graph are sufficiently collinear across a very wide range of window sizes <math>L</math>.
| |
| | |
| Also, there are many scaling exponent-like quantities that can be measured for a self-similar time series, including the divider dimension and [[Hurst exponent]]. Therefore, the DFA scaling exponent <math>\alpha</math> is not a [[fractal dimension]] sharing all the desirable properties of the [[Hausdorff dimension]], for example, although in certain special cases it can be shown to be related to the [[box-counting dimension]] for the graph of a time series.
| |
| | |
| ==See also==
| |
| * [[Self-organized criticality]]
| |
| * [[Self-affinity]]
| |
| * [[Time series analysis]]
| |
| * [[Hurst exponent]]
| |
| | |
| ==References==
| |
| {{reflist}}
| |
| | |
| == External links ==
| |
| * [http://www.nbtwiki.net/doku.php?id=tutorial:detrended_fluctuation_analysis_dfa Tutorial on how to calculate detrended fluctuation analysis] in Matlab using the [[Neurophysiological Biomarker Toolbox]].
| |
| * [http://www.maxlittle.net/software/ FastDFA] [[MATLAB]] code for rapidly calculating the DFA scaling exponent on very large datasets.
| |
| * [http://www.physionet.org/physiotools/dfa Physionet] A good overview of DFA and C code to calculate it.
| |
| | |
| [[Category:Stochastic processes]]
| |
| [[Category:Time series analysis]]
| |
| [[Category:Fractals]]
| |
I'm Yoshiko Oquendo. To maintain birds is one of the issues he enjoys most. Arizona is her birth location and she will never transfer. Interviewing is how he supports his family members but his marketing by no means comes.
Feel free to visit my homepage :: car warranty - have a peek at these guys -