<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Physio.</journal-id>
<journal-title>Frontiers in Physiology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Physio.</abbrev-journal-title>
<issn pub-type="epub">1664-042X</issn>
<publisher>
<publisher-name>Frontiers Research Foundation</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fphys.2012.00141</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physiology</subject>
<subj-group>
<subject>Methods Article</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Introduction to Multifractal Detrended Fluctuation Analysis in Matlab</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Ihlen</surname> <given-names>Espen A. F.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn001">&#x0002A;</xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Neuroscience, Norwegian University of Science and Technology</institution> <country>Trondheim, Norway</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: John G. Holden, University of Cincinnati, USA</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Christopher Kello, University of California, USA; Jianbo Gao, Wright State University, USA; Sebastian Wallot, Aarhus University, Denmark</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Espen A. F. Ihlen, Department of Neuroscience, Norwegian University of Science and Technology, N-7489 Trondheim, Norway. e-mail: <email>espen.ihlen&#x00040;ntnu.no</email></p></fn>
<fn fn-type="other" id="fn002"><p>This article was submitted to Frontiers in Fractal Physiology, a specialty of Frontiers in Physiology.</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>04</day>
<month>06</month>
<year>2012</year>
</pub-date>
<pub-date pub-type="collection">
<year>2012</year>
</pub-date>
<volume>3</volume>
<elocation-id>141</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>02</month>
<year>2012</year>
</date>
<date date-type="accepted">
<day>26</day>
<month>04</month>
<year>2012</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2012 Ihlen.</copyright-statement>
<copyright-year>2012</copyright-year>
<license license-type="open-access" xlink:href="http://www.frontiersin.org/licenseagreement"><p>This is an open-access article distributed under the terms of the <uri xlink:href="http://creativecommons.org/licenses/by-nc/3.0/">Creative Commons Attribution Non Commercial License</uri>, which permits non-commercial use, distribution, and reproduction in other forums, provided the original authors and source are credited.</p></license>
</permissions>
<abstract>
<p>Fractal structures are found in biomedical time series from a wide range of physiological phenomena. The multifractal spectrum identifies the deviations in fractal structure within time periods with large and small fluctuations. The present tutorial is an introduction to <italic>multifractal detrended fluctuation analysis</italic> (MFDFA) that estimates the multifractal spectrum of biomedical time series. The tutorial presents MFDFA step-by-step in an interactive Matlab session. All Matlab tools needed are available in <italic>Introduction to MFDFA</italic> folder at the website <uri xlink:href="http://www.ntnu.edu/inm/geri/software">www.ntnu.edu/inm/geri/software</uri>. MFDFA are introduced in Matlab code boxes where the reader can employ pieces of, or the entire MFDFA to example time series. After introducing MFDFA, the tutorial discusses the best practice of MFDFA in biomedical signal processing. The main aim of the tutorial is to give the reader a simple self-sustained guide to the implementation of MFDFA and interpretation of the resulting multifractal spectra.</p>
</abstract>
<kwd-group>
<kwd>Matlab</kwd>
<kwd>multifractal</kwd>
<kwd>heart rate</kwd>
<kwd>gait</kwd>
<kwd>posture</kwd>
<kwd>EEG</kwd>
<kwd>MR</kwd>
<kwd>fMRI</kwd>
</kwd-group>
<counts>
<fig-count count="13"/>
<table-count count="1"/>
<equation-count count="0"/>
<ref-count count="44"/>
<page-count count="18"/>
<word-count count="11849"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="introduction">
<title>Introduction</title>
<p>The structural characteristics of biomedical signals are often visually apparent, but not captured by conventional measures like the average amplitude of the signal. Biomedical signals from a wide range of physiological phenomena posses a scale invariant structure. A biomedical signal has a scale invariant structure when the structure repeats itself on subintervals of the signal. Formally, the biomedical signal <italic>X</italic>(<italic>t</italic>) are scale invariant when <italic>X</italic>(<italic>ct</italic>)&#x02009;&#x0003D;&#x02009;<italic>c<sup>H</sup>X</italic>(<italic>t</italic>). Fractal analyses estimates the power law exponent, <italic>H</italic>, that defines the particular kind of scale invariant structure of the biomedical signal. Fractal analyses are frequently employed in biomedical signal processing to define the scale invariant structure in ECG, EEG, MR, and X-ray pictures (cf. Lopes and Betrouni, <xref ref-type="bibr" rid="B25">2009</xref>). The scale invariant structures of inter-spike-interval of neuron firing, inter-stride-interval of human walking, inter-breath-interval of human respiration, and inter-beat intervals of the human heart has differentiated between healthy and pathological conditions (e.g., Ivanov et al., <xref ref-type="bibr" rid="B19">1999</xref>; Peng et al., <xref ref-type="bibr" rid="B33">2002</xref>; Zheng et al., <xref ref-type="bibr" rid="B44">2005</xref>; Hausdorff, <xref ref-type="bibr" rid="B14">2007</xref>), and between different types of pathological conditions (e.g., Wang et al., <xref ref-type="bibr" rid="B41">2007</xref>). Scale invariant structures are also found in spatial phenomena like the branching of the nervous system and lungs (e.g., Bassingthwaighte et al., <xref ref-type="bibr" rid="B3">1990</xref>; Abbound et al., <xref ref-type="bibr" rid="B1">1991</xref>; Weibel, <xref ref-type="bibr" rid="B42">1991</xref>; Krenz et al., <xref ref-type="bibr" rid="B23">1992</xref>), bone structure (Parkinson and Fazzalari, <xref ref-type="bibr" rid="B31">1994</xref>), and are able to differentiate between healthy and cancer tissues (Atupelage et al., <xref ref-type="bibr" rid="B2">2012</xref>). Several reports during the last decade suggest that changes in the scale invariant structure of biomedical signals reflect changes in the adaptability of physiological processes and successful treatment of pathological conditions might change fractal structure and improve health (Goldberger, <xref ref-type="bibr" rid="B12">1996</xref>; Goldberger et al., <xref ref-type="bibr" rid="B13">2002</xref>). Fractal analyses are therefore promising prognostic and diagnostic tools in biomedical signal processing.</p>
<p>Monofractal and multifractal structures of the biomedical signal are particular kind of scale invariant structures. Most commonly, the monofractal structure of biomedical signals are defined by a single power law exponent and assumes that the scale invariance is independent on time and space. However, spatial and temporal variation in scale invariant structure of the biomedical signal often appears. These spatial and temporal variations indicate a multifractal structure of the biomedical signal that is defined by a multifractal spectrum of power law exponents. As an example, age related changes in the scale invariant structure of heart rate variability are indicated by changes of the multifractal spectrum rather than a single power law exponent (e.g., Makowiec et al., <xref ref-type="bibr" rid="B26">2011</xref>). The width and shape of the multifractal spectrum can also differentiate between the heart rate variability from patients with heart diseases like ventricular tachycardia, ventricular fibrillation and congestive heart failure (e.g., Ivanov et al., <xref ref-type="bibr" rid="B19">1999</xref>; Wang et al., <xref ref-type="bibr" rid="B41">2007</xref>). The multifractal structure of heart rate variability is therefore suggested to reflect important properties of the autonomic regulation of the heart rate (Goldberger et al., <xref ref-type="bibr" rid="B13">2002</xref>). Furthermore, the multifractal spectrum of endogenous brain dynamics and response times is more sensitive to the influence of age and cognitive performance compared to a single power law exponent alone (Suckling et al., <xref ref-type="bibr" rid="B39">2008</xref>; Ihlen and Vereijken, <xref ref-type="bibr" rid="B18">2010</xref>). Furthermore, the multifractal structure of EEG and series of inter-spike intervals have been able to differentiate between the neural activities of brain areas (Zheng et al., <xref ref-type="bibr" rid="B44">2005</xref>). Multifractal analyses might therefore be important as a computer aided tool to increase the precision of neurosurgeries. The main aim of the present tutorial is to introduce a robust analysis called the <italic>multifractal detrended fluctuation analysis</italic> (MFDFA) that can estimate the multifractal spectrum of power law exponents from a biomedical time series (Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>). Those readers not familiar with analysis of monofractal fluctuations in biomedical signals are referred to Eke et al. (<xref ref-type="bibr" rid="B8">2000</xref>).</p>
<p>The tutorial is intended to be a self-sustained guide to the implementation of MFDFA to time series and interpretation of the resulting multifractal spectra to the readers that are unfamiliar to fractal analysis. In order to be a self-sustained guide, the tutorial decomposes MFDFA into a series of simple Matlab codes that are introduced in a step-wise manner to the reader. The tutorial is meant to be interactive where the reader can employ the Matlab codes while reading the text to enhance the understanding of MFDFA. The reader is therefore advised to download the folder &#x0201C;<italic>Introduction to MFDFA</italic>&#x0201D; at the web site <uri xlink:href="http://www.ntnu.edu/inm/geri/software">www.ntnu.edu/inm/geri/software</uri> where all Matlab codes used in the tutorial are available. The reader should set the folder as the current directory folder in Matlab before reading the following sections of the tutorial. The folder can be set as current directory folder by pasting it into the current directory window after opening Matlab. Matlab <monospace>variables,</monospace> <monospace>parameters,</monospace> and <monospace>commands</monospace> are written in the Matlab command font and a red color to separate them from the rest of the text. The reader can type the red commands in the Matlab command window wherever they appear in the text to access <monospace>variables</monospace> and <monospace>parameters</monospace> or plot them with Matlab&#x02019;s <monospace>plot</monospace> function. A translation of the Matlab codes of MFDFA to the mathematical notations used by Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>) are given for the readers interested in the mathematical details of the MFDFA. The rest of the tutorial is divided into two sections: the implementation of MFDFA in Matlab is introduced step-by-step in Section <xref ref-type="sec" rid="s1">&#x0201C;<italic>Multifractal Detrended Fluctuation Analysis in Matlab</italic>&#x0201D;</xref> where the interpretation of the resulting multifractal spectrum is emphasized. Important issues for the best practice of MFDFA are discussed in Section <xref ref-type="sec" rid="s10">&#x0201C;<italic>The Best Practice of Multifractal Detrended Fluctuation Analysis</italic>.&#x0201D;</xref></p>
</sec>
<sec id="s1">
<title>Multifractal Detrended Fluctuation Analysis in Matlab</title>
<p>The construction of MFDFA is divided into eight steps: Section <xref ref-type="sec" rid="s2">&#x0201C;<italic>Noise and Random Walk Like Variation in a Time Series</italic>&#x0201D;</xref> introduces a method to convert a noise like time series into a random walk like time series that is a preliminary step for MFDFA. Section <xref ref-type="sec" rid="s3">&#x0201C;<italic>Computing the Root-Mean-Square Variation of a Time Series</italic>&#x0201D;</xref> introduces root-mean-square (RMS) that is the basic computation within MFDFA and a typical way to compute the average variation of biomedical time series. Section <xref ref-type="sec" rid="s4">&#x0201C;<italic>Local Root-Mean-Square Variation in the Time Series</italic>&#x0201D;</xref> introduces the computation of local fluctuation in the time series as RMS of the time series within non-overlapping segments. In Section <xref ref-type="sec" rid="s5">&#x0201C;<italic>Local Detrending of the Time Series</italic>,&#x0201D;</xref> the same local RMS is computed around trends that are often encountered in biomedical time series. In Section <xref ref-type="sec" rid="s6">&#x0201C;<italic>Monofractal Detrended Fluctuation Analysis</italic>,&#x0201D;</xref> the amplitudes of the local RMS are summarized into an overall RMS. The overall RMS of the segments with small sample sizes is dominated by the fast fluctuations in the time series. In contrast, the overall RMS for segments with large sample sizes is dominated by slow fluctuations. The power law relation between the overall RMS for multiple segment sample sizes (i.e., scales) is defined by a monofractal detrended fluctuation analysis (DFA) and is called the Hurst exponent. In Section <xref ref-type="sec" rid="s7">&#x0201C;<italic>Multifractal Detrended Fluctuation Analysis of Time Series</italic>,&#x0201D;</xref> MFDFA is obtained by the <italic>q</italic>-order extension of the overall RMS. The <italic>q</italic>-order RMS can distinguish between segments with small and large fluctuations. The power law relation between the <italic>q</italic>-order RMS is numerical identified as the <italic>q</italic>-order Hurst exponent. In Section <xref ref-type="sec" rid="s8">&#x0201C;<italic>The Multifractal Spectrum of Time Series</italic>,&#x0201D;</xref> several multifractal spectra are computed from the <italic>q</italic>-order Hurst exponent. In Section <xref ref-type="sec" rid="s9">&#x0201C;<italic>A Direct Estimation of the Multifractal Spectrum</italic>,&#x0201D;</xref> an alternative version of MFDFA is introduced that compute the multifractal spectrum directly from the local fluctuations without the <italic>q</italic>-order overall RMS.</p>
<p>Before starting the introduction of MFDFA, the reader can type <monospace>load fractaldata.mat</monospace> in the Matlab command window to access the time series, <monospace>whitenoise</monospace>, <monospace>monofractal</monospace>, and <monospace>multifractal</monospace>. These time series will be used as test series in the rest of Section <xref ref-type="sec" rid="s1">&#x0201C;<italic>Multifractal Detrended Fluctuation Analysis in Matlab</italic>&#x0201D;</xref> while constructing MFDFA piece-by-piece. The construction of the Matlab code for MFDFA is represented as Matlab code boxes within the text. The main intention of these Matlab code boxes is that the reader should paste the Matlab code into the Matlab command window while reading the tutorial. Figures are accessed by typing the plot command at the end of the Matlab code boxes. The reader can access all Matlab code boxes by opening the m-file <monospace>Matlabcodes</monospace> contained in the &#x0201C;<italic>Introduction to MFDFA</italic>&#x0201D; folder.</p>
<sec id="s2">
<title>Noise and random walk like variation in a time series</title>
<p>The red traces in Figure <xref ref-type="fig" rid="F1">1</xref> show an ordinary random walk (<italic>lower panel</italic>), a monofractal random walk (<italic>middle panel</italic>) and a multifractal random walk (<italic>upper panel</italic>). The fractal property of these random walks is reflected by their picture-in-picture similarity as illustrated in the upper panel of Figure <xref ref-type="fig" rid="F1">1</xref>. Small &#x0201C;hills&#x0201D; and &#x0201C;valleys&#x0201D; with similar structure appear when you zoom on the large &#x0201C;hills&#x0201D; and &#x0201C;valleys&#x0201D; of the random walk. The DFA is employed to time series with a random walk like structure (Peng et al., <xref ref-type="bibr" rid="B32">1995</xref>). However, most biomedical time series have fluctuations that are more similar to the increments of the random walks (see the blue traces in Figure <xref ref-type="fig" rid="F1">1</xref>). If the biomedical time series has the noise like structure of the blue traces in Figure <xref ref-type="fig" rid="F1">1</xref>, it should be converted to a random walk like time series before employing DFA. Noises can be converted to random walks by subtracting the mean value and integrate the time series. Time series <monospace>whitenoise</monospace>, <monospace>monofractal,</monospace> and <monospace>multifractal</monospace> are all noise like time series and are converted to random walk like time series by Matlab code <xref ref-type="boxed-text" rid="BX1">1</xref> below:</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p><bold>The time series <monospace>multifractal</monospace> (upper panel), <monospace>monofractal</monospace> (middle panel), and <monospace>whitenoise</monospace> (lower panel) are shown as blue traces</bold>. They are examples of noise like time series used in the present tutorial. All time series contain 8000 data samples each where the sample numbers are indicated by the horizontal axis. Matlab code <xref ref-type="boxed-text" rid="BX1">1</xref> converts the noises (<italic>blue traces</italic>) to random walks (<italic>red traces</italic>) that have a picture-in-picture similarity (subplot in the upper panel). Notice that the time series <monospace>multifractal</monospace> has distinct periods with small and large fluctuations in contrast to time series <monospace>monofractal</monospace> and <monospace>whitenoise</monospace>. The aim of this section is to introduce MFDFA that quantify the structure of fluctuations within the periods with small and large fluctuations.</p></caption>
<graphic xlink:href="fphys-03-00141-g001.tif"/>
</fig>
<boxed-text id="BX1">
<title>Matlab code 1:</title>
<preformat>
<monospace>
RW1=cumsum(whitenoise-mean(whitenoise));
RW2=cumsum(monofractal-mean(monofractal));
RW3=cumsum(multifractal-mean(multifractal));
</monospace>
</preformat>
<p>Type <monospace>plot1</monospace> in the command window to access Figure <xref ref-type="fig" rid="F1">1</xref>.</p>
</boxed-text>
</sec>
<sec id="s3">
<title>Computing the root-mean-square variation of a time series</title>
<p>A conventional analysis of variation in biomedical time series is to compute the average variation as a RMS. The reader can use Matlab code <xref ref-type="boxed-text" rid="BX2">2</xref> below to compute RMS for the time series <monospace>whitenoise</monospace>, <monospace>monofractal,</monospace> and <monospace>multifractal</monospace>:</p>
<boxed-text id="BX2">
<title>Matlab code 2:</title>
<preformat>
<monospace>
RMS_ordinary=sqrt(mean(whitenoise.&#x0005E;2));
RMS_monofractal=sqrt(mean(monofractal.&#x0005E;2));
RMS_multifractal=sqrt(mean(multifractal.&#x0005E;2));
</monospace>
</preformat>
<p>Type <monospace>plot2</monospace> in the Matlab command window to access Figure <xref ref-type="fig" rid="F2">2</xref>.</p>
</boxed-text>
<p>Figure <xref ref-type="fig" rid="F2">2</xref> illustrates that the average amplitude of variation (i.e., RMS) is equal for all three time series, <monospace>whitenoise</monospace>, <monospace>monofractal,</monospace> and <monospace>multifractal</monospace>, even though they have quite different structures. MFDFA will be able to distinguish between these structures as we will see in the sections below.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>The time series <monospace>multifractal</monospace> (<italic>upper panel</italic>), <monospace>monofractal</monospace> (<italic>middle panel</italic>), and <monospace>whitenoise</monospace> (<italic>lower panel</italic>) with zero average (<italic>red dashed lines</italic>) and &#x000B1;1 RMS (<italic>red solid lines</italic>)</bold>. All time series have equal RMS&#x02009;&#x0003D;&#x02009;1, but quite different structure. RMS is only sensitive to differences in the amplitude of variation and not differences in the structure of variation. Notice the different scaling for the vertical axis of the multifractal time series.</p></caption>
<graphic xlink:href="fphys-03-00141-g002.tif"/>
</fig>
</sec>
<sec id="s4">
<title>Local root-mean-square variation in the time series</title>
<p>The multifractal time series in the upper panel have local fluctuations with both large and small magnitudes. RMS in Matlab code <xref ref-type="boxed-text" rid="BX2">2</xref> can be computed for segments of the time series to differentiate between the magnitudes of the local fluctuations. A simple procedure is to cut the time series into equal-sized non-overlapping segments and compute a local RMS for each segment. This can be done by Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> below and is the core procedure of MFDFA:</p>
<boxed-text id="BX3">
<title>Matlab code 3:</title>
<preformat>
<monospace>
X=cumsum(multifractal-mean(multifractal));
X=transpose(X);
scale=1000;
m=1;
segments=floor(length(X)/scale);
for v=1:segments
&#x02003;&#x02003;Idx_start=((v-1)&#x0002A;scale)+1;
&#x02003;&#x02003;Idx_stop=v&#x0002A;scale;
&#x02003;&#x02003;Index&#x0007B;v&#x0007D;=Idx_start:Idx_stop;
&#x02003;&#x02003;X_Idx=X(Index&#x0007B;v&#x0007D;);
&#x02003;&#x02003;C=polyfit(Index&#x0007B;v&#x0007D;,X(Index&#x0007B;v&#x0007D;),m);
&#x02003;&#x02003;fit&#x0007B;v&#x0007D;=polyval(C,Index&#x0007B;v&#x0007D;);
&#x02003;&#x02003;RMS&#x0007B;1&#x0007D;(v)=sqrt(mean((X_Idx-fit&#x0007B;v&#x0007D;).&#x0005E;2));
end
</monospace>
</preformat>
<p>Type <monospace>plot3</monospace> in Matlab command window to access Figure <xref ref-type="fig" rid="F3">3</xref>.</p>
</boxed-text>
<p>The first line of Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> converts the noise like time series, <monospace>multifractal</monospace>, to a random walk like time series <monospace>X</monospace> (i.e., Matlab code <xref ref-type="boxed-text" rid="BX1">1</xref>). The third line of Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> set the parameter <monospace>scale</monospace> that defines the sample size of the non-overlapping segments in which the local RMS, <monospace>RMS&#x0007B;1&#x0007D;</monospace>, are computed. The fifth line is the number of <monospace>segments</monospace> that the time series <monospace>X</monospace> can be divided into where <monospace>length(X)</monospace> is the sample size of time series <monospace>X</monospace>. Thus, <monospace>segments&#x02009;</monospace>&#x0003D;&#x02009;8 when <monospace>length(X)&#x02009;</monospace>&#x0003D;&#x02009;8000 and <monospace>scale&#x02009;</monospace>&#x0003D;&#x02009;1000. The sixth to fourteenth line is a loop that computes the local RMS around a trend <monospace>fit&#x0007B;v&#x0007D;</monospace> for each segment by updating the time <monospace>Index</monospace> (see red <monospace>v</monospace> arguments in Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref>). In the first loop <monospace>v&#x02009;&#x0003D;&#x02009;1</monospace>, the <monospace>Index&#x0007B;1&#x0007D;</monospace> goes from sample 1 to sample 1000. In the second loop <monospace>v&#x02009;&#x0003D;&#x02009;2</monospace>, the <monospace>Index&#x0007B;2&#x0007D;</monospace> goes from sample 1001 to sample 2000. In the final loop <monospace>v&#x02009;&#x0003D;&#x02009;8</monospace>, the <monospace>Index&#x0007B;8&#x0007D;</monospace> goes from sample 7001 to 8000.</p>
</sec>
<sec id="s5">
<title>Local detrending of the time series</title>
<p>Slow varying trends are present in biomedical time series and detrending of the signal is therefore necessary to quantify the scale invariant structure of the variation around these trends. In Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref>, a polynomial trend <monospace>fit&#x0007B;v&#x0007D;</monospace> is fitted to <monospace>X</monospace> within each segment <monospace>v</monospace> (see blue command lines in Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref>). The first blue command line is the parameter <monospace>m</monospace> that defines the order of the polynomial. The polynomial trend are linear when <monospace>m&#x02009;&#x0003D;&#x02009;1</monospace>, quadratic when <monospace>m&#x02009;&#x0003D;&#x02009;2</monospace>, and cubic when <monospace>m&#x02009;&#x0003D;&#x02009;3</monospace> (see Figures <xref ref-type="fig" rid="F3">3</xref>A&#x02013;C). The first blue command line within the loop defines the polynomial coefficients <monospace>C</monospace> used to create the polynomial trend <monospace>fit&#x0007B;v&#x0007D;</monospace> of each segment (see dashed red lines in Figure <xref ref-type="fig" rid="F3">3</xref>). The local fluctuation, <monospace>RMS&#x0007B;1&#x0007D;(v)</monospace>, is then computed for the residual variation, <monospace>X(Index&#x0007B;v&#x0007D;)-fit&#x0007B;v&#x0007D;</monospace>, within each segment <monospace>v</monospace>. The local fluctuation, <monospace>RMS&#x0007B;1&#x0007D;(v)</monospace>, is illustrated in Figure <xref ref-type="fig" rid="F3">3</xref> as the distance between the red dashed trends and the red solid lines.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p><bold>The computation of local fluctuations, <monospace>RMS&#x0007B;1&#x0007D;</monospace>, around linear (A), quadratic (B), and cubic trends (C) by Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> (<monospace>m&#x02009;&#x0003D;&#x02009;1</monospace>, <monospace>m&#x02009;&#x0003D;&#x02009;2</monospace>, and <monospace>m&#x02009;&#x0003D;&#x02009;3</monospace>, respectively)</bold>. The red dashed line is the fitted trend, <monospace>fit&#x0007B;v&#x0007D;</monospace>, within eight segments of sample size 1000. The distance between the red dashed trend and the solid red lines represents &#x000B1;1 <monospace>RMS&#x0007B;1&#x0007D;</monospace>. The local fluctuation, <monospace>RMS&#x0007B;1&#x0007D;</monospace>, around trends is the basic &#x0201C;building block&#x0201D; of the <italic>detrended fluctuation analysis</italic>.</p></caption>
<graphic xlink:href="fphys-03-00141-g003.tif"/>
</fig>
</sec>
<sec id="s6">
<title>Monofractal detrended fluctuation analysis</title>
<p>In the DFA the variation of the local <monospace>RMS&#x0007B;1&#x0007D;</monospace> are quantified by an overall RMS (<monospace>F</monospace>) in Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref> below:</p>
<boxed-text id="BX4">
<title>Matlab code 4:</title>
<preformat>
<monospace>
F=sqrt(mean(RMS&#x0007B;1&#x0007D;.&#x0005E;2));
</monospace>
</preformat>
</boxed-text>
<p>The fast changing fluctuations in the time series <monospace>X</monospace> will influence the overall RMS, <monospace>F</monospace>, for segments with small sample sizes (i.e., small <monospace>scale</monospace>) whereas slow changing fluctuations will influence <monospace>F</monospace> for segments with large sample sizes (i.e., large <monospace>scale</monospace>). The scaling function, <monospace>F</monospace>, should therefore be computed for multiple segments sizes (i.e., multiple <monospace>scale</monospace>s) to emphasize both fast and slow evolving fluctuations that influence the structure of the time series. The scaling function, <monospace>F(ns)</monospace>, can be computed for multiple <monospace>scale</monospace>s by including Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> and <xref ref-type="boxed-text" rid="BX4">4</xref> within a new loop marked as red command lines and arguments <monospace>ns</monospace> below:</p>
<boxed-text id="BX5">
<title>Matlab code 5&#x000A0;&#x000A0;Part 1 of DFA</title>
<preformat>
<monospace>
X=cumsum(multifractal-mean(multifractal));
X=transpose(X);
scale=[16, 32, 64, 128, 256, 512, 1024];
m=1;
for ns=1:length(scale),
&#x02003;segments(ns)=floor(length(X)/scale(ns));
&#x02003;for v=1:segments(ns),
&#x02003;&#x02003;Idx_start=((v-1)&#x0002A;scale(ns))+1;
&#x02003;&#x02003;Idx_stop=v&#x0002A;scale(ns);
&#x02003;&#x02003;Index&#x0007B;v,ns&#x0007D;=Idx_start:Idx_stop;
&#x02003;&#x02003;X_Idx=X(Index&#x0007B;v,ns&#x0007D;);
&#x02003;&#x02003;C=polyfit(Index&#x0007B;v,ns&#x0007D;,X(Index&#x0007B;v,ns&#x0007D;),m);
&#x02003;&#x02003;fit&#x0007B;v,ns&#x0007D;=polyval(C,Index&#x0007B;v,ns&#x0007D;);
&#x02003;&#x02003;RMS&#x0007B;ns&#x0007D;(v)=sqrt(mean((X_Idx-fit&#x0007B;v,ns&#x0007D;).&#x0005E;2));
&#x02003;end
&#x02003;F(ns)=sqrt(mean(RMS&#x0007B;ns&#x0007D;.&#x0005E;2));
end
</monospace>
</preformat>
<p>Type <monospace>plot4</monospace> in the Matlab command window to access Figure <xref ref-type="fig" rid="F4">4</xref>.</p>
</boxed-text>
<p>In the first red command line, a vector with multiple segment sizes (i.e., scales) is set by the reader. In the second red command line, a loop is initiated where Matlab code <xref ref-type="boxed-text" rid="BX3">3</xref> is computed from the smallest to the largest scale. The segment sample size, <monospace>scale(ns)</monospace>, are updated by the red index <monospace>ns</monospace>. The local fluctuation, <monospace>RMS&#x0007B;ns&#x0007D;</monospace>, is a set of vectors where each vector have a length equal to the number of segments [i.e., <monospace>segments(ns)</monospace>]. In the first loop for <monospace>ns&#x02009;&#x0003D;&#x02009;1</monospace>, the local fluctuation <monospace>RMS&#x0007B;1&#x0007D;</monospace> is a vector of local RMS values computed for 500 segments [i.e., <monospace>segments(1)</monospace>] each containing 16 samples [i.e., <monospace>scale(1)</monospace>]. In the last loop for <monospace>ns&#x02009;&#x0003D;&#x02009;7</monospace>, the local fluctuation <monospace>RMS&#x0007B;7&#x0007D;</monospace> is a vector with local RMS values computed for seven segments [i.e., <monospace>segments(7)</monospace>] each containing 1024 samples [i.e., <monospace>scale(7)</monospace>]. In the last command line, the scaling function (i.e., overall RMS), <monospace>F(ns)</monospace>, are computed for multiple scales by Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref>. Figure <xref ref-type="fig" rid="F4">4</xref> illustrates the local fluctuations, <monospace>RMS&#x0007B;ns&#x0007D;</monospace>, and the overall RMS, <monospace>F(ns)</monospace>, for multiple scales.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>The local fluctuations, <monospace>RMS&#x0007B;ns&#x0007D;</monospace> (<italic>blue lines</italic>), computed by Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref> for segments with multiple segment sizes (i.e., scale)</bold>. The scaling function <monospace>F&#x0007B;ns&#x0007D;</monospace> is the overall RMS (<italic>red line</italic>) of the local fluctuation <monospace>RMS&#x0007B;ns&#x0007D;</monospace>. Notice that <monospace>F&#x0007B;ns&#x0007D;</monospace> decreases on smaller scales.</p></caption>
<graphic xlink:href="fphys-03-00141-g004.tif"/>
</fig>
<p>DFA indentifies the monofractal structure of a time series as the power law relation between the overall RMS (i.e., <monospace>F</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref>) computed for multiple scales (i.e., <monospace>scale</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref>). The power law relation between the overall RMS is indicated by the slope (<monospace>H</monospace>) of the regression line (<monospace>RegLine</monospace>) computed by Matlab code <xref ref-type="boxed-text" rid="BX6">6</xref> below:</p>
<boxed-text id="BX6">
<title>Matlab code 6:&#x000A0;&#x000A0;Part 2 of DFA</title>
<preformat>
<monospace>
C=polyfit(log2(scale),log2(F),1);
H=C(1);
RegLine=polyval(C,log2(scale));
</monospace>
</preformat>
<p>Type <monospace>plot5</monospace> in Matlab command window to access Figure <xref ref-type="fig" rid="F5">5</xref>.</p>
</boxed-text>
<p>The slope, <monospace>H</monospace>, of the regression line, <monospace>RegLine</monospace>, is called the Hurst exponent (Hurst, <xref ref-type="bibr" rid="B17">1951</xref>). The Hurst exponent defines the monofractal structure of the time series by how fast the overall RMS, <monospace>F</monospace>, of local fluctuations, <monospace>RMS</monospace>, grows with increasing segment sample size (i.e., <monospace>scale</monospace>). Figure <xref ref-type="fig" rid="F5">5</xref> shows that the overall RMS, <monospace>F</monospace>, of local fluctuations, <monospace>RMS</monospace>, is growing faster with the segment sample size for the <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series compared with <monospace>whitenoise</monospace> time series. The larger Hurst exponent, <monospace>H</monospace>, is visually seen as more slow evolving variations (i.e., more persistent structure) in <monospace>monfractal</monospace> and <monospace>multifractal</monospace> time series compared with <monospace>whitenoise</monospace>. Figure <xref ref-type="fig" rid="F6">6</xref> illustrates that the Hurst exponents defines a continuum between a noise like time series and a random walk like time series. The Hurst exponent will be in the interval between 0 and 1 for noise like time series whereas above 1 for a random walk like time series. A time series has a long-range dependent (i.e., correlated) structure when the Hurst exponent is in the interval 0.5&#x02013;1 and an anti-correlated structure when the Hurst exponent is in the interval 0&#x02013;0.5. The time series has an independent or short-range dependent structure in the special case when the Hurst exponent is equal to 0.5. According to Figure <xref ref-type="fig" rid="F5">5</xref>, time series <monospace>whitenoise</monospace> has a time independent structure with Hurst exponent close to 0.5 whereas <monospace>monofractal</monospace>, and <monospace>multifractal</monospace> has a long-range dependent structure with Hurst exponent between 0.7 and 0.8. The reader should notice that short-range dependent processes can mimic the scale invariance in Figure <xref ref-type="fig" rid="F5">5</xref> for certain scaling ranges (cf. Gao et al., <xref ref-type="bibr" rid="B11">2006</xref>).</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>The plot of overall RMS (i.e., <monospace>F</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref>) versus the segment sample size (i.e., <monospace>scale</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref>) where both <monospace>F</monospace> and <monospace>scale</monospace> are represented in log-coordinates</bold>. The scale invariant relation is indicated by the slope, <monospace>H</monospace>, of the regression lines, <monospace>RegLine</monospace>, computed by Matlab code <xref ref-type="boxed-text" rid="BX6">6</xref>. The slope, <monospace>H</monospace>, is a power law exponent called the Hurst exponent because <monospace>F</monospace> and <monospace>scale</monospace> are represented in log-coordinates. Notice that both the <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series have more apparent slow fluctuations compared to <monospace>whitenoise</monospace> indicated by larger amplitudes of the overall RMS on the larger scales.</p></caption>
<graphic xlink:href="fphys-03-00141-g005.tif"/>
</fig>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p><bold>The range of Hurst exponents defines a continuum of fractal structures between white noise (<italic>H</italic>&#x02009;&#x0003D;&#x02009;0.5) and Brown noise (<italic>H</italic>&#x02009;&#x0003D;&#x02009;1.5)</bold>. The pink noise <italic>H</italic>&#x02009;&#x0003D;&#x02009;1 separates between the noises <italic>H</italic>&#x02009;&#x0003C;&#x02009;1 that have more apparent fast evolving fluctuations and random walks <italic>H</italic>&#x02009;&#x0003E;&#x02009;1 that have more apparent slow evolving fluctuations. The examples <monospace>monofractal</monospace> (<italic>red trace</italic>) and <monospace>whitenoise</monospace> (<italic>turquoise trace</italic>) used in the present tutorial are both noise like time series. The long-range dependent structure of most biomedical signals is located within the illustrated continuum of fractal structures.</p></caption>
<graphic xlink:href="fphys-03-00141-g006.tif"/>
</fig>
</sec>
<sec id="s7">
<title>Multifractal detrended fluctuation analysis of time series</title>
<p>The structure of the <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series are different even though they have similar overall RMS and slopes <monospace>H</monospace> in Figure <xref ref-type="fig" rid="F5">5</xref>. The <monospace>multifractal</monospace> time series have local fluctuations with both extreme small and large magnitudes that is absent in the <monospace>monofractal</monospace> time series. The absence of fluctuations with extreme large and small magnitudes results in a normal distribution for the monofractal time series where the variation is described by the second order statistical moment (i.e., variance) alone. The <monospace>monofractal</monospace> DFA are therefore based on the second order statistics of the overall RMS (i.e., <monospace>F</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref>). In the <monospace>multifractal</monospace> time series, local fluctuation, <monospace>RMS&#x0007B;ns&#x0007D;(v)</monospace>, will be extreme large magnitude for segments <monospace>v</monospace> within the time periods of large fluctuations and extreme small magnitude for segments <monospace>v</monospace> within the time periods of small fluctuations. Consequently, the multifractal time series are not normal distributed and all <italic>q</italic>-order statistical moments should to be considered. Thus, it&#x02019;s necessary to extend the overall RMS in the monofractal DFA (i.e., <monospace>F</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref>) to the following <italic>q</italic>-order RMS of the multifractal DFA (<monospace>Fq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref> below):</p>
<boxed-text id="BX7">
<title>Matlab code 7:</title>
<preformat>
<monospace>
q=[-5,-3,-1,0,1,3,5];
for nq=1:length(q),
&#x02003;qRMS&#x0007B;1&#x0007D;=RMS&#x0007B;1&#x0007D;.&#x0005E;q(nq);
&#x02003;Fq(nq)=mean(qRMS&#x0007B;1&#x0007D;).&#x0005E;(1/q(nq));
end
Fq(q==0)=exp(0.5&#x0002A;mean(log(RMS&#x0007B;1&#x0007D;.&#x0005E;2)));
</monospace>
</preformat>
<p>Type <monospace>plot7</monospace> in the Matlab command window to access Figure <xref ref-type="fig" rid="F7">7</xref>.</p>
</boxed-text>
<p>The first command line in Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref> defines a set of <italic>q</italic>-orders from &#x02212;5 to 5. The second line initiates a loop that computes the overall <italic>q</italic>-order RMS, <monospace>Fq(nq)</monospace>, from negative to positive <italic>q</italic>&#x02019;s (see the red arguments <monospace>nq</monospace>). The <italic>q</italic>-order weights the influence of segments with large and small fluctuations, <monospace>RMS&#x0007B;1&#x0007D;</monospace>, as illustrated in Figure <xref ref-type="fig" rid="F7">7</xref>. <monospace>Fq(nq)</monospace> for negative <italic>q</italic>&#x02019;s (i.e., <monospace>nq&#x02009;&#x0003D;&#x02009;1</monospace>&#x02013;3) are influenced by segments <monospace>v</monospace> with small <monospace>RMS&#x0007B;1&#x0007D;(v)</monospace>. In contrast, <monospace>Fq(nq)</monospace> for positive <italic>q</italic>&#x02019;s (i.e., <monospace>nq&#x02009;&#x0003D;&#x02009;4</monospace>&#x02013;<monospace>6</monospace>) are influenced by segments <monospace>v</monospace> with large <monospace>RMS&#x0007B;1&#x0007D;(v)</monospace>. The local fluctuations <monospace>RMS&#x0007B;1&#x0007D;</monospace> with large and small magnitudes is graded by the magnitude of the negative or positive <italic>q</italic>-order, respectively. <monospace>Fq</monospace> for <monospace>q&#x02009;&#x0003D;&#x02009;&#x02212;3</monospace> and <monospace>3</monospace> is more influenced by the segments <monospace>v</monospace> with the smallest and largest <monospace>RMS&#x0007B;1&#x0007D;(v)</monospace>, respectively, compared to <monospace>Fq</monospace> for <monospace>q&#x02009;&#x0003D;&#x02009;-1</monospace> and <monospace>1</monospace> (see Figure <xref ref-type="fig" rid="F7">7</xref>). The midpoint <monospace>q&#x02009;&#x0003D;&#x02009;0</monospace> are neutral to influence of segments with small and large <monospace>RMS&#x0007B;1&#x0007D;</monospace>. Notice that the last line of Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref> redefines the special case <monospace>q(nq)&#x02009;&#x0003D;&#x02009;0</monospace> because 1/0 goes to infinity [i.e., <monospace>1/q(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;0)&#x02009;&#x0003D;&#x02009;inf</monospace> in Matlab]. The reader should also notice that <monospace>Fq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;2)</monospace> are equal to second order statistics <monospace>F</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref> because <monospace>sqrt(x)&#x02009;&#x0003D;&#x02009;x&#x0005E;(1/2)</monospace> in Matlab. The monofractal DFA in Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref> can now be extended to a MFDFA by simply changing Matlab code <xref ref-type="boxed-text" rid="BX4">4</xref> to Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref> in the last line of Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref>. This change is highlighted with red command lines in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> below:</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p><bold>An illustration of <monospace>qRMS&#x0007B;1&#x0007D;</monospace> computed by Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref></bold>. <monospace>qRMS&#x0007B;1&#x0007D;</monospace> is the <italic>q</italic>-order of the local fluctuateons (i.e., <monospace>RMS&#x0007B;1&#x0007D;</monospace>) and are the building block of the overall <italic>q</italic>-order RMS (i.e., <monospace>Fq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref>). <monospace>qRMS&#x0007B;1&#x0007D;</monospace> is represented for the <monospace>monofractal</monospace> (<italic>green traces</italic>) and <monospace>multifractal</monospace> (<italic>blue traces</italic>) time series. The negative <italic>q</italic>-order (<italic>q</italic>&#x02009;&#x0003D;&#x02009;&#x02212;3 and &#x02212;1) amplifies the segments in the <monospace>multifractal</monospace> time series with extreme small <monospace>RMS&#x0007B;1&#x0007D;</monospace> whereas positive <italic>q</italic>-order (<italic>q</italic>&#x02009;&#x0003D;&#x02009;3 and 1) amplifies the segments with extreme large <monospace>RMS&#x0007B;1&#x0007D;</monospace>. Notice that <italic>q</italic>&#x02009;&#x0003D;&#x02009;&#x02212;3 and <italic>q</italic>&#x02009;&#x0003D;&#x02009;3 amplify the small and large variation, respectively, more than <italic>q</italic>&#x02009;&#x0003D;&#x02009;&#x02212;1 and <italic>q</italic>&#x02009;&#x0003D;&#x02009;1. Notice also that the <monospace>monofractal</monospace> time series has no segments with extreme large or small fluctuations and, thus, no peaks in <monospace>qRMS&#x0007B;1&#x0007D;</monospace>. The overall <italic>q</italic>-order RMS is able to distinguish between the structure of small and large fluctuations and, consequently, between the <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series.</p></caption>
<graphic xlink:href="fphys-03-00141-g007.tif"/>
</fig>
<boxed-text id="BX8">
<title>Matlab code 8&#x000A0;&#x000A0;Part 1 of MFDFA1</title>
<preformat>
<monospace>
X=cumsum(multifractal-mean(multifractal));
X=transpose(X);
scale=[16,32,64,128,256,512,1024];
q=[-5,-3,-1,0,1,3,5];
m=1;
for ns=1:length(scale),
&#x02003;segments(ns)=floor(length(X)/scale(ns));
&#x02003;for v=1:segments(ns),
&#x02003;&#x02003;Index=((((v-1)&#x0002A;scale(ns))+1):(v&#x0002A;scale(ns)));
&#x02003;&#x02003;C=polyfit(Index,X(Index),m);
&#x02003;&#x02003;fit=polyval(C,Index);
&#x02003;&#x02003;RMS&#x0007B;ns&#x0007D;(v)=sqrt(mean((X(Index)-fit).&#x0005E;2));
&#x02003;end
&#x02003;for nq=1:length(q),
&#x02003;&#x02003;qRMS&#x0007B;nq,ns&#x0007D;=RMS&#x0007B;ns&#x0007D;.&#x0005E;q(nq);
&#x02003;&#x02003;Fq(nq,ns)=mean(qRMS&#x0007B;nq,ns&#x0007D;).&#x0005E;(1/q(nq));
&#x02003;end
&#x02003;Fq(q==0,ns)=exp(0.5&#x0002A;mean(log(RMS&#x0007B;ns&#x0007D;.&#x0005E;2)));
end
</monospace>
</preformat>
<p>The relationship between Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and the mathematical equations used to introduce the MFDFA in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>) are given below:</p>
<p>Eq. 1 in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>):</p>
<preformat>
<monospace>
X: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<inline-formula><mml:math id="M13"><mml:mrow><mml:mi>Y</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02261;</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>i</mml:mi></mml:munderover><mml:mrow><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mrow><mml:mo>&#x02329;</mml:mo> <mml:mi>x</mml:mi> <mml:mo>&#x0232A;</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula>
multifractal: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;x
mean(multifractal): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02329;x&#x0232A;
</monospace>
</preformat>
<p>The number <italic>N</italic><sub>s</sub> of non-overlapping segments:</p>
<preformat>
<monospace>
segments(ns): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>N</italic><sub>s</sub> &#x02261; int(<italic>N</italic>/s)
length(X): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>N</italic>
scale(ns): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<sub>s</sub>
</monospace>
</preformat>
<p>Eq. 2 in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>):</p>
<preformat>
<monospace>
RMS&#x0007B;ns&#x0007D;(v): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>F(s,v)</italic>
mean((X(Index)-fit).&#x0005E;2): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<inline-formula><mml:math id="M14"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>s</mml:mi></mml:mfrac><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>s</mml:mi></mml:munderover><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>{</mml:mo> <mml:mrow><mml:mi>Y</mml:mi><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi></mml:mrow> <mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>v</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula>
Index: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>(v - 1)s + i</italic> for <italic>i = 1, 2, &#x02026;, s</italic>
fit: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<inline-formula><mml:math id="M15"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>v</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msup><mml:mi>i</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula>
C: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>C<sub>k</sub></italic>
</monospace>
</preformat>
<p>Eq. 4 in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>):</p>
<preformat>
<monospace>
Fq(nq,ns): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<inline-formula><mml:math id="M16"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02261;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo>{</mml:mo> <mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:msup><mml:mi>F</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>q</mml:mi><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mstyle></mml:mrow> <mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mi>q</mml:mi></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>
qRMS&#x0007B;nq,ns&#x0007D;: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;[<italic>F<sup>2</sup>(s, v)</italic>]<sup>q/2</sup>
mean(qRMS&#x0007B;nq,ns&#x0007D;): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<inline-formula><mml:math id="M17"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>[</mml:mo> <mml:mrow><mml:msup><mml:mi>F</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>q</mml:mi><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula>
</monospace>
</preformat>
</boxed-text>
<p>The <italic>q</italic>-order Hurst exponent can now be defined as the slopes (<monospace>Hq</monospace>) of regression lines (<monospace>qRegLine</monospace>) for each <italic>q</italic>-order RMS (<monospace>Fq</monospace>). Both <monospace>Hq(nq)</monospace> and <monospace>qRegLine&#x0007B;nq&#x0007D;</monospace> is computed by looping Matlab code <xref ref-type="boxed-text" rid="BX6">6</xref> for each <italic>q</italic>-order (see red command lines and arguments <monospace>nq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX9">9</xref> below):</p>
<boxed-text id="BX9">
<title>Matlab code 9&#x000A0;&#x000A0; Part 2 of MFDFA1</title>
<preformat>
<monospace>
for nq=1:length(q),
&#x02003;C=polyfit(log2(scale),log2(Fq(nq,:)),1);
&#x02003;Hq(nq)=C(1);
&#x02003;qRegLine&#x0007B;nq&#x0007D;=polyval(C,log2(scale));
end
</monospace>
</preformat>
<p>Type <monospace>plot8</monospace> in Matlab command window to access Figure <xref ref-type="fig" rid="F8">8</xref>.</p>
<p>The relationship between Matlab code <xref ref-type="boxed-text" rid="BX9">9</xref> are given below in the mathematical notation used in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>):</p>
<preformat>
<monospace>
Hq(nq): &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;<italic>h(q)</italic>
qRegLine&#x0007B;nq&#x0007D;: &#x02003;&#x02003;&#x02003;&#x02003;&#x02003;&#x02003;log<sub>2</sub>(<italic>F<sub>q</sub> (s)</italic>) = <italic>h(q)</italic> log<sub>2</sub><italic>(s) + C</italic>
</monospace>
</preformat>
</boxed-text>
<p>Figure <xref ref-type="fig" rid="F8">8</xref> shows that the slopes <monospace>Hq</monospace> of the regression lines are <italic>q</italic>-dependent for the <monospace>multifractal</monospace> time series (see Figure <xref ref-type="fig" rid="F8">8</xref>A). The difference between the <italic>q</italic>-order RMS for positive and negative <italic>q</italic>&#x02019;s are more visual apparent at the small segment sizes compared to the large segment sizes (see Figure <xref ref-type="fig" rid="F8">8</xref>A). The small segments are able to distinguish between the local periods with large and small fluctuations (i.e., positive and negative <italic>q</italic>&#x02019;s, respectively) because the small segments are embedded within these periods. In contrast, the large segments cross several local periods with both small and large fluctuations and will therefore average out their differences in magnitude. Thus, the relationship between the <italic>q</italic>-order RMS of the <monospace>multifractal</monospace> time series becomes similar to the <monospace>monofractal</monospace> time series at the largest segment sizes (compare Figures <xref ref-type="fig" rid="F8">8</xref>A,B). Both the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series have no periods with small and large fluctuations and, consequently, the same difference between the <italic>q</italic>-order RMS irrespective of the segment sample sizes (see Figures <xref ref-type="fig" rid="F8">8</xref>B,C). The growing similarity between the <italic>q</italic>-order RMS of <monospace>multifractal</monospace> and <monospace>monofractal</monospace> time series with increasing segment sample size leads to a decreasing <monospace>Hq</monospace> for <monospace>multifractal</monospace> time series (see Figure <xref ref-type="fig" rid="F8">8</xref>D). The decreasing <monospace>Hq</monospace> indicates that the segments with small fluctuations have a random walk like structure whereas segments with large fluctuations have a noise like structure (see the continuum of Hurst exponents in Figure <xref ref-type="fig" rid="F6">6</xref>). The similarity between the scaling function <monospace>F</monospace> of <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series in Figure <xref ref-type="fig" rid="F5">5</xref> is indicated by the intercept of <monospace>Hq</monospace> around <italic>q</italic>&#x02009;&#x0003D;&#x02009;2 (compare blue and red traces in Figure <xref ref-type="fig" rid="F8">8</xref>D). Thus, the monofractal DFA in Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref> and <xref ref-type="boxed-text" rid="BX6">6</xref> will not distinguish between the structure of the <monospace>monofractal</monospace> and <monospace>multifractal</monospace> time series.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p><bold><italic>q</italic>-order RMS <monospace>Fq(nq,:)</monospace> and corresponding regression line <monospace>qRegLine&#x0007B;nq&#x0007D;</monospace> computed by MFDFA (i.e., Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX9">9</xref>) for time series <monospace>multifractal</monospace> (A), <monospace>monofractal</monospace> (B), and <monospace>whitenoise</monospace> (C)</bold>. <bold>(A)</bold> The scaling functions <monospace>Fq</monospace> (<italic>blue dots</italic>) and corresponding regression slopes <monospace>Hq</monospace> (<italic>blue dashed lines</italic>) are <italic>q</italic>-dependent. <bold>(B,C)</bold> The scaling functions <monospace>Fq</monospace> (<italic>red</italic> and <italic>turqouish dots</italic>) and regression slope <monospace>Hq</monospace> (<italic>red</italic> and <italic>turqouish dashed lines</italic>) are <italic>q</italic>-independent. <bold>(D)</bold> The <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> for the time series <monospace>multifractal</monospace> (<italic>blue trace</italic>), <monospace>monofractal</monospace> (<italic>red trace</italic>) and <monospace>whitenoise</monospace> (<italic>turqouish trace</italic>) where the <italic>colored dots</italic> represents the slopes <monospace>Hq</monospace> for <italic>q</italic>&#x02009;&#x0003D;&#x02009;&#x02212;3, &#x02212;1, 1, and 3 illustrated in <bold>(A&#x02013;C)</bold>. Notice that the intercept of <monospace>Hq</monospace> for <monospace>multifractal</monospace> and <monospace>monofractal</monospace> time series [intercept between <italic>blue</italic> and <italic>red</italic> trace in <bold>(D)</bold>] are close to <italic>q</italic>&#x02009;&#x0003D;&#x02009;2. This intercept reflects the similarity between their overall RMS, <monospace>F</monospace>, in Figure <xref ref-type="fig" rid="F5">5</xref>.</p></caption>
<graphic xlink:href="fphys-03-00141-g008.tif"/>
</fig>
</sec>
<sec id="s8">
<title>The multifractal spectrum of time series</title>
<p>The <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> is only one of several types of scaling exponents used to parameterize the multifractal structure of time series. The typical procedure in the literature of MFDFA is to first convert <monospace>Hq</monospace> to the <italic>q</italic>-order mass exponent (<monospace>tq</monospace>) and thereafter convert <monospace>tq</monospace> to the <italic>q</italic>-order singularity exponent (<monospace>hq</monospace>) and <italic>q</italic>-order singularity dimension (<monospace>Dq</monospace>; Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>). The plot of <monospace>hq</monospace> versus <monospace>Dq</monospace> is referred to as the multifractal spectrum (see Figure <xref ref-type="fig" rid="F9">9</xref>C). The <italic>q</italic>-order mass exponent <monospace>tq</monospace> can be computed from <monospace>Hq</monospace> by the Matlab code <xref ref-type="boxed-text" rid="BX10">10</xref> below (see Figure <xref ref-type="fig" rid="F9">9</xref>B):</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p><bold>Multiple representations of multifractal spectrum for <monospace>multifractal</monospace> (<italic>blue traces</italic>), <monospace>monofractal</monospace> (<italic>red traces</italic>), and <monospace>whitenoise</monospace> (<italic>turquoise trace</italic>) time series</bold>. <bold>(A)</bold> <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> computed in Matlab code <xref ref-type="boxed-text" rid="BX9">9</xref>. <bold>(B)</bold> Mass exponent <monospace>tq</monospace> computed in Matlab code <xref ref-type="boxed-text" rid="BX10">10</xref>. <bold>(C)</bold> Multifractal spectrum of <monospace>Dq</monospace> and <monospace>hq</monospace> (<italic>upper right panels</italic>) computed in Matlab code <xref ref-type="boxed-text" rid="BX11">11</xref> and plotted against each other. The arrow indicates the difference between the maximum and minimum <monospace>hq</monospace> that are called the multifractal spectrum width. Notice that the constant <monospace>Hq</monospace> for <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> times series leads to a linear <monospace>tq</monospace> that further leads to a constant <monospace>hq</monospace> and <monospace>Dq</monospace> that, finally, are joined to become only tiny arcs in <bold>(C)</bold>.</p></caption>
<graphic xlink:href="fphys-03-00141-g009.tif"/>
</fig>
<boxed-text id="BX10">
<title>Matlab code 10&#x000A0;&#x000A0;Part 3 of MFDFA1</title>
<preformat>
<monospace>
tq=Hq.&#x0002A;q-1;
</monospace>
</preformat>
<p>Eq. 13 in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>)</p>
</boxed-text>
<p>The mass exponent <monospace>tq</monospace> is used to compute the <italic>q</italic>-order singularity exponent (<monospace>hq</monospace>) and the <italic>q</italic>-order singularity dimension (<monospace>Dq</monospace>) by Matlab code <xref ref-type="boxed-text" rid="BX11">11</xref> below (see upper right Figure <xref ref-type="fig" rid="F9">9</xref>):</p>
<boxed-text id="BX11">
<title>Matlab code 11&#x000A0;&#x000A0;Part 4 of MFDFA1</title>
<preformat>
<monospace>
hq=diff(tq)./(q(2)-q(1));
Dq=(q(1:end-1).&#x0002A;hq)-tq(1:end-1);
</monospace>
</preformat>
<p>Equation 15 in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>)</p>
<p>Type <monospace>plot9</monospace> in the Matlab command window to access Figure <xref ref-type="fig" rid="F9">9</xref>.</p>
</boxed-text>
<p>The <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series has a mass exponent <monospace>tq</monospace> with a linear <italic>q</italic>-dependency. The linear <italic>q</italic>-dependency of <monospace>tq</monospace> leads to a constant <monospace>hq</monospace> of these time series because <monospace>hq</monospace> is the tangent slope of <monospace>tq</monospace> (see the first command line in Matlab code <xref ref-type="boxed-text" rid="BX11">11</xref>). The constant <monospace>hq</monospace> reduces the multifractal spectrum to a small arc for the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series (see Figure <xref ref-type="fig" rid="F9">9</xref>C). In contrast, the <monospace>multifractal</monospace> time series has mass exponents <monospace>tq</monospace> with a curved <italic>q</italic>-dependency and, consequently, a decreasing singularity exponent <monospace>hq</monospace>. The resulting multifractal spectrum is a large arc where the difference between the maximum and minimum <monospace>hq</monospace> are called the multifractal spectrum width (see arrow in Figure <xref ref-type="fig" rid="F9">9</xref>C).</p>
<p>The reader should notice that the <italic>q</italic>-order singularity exponent hq and corresponding dimension Dq computed by Matlab code <xref ref-type="boxed-text" rid="BX11">11</xref> are referred to as &#x003B1; and <italic>f</italic>(&#x003B1;) in Kantelhardt et al. (<xref ref-type="bibr" rid="B22">2002</xref>), but as <italic>h</italic> and <italic>D</italic>(<italic>h</italic>) in other literature (e.g. Ihlen and Vereijken, <xref ref-type="bibr" rid="B18">2010</xref>). Furthermore, the singularity dimension can be confused with the generalized dimension and the box counting dimension that is other ways to parameterize the multifractal structure of time series (see Equation 14 in Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>).</p>
<p>The Hurst exponent defined by the monofractal DFA represents the average fractal structure of the time series as illustrated in Figure <xref ref-type="fig" rid="F6">6</xref> and is closely related to the central tendency of multifractal spectrum. The deviation from average fractal structure for segments with large and small fluctuations is represented by the multifractal spectrum width. Thus, each average fractal structure in the continuum of Hurst exponents (see Figure <xref ref-type="fig" rid="F6">6</xref>) has a new continuum of multifractal spectrum widths that represents the deviations from the average fractal structure (see Figure <xref ref-type="fig" rid="F10">10</xref>). Furthermore, the shape of the multifractal spectrum in Figure <xref ref-type="fig" rid="F10">10</xref> does not have to be symmetric. The multifractal spectrum can also have either a left or a right truncation that originate from a leveling of the <italic>q</italic>-order Hurst exponent for negative or positive <italic>q</italic>&#x02019;s, respectively (see Figure <xref ref-type="fig" rid="F11">11</xref>). The leveling of <italic>q</italic>-order Hurst exponent reflects that the <italic>q</italic>-order RMS is insensitive to the magnitude of the local fluctuations. The multifractal spectrum will have a long left tail when the time series have a multifractal structure that is insensitive to the local fluctuations with small magnitudes (see upper Figure <xref ref-type="fig" rid="F11">11</xref>). In contrast, the multifractal spectrum will have a long right tail when the time series have a multifractal structure that is insensitive to the local fluctuations with large magnitudes (see lower Figure <xref ref-type="fig" rid="F11">11</xref>). Another continuum of right and left truncations exists for each multifractal spectrum width in the continuum illustrated in Figure <xref ref-type="fig" rid="F10">10</xref>. Thus, the width and shape of the multifractal spectrum is able to classify a wide range of different scale invariant structures of biomedical time series.</p>
<fig id="F10" position="float">
<label>Figure 10</label>
<caption><p><bold>Illustration of a continuum of multifractal time series with the same <italic>q</italic>-order Hurst exponent for <italic>q</italic>&#x02009;&#x0003D;&#x02009;2 but with different multifractal spectrum width [compare <italic>vertical axis</italic> of the (A) and the <italic>arrow</italic> in the (B)]</bold>. Notice the growth of structural differences between the periods with small and large fluctuations as the multifractal spectrum width become larger.</p></caption>
<graphic xlink:href="fphys-03-00141-g010.tif"/>
</fig>
<fig id="F11" position="float">
<label>Figure 11</label>
<caption><p><bold>Illustration of multifractal spectra with a right truncation (<italic>upper right panel</italic>) and a left truncation (<italic>upper left panel</italic>)</bold>. These truncations originate from the leveling of the <italic>q</italic>-order Hurst exponents for negative <italic>q</italic>&#x02019;s (<italic>upper right panel</italic>) and positive <italic>q</italic>&#x02019;s (<italic>upper left panel</italic>), respectively.</p></caption>
<graphic xlink:href="fphys-03-00141-g011.tif"/>
</fig>
</sec>
<sec id="s9">
<title>A direct estimation of the multifractal spectrum</title>
<p>The transformation of the <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> to the mass exponent <monospace>tq</monospace> and, finally, to the multifractal spectrum <monospace>Dq</monospace> and <monospace>hq</monospace> is stated as a &#x0201C;just-the-way-it-is&#x0201D; argument in the above section without mathematical details. The reader might ask at this point why one should define and interpret the multifractal spectrum <monospace>Dq</monospace> and <monospace>hq</monospace> and not only <monospace>Hq</monospace> that are directly estimated by Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX9">9</xref>. Estimating the multifractal spectrum directly from the local fluctuation, will answer this question and give a less abstract definition of the multifractal spectrum. A local Hurst exponent can be defined directly from, <monospace>RMS&#x0007B;ns&#x0007D;(v)</monospace>, for each time instant <monospace>v</monospace>. The local Hurst exponent estimated for a <monospace>multifractal</monospace> time series will fluctuate in time in contrast to the time independent Hurst exponent estimated by the monofractal DFA (see Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref> and <xref ref-type="boxed-text" rid="BX6">6</xref>; Figure <xref ref-type="fig" rid="F5">5</xref>). The temporal variation of the local Hurst exponent can be summarized in a probability distribution and the multifractal spectrum is just the normalized probability distribution in log-coordinates. Thus, the width and shape of the multifractal spectrum reflect the temporal variation of the local Hurst exponent or, in other words, the temporal variation in the local scale invariant structure of the time series. In order to estimate the local Hurst exponent, the local fluctuation, <monospace>RMS&#x0007B;ns&#x0007D;(v)</monospace>, has to be defined within a translating segment centered at sample <monospace>v</monospace> instead of within non-overlapping segments. Thus, Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> has to be modified to Matlab code <xref ref-type="boxed-text" rid="BX12">12</xref> below (see red command lines):</p>
<boxed-text id="BX12">
<title>Matlab code 12&#x000A0;&#x000A0;Part 1 of MFDFA2</title>
<preformat>
<monospace>
X=cumsum(multifractal-mean(multifractal));
X=transpose(X);
scale_small=[7, 9, 11, 13, 15, 17];
halfmax=floor(max(scale_small)/2);
Time_index=halfmax+1:length(X)-halfmax;
m=1;
for ns=1:length(scale_small),
&#x02003;halfseg=floor(scale_small(ns)/2);
&#x02003;for v=halfmax+1:length(X)-halfmax;
&#x02003;&#x02003;T_index=v-halfseg:v+halfseg;
&#x02003;&#x02003;C=polyfit(T_index,X(T_index),m);
&#x02003;&#x02003;fit=polyval(C,T_index);
&#x02003;&#x02003;RMS&#x0007B;ns&#x0007D;(v)=sqrt(mean((X(T_index)-fit).&#x0005E;2));
&#x02003;end
end
</monospace>
</preformat>
<p>(The reader must be patient because this code might take a couple of minutes)</p>
</boxed-text>
<p>The first red command line defines a vector of small segment sizes (i.e., <monospace>scale_small</monospace>) where the segment sizes increases with two samples. This increase of two samples is necessary to align the center of segments according to the <monospace>Time_index</monospace>. The third red line set the <monospace>Time_index</monospace> for the local fluctuation, <monospace>RMS&#x0007B;ns&#x0007D;</monospace>, that exclude the <monospace>halfmax</monospace> number of samples at the start and the end of the time series (see second red command line). Then a loop are initiated for each segment size where the local fluctuations, <monospace>RMS&#x0007B;ns&#x0007D;(v)</monospace>, are computed for a translating segment centered at sample <monospace>v&#x02009;&#x0003D;&#x02009;Time_index</monospace>. The translating segment includes the local samples that are updated by <monospace>T_index</monospace> (see last red command line). The local Hurst exponent (<monospace>Ht</monospace>) can now be computed from the local fluctuation, <monospace>RMS&#x0007B;ns&#x0007D;</monospace>, by the Matlab code <xref ref-type="boxed-text" rid="BX13">13</xref> below:</p>
<boxed-text id="BX13">
<title>Matlab code 13&#x000A0;&#x000A0;Part 2 of MFDFA2</title>
<preformat>
<monospace>
C=polyfit(log2(scale),log2(Fq(q==0,:)),1);
Regfit=polyval(C,log2(scale_small));
maxL=length(X);
for ns=1:length(scale_small);
&#x02003;&#x02003;RMSt=RMS&#x0007B;ns&#x0007D;(Time_index);
&#x02003;&#x02003;resRMS&#x0007B;ns&#x0007D;=Regfit(ns)-log2(RMSt);
&#x02003;&#x02003;logscale(ns)=log2(maxL)-log2(scale_small(ns));
&#x02003;&#x02003;Ht(ns,:)=resRMS&#x0007B;ns&#x0007D;./logscale(ns)+Hq(q==0);
end
</monospace>
</preformat>
<p>Type <monospace>plot12</monospace> in the Matlab command window to access Figure <xref ref-type="fig" rid="F12">12</xref>.</p>
</boxed-text>
<p>The first two command line defines the regression line <monospace>Regfit</monospace> equal to the regression line <monospace>qRegLine&#x0007B;q&#x02009;&#x0007D;&#x0003D;<monospace>&#x02009;&#x0003D;&#x02009;0</monospace></monospace> computed by Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref>. <monospace>Regfit</monospace> represents the center of the spread of local <monospace>RMS</monospace> and are the regression line of the overall <italic>q</italic>-order RMS, <monospace>Fq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;0,:)</monospace>. A loop for each scale <monospace>ns</monospace> computes the residual fluctuation <monospace>resRMS&#x0007B;ns&#x0007D;</monospace> of <monospace>log2(RMS&#x0007B;ns&#x0007D;)</monospace> around the regression line <monospace>Regfit</monospace> for each sample <monospace>v</monospace> of the time series. In Figure <xref ref-type="fig" rid="F12">12</xref>B, the differences between the overall <italic>q</italic>-order RMS, <monospace>Fq</monospace>, converge toward each other with increasing scale. This convergence is inevitable for multifractal variation by the linear relationship between <monospace>Fq</monospace> for all <italic>q</italic>-order and the assumption of monotonical decreasing <italic>q</italic>-order Hurst exponent, <monospace>Hq</monospace> (see Figure <xref ref-type="fig" rid="F8">8</xref>D). The same convergence is seen for the local <monospace>RMS</monospace> in Figure <xref ref-type="fig" rid="F12">12</xref>A and is used to estimate the local Hurst exponents, <monospace>Ht(ns,:)</monospace>. <monospace>Ht(ns,:)</monospace> is estimated as the slope of the line from local <monospace>RMS</monospace> in log-coordinates to the endpoint of the regression line, <monospace>Regfit</monospace>, at the largest scale, <monospace>maxL</monospace> (see Figure <xref ref-type="fig" rid="F12">12</xref>). Consequently, <monospace>Ht(ns,:)</monospace> are obtained by dividing the residuals <monospace>resRMS&#x0007B;ns&#x0007D;</monospace> by <monospace>logscale</monospace> (i.e., the difference between maximal scale <monospace>maxL</monospace> and the <monospace>scale(ns)</monospace> in log-coordinates) and adding the slope <monospace>Hq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;0)</monospace> of regression line, <monospace>Regfit</monospace> (see Figure <xref ref-type="fig" rid="F12">12</xref>A). Figure <xref ref-type="fig" rid="F13">13</xref>A illustrates the local Hurst exponent <monospace>Ht(ns,:)</monospace> for <monospace>ns&#x02009;&#x0003D;&#x02009;5</monospace> (i.e., <monospace>scale(ns)&#x02009;&#x0003D;&#x02009;15</monospace>) for the <monospace>multifractal</monospace>, <monospace>monofractal</monospace>, and <monospace>whitenoise</monospace> time series. The local Hurst exponent <monospace>Ht(ns,:)</monospace> has larger variation for the <monospace>multifractal</monospace> time series compared to the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series. The small <monospace>Ht(ns,:)</monospace> in the periods of the <monospace>multifractal</monospace> time series with local fluctuations of large magnitudes (i.e., large <monospace>RMS&#x0007B;ns&#x0007D;</monospace>) reflects the noise like structure of the local fluctuations (see red dashed lines in Figure <xref ref-type="fig" rid="F13">13</xref>A). In contrast, the larger <monospace>Ht(ns,:)</monospace> in the periods with local fluctuations of small magnitudes (i.e., small <monospace>RMS&#x0007B;ns&#x0007D;</monospace>) reflects the random walk like structure of the local fluctuations (see black dashed lines in Figure <xref ref-type="fig" rid="F13">13</xref>A). The local Hurst exponent <monospace>Ht</monospace> in periods with fluctuations of small and large magnitudes is therefore consistent with the <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> for negative and positive <italic>q</italic>&#x02019;s, respectively. The advantage of local Hurst exponent <monospace>Ht</monospace> compared with <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> is the ability of <monospace>Ht</monospace> to identify the time instant of structural changes within the time series. In studies where the physiological phenomenon is perturbed at some time instant <monospace>v</monospace>, the local Hurst exponent <monospace>Ht(ns,v)</monospace> can identify how this perturbation affects the local scale invariant structure of the biomedical time series. The temporal variation of local Hurst exponent <monospace>Ht</monospace> can be summarized in a histogram representing the probability distribution (<monospace>Ph</monospace>) of <monospace>Ht</monospace> (see Figure <xref ref-type="fig" rid="F13">13</xref>B). The multifractal spectrum (<monospace>Dh</monospace>) is defined simply by the log-transformation of the normalized probability distribution (<monospace>Ph_norm</monospace>). The probability distribution (<monospace>Ph</monospace>) and multifractal spectrum (<monospace>Dh</monospace>) are computed by Matlab code <xref ref-type="boxed-text" rid="BX14">14</xref> below:</p>
<fig id="F12" position="float">
<label>Figure 12</label>
<caption><p><bold>(A)</bold> A summary of how the local Hurst exponent <monospace>Ht</monospace> is estimated in Matlab code <xref ref-type="boxed-text" rid="BX13">13</xref>. The regression line <monospace>Regfit</monospace> (red center line) is the center of the spread of local <monospace>RMS</monospace> in log-coordinates and is equal to the regression line <monospace>qRegLine&#x0007B;q&#x02009;&#x0007D;&#x0003D;<monospace>&#x02009;&#x0003D;&#x02009;0</monospace></monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX9">9</xref> [see <bold>(B)</bold>]. The minimum and maximum local Hurst exponent <monospace>Ht(5,:)</monospace> is the slope of the upper and lower red lines, respectively, that converge from the maximum and minimum of <monospace>RMS&#x0007B;5&#x0007D;</monospace> onto the regression line <monospace>Regfit</monospace> at the maximum scale <monospace>maxL</monospace>. Consequently, the local Hurst exponent <monospace>Ht(ns,:)</monospace> estimated by dividing the residual <monospace>resRMS&#x0007B;ns&#x0007D;(v)</monospace> for each time instant <monospace>v</monospace> by <monospace>logscale(ns)</monospace> (i.e., the difference between the maximal scale <monospace>maxL</monospace> and <monospace>scale(ns)</monospace> in log-coordinates) and adding the slope Hq<sub>q&#x0003D;0</sub> of the regression line <monospace>Regfit</monospace>. <bold>(B)</bold> The scaling function <monospace>Fq</monospace> (blue dots) and the regression lines <monospace>qRegLine&#x0007B;nq&#x0007D;</monospace> (blue lines) computed by Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX9">9</xref>. All <monospace>Fq</monospace> lies within the envelope between the red lines for the maximum and minimum <monospace>Ht(5,:)</monospace>, but does not cover the entire range in the same way as the local <monospace>RMS&#x0007B;5&#x0007D;</monospace> in <bold>(A)</bold>. <bold>(C)</bold> The smallest scales used to compute the local Hurst exponents and the multifractal spectrum illustrated in Figure <xref ref-type="fig" rid="F13">13</xref>. The red dots represent the maximum <monospace>RMS&#x0007B;ns&#x0007D;(1080)</monospace> and minimum <monospace>RMS&#x0007B;ns&#x0007D;(1199)</monospace> for multiple segment sample sizes [i.e., <monospace>scale(ns)</monospace>] at time instant <monospace>v&#x02009;&#x0003D;&#x02009;1080</monospace> and <monospace>v=1199</monospace>, respectively [see Figure <xref ref-type="fig" rid="F13">13</xref>A] whereas blue dots represent the local fluctuations for 30 other time instants. Notice that both the horizontal and vertical axes in all panels are in log-coordinates.</p></caption>
<graphic xlink:href="fphys-03-00141-g012.tif"/>
</fig>
<boxed-text id="BX14">
<title>Matlab code 14&#x000A0;&#x000A0;Part 3 of MFDFA2</title>
<preformat>
<monospace>
Ht_row=Ht(:);
BinNumb=round(sqrt(length(Ht_row)));
[freq,Htbin]=hist(Ht_row,BinNumb);
Ph=freq./sum(freq);
Ph_norm=Ph./max(Ph);
Dh=1-(log(Ph_norm)./-log(mean(scale)));
</monospace>
</preformat>
<p>Type <monospace>plot13</monospace> in Matlab command window to access Figure <xref ref-type="fig" rid="F13">13</xref>.</p>
</boxed-text>
<p>The first line in Matlab code <xref ref-type="boxed-text" rid="BX14">14</xref> convert the matrix <monospace>Ht</monospace> to the vector <monospace>Ht_row</monospace> that are the input argument in <monospace>hist</monospace> function used to compute the histogram for <monospace>Ht_row</monospace>. The second input argument in <monospace>hist</monospace> function are <monospace>BinNumb</monospace> that set the number of bins in the histogram. A sufficient choice for <monospace>BinNumb</monospace> is the square root of the sample size of <monospace>Ht_row</monospace> (see the second command line). The output variables of <monospace>hist</monospace> function are the center of each bin <monospace>Htbin</monospace> and the number <monospace>freq</monospace> of local Hurst exponents that fall into each bin. The probability distribution <monospace>Ph</monospace> are computed by dividing the number <monospace>freq</monospace> of local Hurst exponents in each bin by the total number of local Hurst exponents, <monospace>sum(freq)</monospace> (see Figure <xref ref-type="fig" rid="F13">13</xref>B). The multifractal spectrum <monospace>Dh</monospace> are computed by first define <monospace>Ph_norm</monospace> by normalizing <monospace>Ph</monospace> to the maximum probability <monospace>max(Ph)</monospace> and then divide <monospace>log(Ph_norm)</monospace> by &#x02013;<monospace>log(mean(scale))</monospace> (cf. Struzik, <xref ref-type="bibr" rid="B38">2000</xref>; Scafetta et al., <xref ref-type="bibr" rid="B35">2003</xref>). The multifractal spectrum <monospace>Dh</monospace> are therefore directly related to the distribution <monospace>Ph</monospace> of the local fractal structure of the time series. The distribution <monospace>Ph</monospace> is the same for the local scale invariant structure of the time series as the conventional probability distribution are for the local amplitudes of the time series. The present state of the physiological system is connected to both past and future states that influence the local scale invariant structure of time series. Thus, distribution <monospace>Ph</monospace> and the multifractal spectrum <monospace>Dh</monospace> of biomedical time series might reflect important properties of the self-regulation of physiological processes.</p>
<fig id="F13" position="float">
<label>Figure 13</label>
<caption><p><bold>(A)</bold> The <monospace>multifractal</monospace>, <monospace>monofractal,</monospace> and <monospace>whitenoise</monospace> time series (upper panel) and their local Hurst exponents <monospace>Ht(:,5)</monospace> computed by Matlab code <xref ref-type="boxed-text" rid="BX13">13</xref> (lower panel). The <monospace>multifractal</monospace> time series have a larger variation in the local Hurst exponents <monospace>Ht(5,:)</monospace> compared with the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series. The period with the local fluctuation of the smallest magnitude in <monospace>multifractal</monospace> time series contains the maximum <monospace>Ht(5,:)</monospace> (see Ht<sub>max</sub> in period between the <italic>black dashed lines</italic>) whereas the period with the local fluctuation of the largest magnitudes contains the smallest <monospace>Ht(5,:)</monospace> (see Ht<sub>min</sub> in the period between <italic>red dashed lines</italic>). <bold>(B)</bold> The probability distribution <monospace>Ph</monospace> of the local Hurst exponents <monospace>Ht</monospace> estimated as histograms by Matlab code <xref ref-type="boxed-text" rid="BX14">14</xref> for the <monospace>multifractal</monospace>, <monospace>monofractal,</monospace> and <monospace>whitenoise</monospace> time series. <bold>(C)</bold> The multifractal spectrum <monospace>Dh</monospace> estimated from distribution <monospace>Ph</monospace> by Matlab code <xref ref-type="boxed-text" rid="BX14">14</xref> for the same time series. The distribution <monospace>Ph</monospace> and spectrum <monospace>Dh</monospace> have a larger width for the <monospace>multifractal</monospace> time series compared to the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series.</p></caption>
<graphic xlink:href="fphys-03-00141-g013.tif"/>
</fig>
</sec>
</sec>
<sec id="s10">
<title>The Best Practice of Multifractal Detrended Fluctuation Analysis</title>
<p>The MFDFA introduced piece-by-piece in Section <xref ref-type="sec" rid="s1">&#x0201C;Multifractal Detrended Fluctuation Analysis in Matlab&#x0201D;</xref> can be combined into two Matlab function <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>, respectively:</p>
<boxed-text id="BX16">
<title>Matlab functions for MFDFA</title>
<p><bold>Matlab code 8 to 11:</bold></p>
<preformat>
<monospace>
[Hq,tq,hq,Dq,Fq]=MFDFA1(signal,scale,q,m,Fig);
</monospace>
</preformat>
<p><bold>Matlab code 12 to 14:</bold></p>
<preformat>
<monospace>
[Ht,Htbin,Ph,Dh]=MFDFA2(signal,scale,m,Fig);
</monospace>
</preformat>
<p>Type <monospace>help MDFA1</monospace> or <monospace>help MFDFA2</monospace> in the Matlab command window to access the definition of the input and output variables. The help functions provide examples for the employment of <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> to time series.</p>
</boxed-text>
<p>The main aim of Section <xref ref-type="sec" rid="s10">&#x0201C;The Best Practice of Multifractal Detrended Fluctuation Analysis&#x0201D;</xref> is to guide the application of <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> to biomedical time series. In Section <xref ref-type="sec" rid="s1">&#x0201C;<italic>Multifractal Detrended Fluctuation Analysis in Matlab</italic>&#x0201D;</xref> the readers has gained insight into the construction of <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> and this insight will help them to avoid potential pitfalls in the application of <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. The best practice of <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> has several steps. First, the structure of biomedical time series must be similar to noise before employing <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> (see blue traces in Figure <xref ref-type="fig" rid="F1">1</xref>). Section <xref ref-type="sec" rid="s11">&#x0201C;<italic>Random Walk or Noise Like Time Series?</italic>&#x0201D;</xref> introduces conversions to make the biomedical time series similar to a noise like time series. Secondly, the local fluctuations within the biomedical time series cannot be close to zero. Section <xref ref-type="sec" rid="s12">&#x0201C;<italic>Local Fluctuations Close to Zero?</italic>&#x0201D;</xref> discusses possible origins for local fluctuations close to zero and possible solutions to this problem. Thirdly, the biomedical time series must be scale invariant within the predefined range of scales. Section <xref ref-type="sec" rid="s13">&#x0201C;<italic>Is the Time Series Scale Invariant?</italic>&#x0201D;3</xref> discusses the general assumption of a scale invariant time series as input in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. Fourth, the input parameters <monospace>scale</monospace>, <monospace>q</monospace>, and <monospace>m</monospace> in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> must be sufficiently defined for each biomedical time series. Section <xref ref-type="sec" rid="s14">&#x0201C;<italic>How to Set the Input Parameters Scale, q, and m in MFDFA1 and MFDFA2</italic>&#x0201D;</xref> introduces guidelines for the optimal parameter setting. Finally, Section <xref ref-type="sec" rid="s15">&#x0201C;<italic>Other Multifractal Analysis</italic>&#x0201D;</xref> lists other multifractal analyses where results can be compared to results from <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>.</p>
<sec id="s11">
<title>Random walk or noise like time series?</title>
<p><monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> have the best performance when <monospace>signal</monospace> are a noise like time series. However, it can be difficult according to Figure <xref ref-type="fig" rid="F6">6</xref> to visually differentiate between random walk and noise like time series. A possible solution suggested by Eke et al. (<xref ref-type="bibr" rid="B9">2002</xref>) is to run a monofractal DFA (i.e., Matlab code <xref ref-type="boxed-text" rid="BX5">5</xref> and <xref ref-type="boxed-text" rid="BX6">6</xref>) before running <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. The time series are noise like if Hurst exponent <monospace>H</monospace> is between 0.2 and 0.8. In this case, <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> can be employed directly without transformation of the time series. However, the time series are random walk like when <monospace>H</monospace> is between 1.2 and 1.8. In these cases, the time series should either be differentiated before entering the <monospace>MFDFA1</monospace> or <monospace>MFDFA2</monospace> or the conversion to random walk in the first line of Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX12">12</xref> should be eliminated. If the time series are random walk like&#x02009;&#x0002B;&#x02009;1 should be added to the output variables <monospace>Hq</monospace>, <monospace>hq</monospace>, and <monospace>tq</monospace> from <monospace>MFDFA1</monospace> and <monospace>Ht</monospace> and <monospace>Htbin</monospace> from <monospace>MFDFA2</monospace>. Table <xref ref-type="table" rid="T1">1</xref> summarize the categories of the Hurst exponent estimated by a monofractal DFA with corresponding conversion of the biomedical time series that should be performed before entering it into <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p><bold>Conversions of the biomedical time series <monospace>X</monospace> and adjustment of <monospace>Hq</monospace> and <monospace>Ht</monospace></bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left">Hurst exponent (H)</th>
<th align="left">Conversion</th>
<th align="left">Adjustment of <monospace>Hq</monospace> and <monospace>Ht</monospace></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">&#x0003C;0.2</td>
<td align="left"><monospace>signal=cumsum(X-mean(X))</monospace></td>
<td align="left">&#x02212;1</td>
</tr>
<tr>
<td align="left">0.2&#x02013;0.8</td>
<td align="left">No conversion</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">0.8&#x02013;1.2</td>
<td align="left">No conversion</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">1.2&#x02013;1.8</td>
<td align="left"><monospace>signal=diff(X)</monospace></td>
<td align="left">&#x0002B;1</td>
</tr>
<tr>
<td align="left">&#x0003E;1.8</td>
<td align="left"><monospace>signal=diff(diff(X))</monospace></td>
<td align="left">&#x0002B;2</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s12">
<title>Local fluctuations close to zero?</title>
<p>The local fluctuation in the time series is defined as a local <monospace>RMS</monospace> within both <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. Large error appears in the multifractal spectrum when <monospace>RMS</monospace> is close to zero because both <monospace>log2(Fq)</monospace> for negative <italic>q</italic>&#x02019;s in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <monospace>log2(RMSt)</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX12">12</xref> becomes infinitely small (i.e., <monospace>-inf</monospace> in Matlab). Extreme large <monospace>Hq</monospace> will be present for negative <italic>q</italic>&#x02019;s as output from <monospace>MFDFA1</monospace>. Equivalently, extreme large outliers in <monospace>Ht</monospace> will be present as output from <monospace>MFDFA2</monospace>. Consequently, local <monospace>RMS</monospace> close to zero will lead to large right tails for the multifractal spectrum. The problem of segments with <monospace>RMS</monospace> close to zero can be solved by eliminating <monospace>RMS</monospace> below a certain threshold (<monospace>eps</monospace>). The threshold <monospace>eps</monospace> can be set to the precision of the measurement device that is recording the biomedical time series. As an example, the measurement of the inter-beat intervals of the human heart is measured as the time interval between R-peaks in ECG and has a typical precision of 1 millisecond. Thus, <monospace>RMS</monospace> below 1 millisecond can be eliminated from further analysis when <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> are employed to series of inter-beat intervals. Elimination of local fluctuations below the measurement error is possible in <monospace>MFDFA1</monospace> by setting <monospace>eps&#x02009;</monospace>&#x0003D;&#x02009;1 and <monospace>RMS&#x0007B;ns&#x0007D;(RMS&#x02009;</monospace>&#x0003C;<monospace>&#x02009;eps)&#x02009;&#x0003D;&#x02009;[]</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref>.</p>
<p>There are two main reasons why the local fluctuation <monospace>RMS</monospace> becomes zero in segments with small sample sizes. First, the polynomial trend <monospace>fit</monospace> of the time series can be overfitted in segments with small sample sizes (i.e., small scale). An overfitted trend will be similar to the time series and cause the residual fluctuations, <monospace>RMS</monospace>, to be close to zero. The sample size of the smallest segment (i.e., scale) should therefore be much larger than the polynomial order <monospace>m</monospace> to prevent an overfitted trend. Secondly, the biomedical time series might be smooth with little apparent variation and therefore similar to the polynomial trend even for low order <monospace>m</monospace>. In these cases, the value of the smallest scales should be raised and the scale invariance checked carefully (see <xref ref-type="sec" rid="s13">&#x0201C;<italic>Is the Time Series Scale Invariant?</italic>&#x0201D;</xref> below).</p>
</sec>
<sec id="s13">
<title>Is the time series scale invariant?</title>
<p>The application of both Matlab function <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> assumes that the biomedical time series are scale invariant. This means that <monospace>plot(log2(scale),log2(Fq))</monospace> yield a linear relationship between <monospace>log2(scale)</monospace> and <monospace>log2(Fq)</monospace> (see Figure <xref ref-type="fig" rid="F8">8</xref>)., The <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> should not be estimated by a linear regression if the relationship between <monospace>log2(scale)</monospace> and <monospace>log2(Fq)</monospace> is curved or S-shaped. Consequently, the first output from <monospace>MFDFA1</monospace> to be visually checked should be <monospace>plot(log2(scale),log2(Fq))</monospace>. Non-linear relation in this plot might arise from several reasons. First, an insufficient order <monospace>m</monospace> for the polynomial detrending will yield a non-linear relationship between <monospace>log2(scale)</monospace> and <monospace>log2(Fq)</monospace> for scale invariant time series with a trend. The solution is to run <monospace>MFDFA1</monospace> or <monospace>MFDFA2</monospace> multiple times with different <monospace>m</monospace> and compare their <monospace>plot(log2(scale),log2(Fq)</monospace>. Secondly, local fluctuations <monospace>RMS</monospace> close to zero for small scales would yield a non-linear dip in lower end of <monospace>plot(log2(scale),log2(Fq))</monospace>. This dip can be prevented by elimination of <monospace>RMS</monospace> below the measurement error suggested in Section <xref ref-type="sec" rid="s12">&#x0201C;<italic>Local Fluctuations Close to Zero?</italic>&#x0201D;</xref> or by choosing a larger minimum input scale. Finally and most importantly, a non-linear relationship in <monospace>plot(log2(scale),log2(Fq))</monospace> might originate from the phenomenon recorded in the biomedical time series. As an example, respiratory frequency creates distinct oscillations in the fast fluctuations of the heart rate variability (Stein and Kleiger, <xref ref-type="bibr" rid="B37">1999</xref>) and cause the scale invariance to break down at the smallest scales. Another example is postural sway in humans where the variation of the center of pressure has two distinct scaling regions thought to represent two distinct modes for human balance control (Collins and De Luca, <xref ref-type="bibr" rid="B6">1993</xref>). One way to detect the sub-regions with scale invariance is to look for periods with approximately constant <monospace>log2(Fq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;1,:)./scale)</monospace> in <monospace>plot(log2(scale),log2(Fq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;1,:)./scale))</monospace> within the entire scaling range (cf. Gao et al., <xref ref-type="bibr" rid="B11">2006</xref>). The scales where <monospace>log2(Fq(q&#x02009;&#x0003D;&#x02009;&#x0003D;&#x02009;1,:)./scale)</monospace> are no longer constant indicates the segment sizes above and below which the local fluctuations (i.e., RMS) are no longer scale invariant. These points will in many cases have phenomenological explanations and should not be ignored.</p>
</sec>
<sec id="s14">
<title>How to set the input parameters scale, q, and m in MFDFA1 and MFDFA2</title>
<p>The Matlab functions <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> have input parameters <monospace>scale</monospace>, <monospace>q</monospace> and <monospace>m</monospace>. The estimation of the multifractal spectra is dependent on these parameter settings. The rest of this section gives guidelines to the parameter settings in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>:</p>
<sec>
<title>Scale</title>
<p>The input parameters <monospace>scale</monospace> is the multiple segment sizes for the computation of local fluctuation <monospace>RMS</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX12">12</xref>. A minimum and maximum sample size of the segments [i.e., <monospace>min(scale)</monospace> and <monospace>max(scale)</monospace> in Matlab] has to be chosen to construct the set of scales used in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. Both statistical and phenomenological arguments exist on how to choose the minimum and maximum segment size. The statistical argument is to choose minimum and maximum segment sizes that provide a numerical stable estimation of <monospace>RMS</monospace> and <monospace>Fq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref> and <xref ref-type="boxed-text" rid="BX12">12</xref>. The minimum segment sample size should be large enough to prevent error in the computation of local fluctuation <monospace>RMS</monospace>. The minimum segment size larger than 10 samples is a &#x0201C;rule of tumb&#x0201D; for the computation of <monospace>RMS</monospace>. Furthermore, the minimum sample size must be considerably larger than the polynomial order <monospace>m</monospace> to prevent overfitting of polynomial trend (see <xref ref-type="sec" rid="s12">&#x0201C;<italic>Local Fluctuations Close to Zero?</italic>&#x0201D;</xref> above). Thus, minimum segment size of 10 samples might be too small for large trend order <monospace>m</monospace> (Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>). In <monospace>MFDFA1</monospace>, the maximum segment size should be small enough to provide a sufficient number of segments in the computation of <monospace>Fq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref>. A maximum segment size below 1/10 of the sample size of the time series will provide at least 10 segments in the computation of <monospace>Fq</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref>. Furthermore, it&#x02019;s favorable to have a equal spacing between scales when they are represented in <monospace>plot(log2(scale),log2(Fq))</monospace> to obtain a optimal performance of the linear regression that estimates <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace>. Equal spacing between <monospace>log2(scale)</monospace> is provided by Matlab code <xref ref-type="boxed-text" rid="BX15">15</xref> below:</p>
<boxed-text id="BX15">
<title>Matlab code 15:</title>
<preformat>
<monospace>
scmin=16;
scmax=1024;
scres=19;
exponents=linspace(log2(scmin),log2(scmax),scres);
scale=round(2.&#x0005E;exponents);
</monospace>
</preformat>
</boxed-text>
<p>Matlab code <xref ref-type="boxed-text" rid="BX15">15</xref> is employed before running <monospace>MFDFA1</monospace> where the minimum segment size, <monospace>scmin</monospace>, maximum segment size, <monospace>scmax</monospace>, and the total number of segment sizes, <monospace>scres</monospace>, are predefined. The segment sizes (i.e., <monospace>scale</monospace>) in <monospace>MFDFA2</monospace> should be small in order to provide a stable estimation of the probability distribution <monospace>Ph</monospace> and, consequently, the multifractal spectrum <monospace>Dh</monospace> (Scafetta et al., <xref ref-type="bibr" rid="B35">2003</xref>). The local Hurst exponent <monospace>Ht</monospace> for large scale will have a smooth and slow varying dynamics that are not well described by a probability distribution <monospace>Ph</monospace>. Thus, a small scaling range like <monospace>scale&#x0003D;&#x02009;[7,9,11,13,15,17]</monospace> used in Matlab code <xref ref-type="boxed-text" rid="BX12">12</xref> are preferable in <monospace>MFDFA2</monospace>. However, the reader should notice that the small segment sizes (i.e., <monospace>scale</monospace>) in <monospace>MFDFA2</monospace> come at the expense of a less precise estimation of the local fluctuation <monospace>RMS</monospace>. The imprecise estimation of <monospace>RMS</monospace> can be seen as measurement noise of the local Hurst exponent <monospace>Ht</monospace> present for the <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series in Figure <xref ref-type="fig" rid="F13">13</xref>A. The measurement noise in <monospace>Ht</monospace> is represented as a distribution <monospace>Ph</monospace> and multifractal spectrum <monospace>Dh</monospace> for <monospace>monofractal</monospace> and <monospace>whitenoise</monospace> time series with a non-zero width (see Figures <xref ref-type="fig" rid="F13">13</xref>B,C).</p>
<p>Phenomenological argumentations are important for the choice of minimum and maximum segment sizes within the boundaries that provide numerical stable computations. For example, it is unlikely that the movement of the center of mass is faster than 10&#x02009;Hz during postural sway. If ground reaction force is sampled at 200&#x02009;Hz by a force plate then the minimum segment size should be larger than 200/10&#x02009;Hz&#x02009;&#x0003D;&#x02009;20 samples. Another example is to exclude the smallest segment sizes in heart rate variability known to be dominated by oscillations due to the respiratory frequency. Furthermore, heart rate variability operates with several ranges of scales (i.e., fluctuations with high frequency, low frequency, very low frequency, ultra low frequency) that are suggested to be influenced by different mechanisms (e.g., respiratory frequency, baroceptive responses, circadian rhythm; e.g., Stein and Kleiger, <xref ref-type="bibr" rid="B37">1999</xref>). Three scale invariant sub-bands are also found in EEG signal where the Hurst exponent are able to separate between healthy subjects and epileptic subjects (Gao et al., <xref ref-type="bibr" rid="B10">2011</xref>). Thus, <monospace>MFDFA1</monospace> can be employed to sub-bands of the scaling range in these phenomena (e.g., Makowiec et al., <xref ref-type="bibr" rid="B26">2011</xref>).</p>
</sec>
<sec>
<title>q-order</title>
<p>The input parameter <monospace>q</monospace> in <monospace>MFDFA1</monospace> decides the <italic>q</italic>-order weighing of the local fluctuation <monospace>RMS</monospace> in Matlab code <xref ref-type="boxed-text" rid="BX8">8</xref>. The <italic>q</italic>-orders should consist of both positive and negative <italic>q</italic>&#x02019;s in order to weight the periods with large and small variation in a time series. The precision of the computation of the <italic>q</italic>-order Hurst exponent <monospace>Hq</monospace> decreases with increasing negative and positive <italic>q</italic>-orders. This imprecision are explained by the result in Figure <xref ref-type="fig" rid="F7">7</xref>. The single segment with the smallest and largest variation <monospace>RMS</monospace> will tower up as a single skyscraper by increasing negative and positive <italic>q</italic>-orders, respectively, and completely dominate the scaling function <monospace>Fq</monospace> (i.e., overall <italic>q</italic>-order RMS in Matlab code <xref ref-type="boxed-text" rid="BX7">7</xref>). The domination of the single segments with the smallest and largest variation destabilizes <monospace>Fq</monospace> and leads to an increasing spread around the regression lines of <monospace>Fq</monospace> (see <italic>q&#x02009;</italic>&#x0003D;&#x02009;3 and -3 in Figure <xref ref-type="fig" rid="F8">8</xref>A). The choice of <italic>q</italic>-orders should therefore avoid large negative and positive values because they inflict larger numerical errors in the tails of the multifractal spectrum. The stability of the computation of the multifractal spectrum is also dependent on the differences between the segments of largest and smallest variation. Time series that have large multifractal spectrum width will have large differences between the segments with the smallest and largest variation and, consequently, destabilize the computation of <monospace>Fq</monospace> at smaller negative and positive <italic>q</italic>-orders (compare multifractal scaling in Figure <xref ref-type="fig" rid="F8">8</xref>A with the monofractal scaling in Figure <xref ref-type="fig" rid="F8">8</xref>B). A sufficient choice of <italic>q</italic>-orders will be between &#x02013; 5 and 5 for most biomedical time series (Lashermes et al., <xref ref-type="bibr" rid="B24">2004</xref>). The destabilization of the <monospace>Fq</monospace> at large negative and positive <italic>q</italic>-orders is also dependent on the sample size of the time series. Time series with large sample size will have multiple segments with extremely large and small variation whereas time series with moderate sample size will only have a single segment. Multiple segments of large and small variation would stabilize the computation of <monospace>Fq</monospace> for large negative and positive <italic>q</italic>-orders. There exists no consensus for the definition of a &#x0201C;too small&#x0201D; sample sizes for multifractal analyses, but the reader should interpret the result with caution when <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> are employed to time series with less than 1000 samples.</p>
</sec>
<sec>
<title>Trend order m</title>
<p>In both <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>, the local fluctuation <monospace>RMS</monospace> is computed around a polynomial trend where its shape is defined by the order <monospace>m</monospace>. A higher order <monospace>m</monospace> yield a more complex shape of the trend, but might lead to overfitting for time series within small segment sizes as discussed in Section <xref ref-type="sec" rid="s12">&#x0201C;<italic>Local Fluctuations Close to Zero</italic>?&#x0201D;</xref> above. Thus, <monospace>m</monospace>&#x02009;&#x0003D;&#x02009;1&#x02013;3 are probably a sufficient choice when the smallest segment sizes contains 10&#x02013;20 samples. Most studies that employ DFA to biomedical time series do not report the details of the polynomial detrending. Still, the multifractal spectrum for multiple orders <monospace>m</monospace> should be compare to ensure that the multifractal spectrum are not influenced by non-stationary trends in the time series. The trends present in biomedical signals do not have to be of a polynomial shape but might have oscillatory or ramp-like shapes. Both <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> can be extended to include more adaptive detrending procedures like wavelet decomposition (Manimaran et al., <xref ref-type="bibr" rid="B28">2009</xref>), moving average (Carbone et al., <xref ref-type="bibr" rid="B4">2004</xref>), and empirical mode decomposition (Qian et al., <xref ref-type="bibr" rid="B34">2009</xref>). Furthermore, an adaptive fractal analysis is shown to perform better than the DFA with polynomial detrending when employed to biomedical time series with strong trends (Gao et al., <xref ref-type="bibr" rid="B10">2011</xref>). Extensions and modification of the detrending procedure in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> is preferable if MFDFA are employed to biomedical time series with strong trends. Matlab functions for MFDFA with other detrending procedures are available at <uri xlink:href="http://www.ntnu.edu/inm/geri/software">www.ntnu.edu/inm/geri/software</uri>.</p>
</sec>
</sec>
<sec id="s15">
<title>Other multifractal analysis</title>
<p>The basic component of both <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> are the local fluctuation, <monospace>RMS</monospace>. Statistical parameters other than <monospace>RMS</monospace> can be used to define the local fluctuation in a time series. In multifractal analyses based on wavelet transformations, the local fluctuation is defined as the convolution product between the time series and a waveform fitted within local segments of the time series (cf. Daubechies, <xref ref-type="bibr" rid="B7">1992</xref>; Mallat, <xref ref-type="bibr" rid="B27">1999</xref>). The results from analyses called wavelet transformation modulus maxima (Muzy et al., <xref ref-type="bibr" rid="B29">1991</xref>), multifractal analysis with wavelet leaders (Jaffard et al., <xref ref-type="bibr" rid="B20">2006</xref>; Wendt, <xref ref-type="bibr" rid="B43">2008</xref>), and gradient modulus wavelet projection (Turiel et al., <xref ref-type="bibr" rid="B40">2006</xref>) can therefore be directly compared with the results from <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace>. In an entropy-based estimation of the multifractal spectrum, the local fluctuation is defined as the sum of the time series within the local segment relative to the total sum of the entire time series (Chhabra and Jensen, <xref ref-type="bibr" rid="B5">1989</xref>). This method uses a <italic>q</italic>-order entropy function instead of a <italic>q</italic>-order RMS and estimates <monospace>hq</monospace> and <monospace>Dq</monospace>, directly, as the regression slope of the q-order entropy functions. The MFDFA has been shown to perform as well as or better than these multifractal analyses (Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>; O&#x0015B;wi&#x00119;cimka et al., <xref ref-type="bibr" rid="B30">2006</xref>; Serrano and Figliola, <xref ref-type="bibr" rid="B36">2009</xref>; Huang et al., <xref ref-type="bibr" rid="B16">2011</xref>). However, extensions of detrending procedure in <monospace>MFDFA1</monospace> and <monospace>MFDFA2</monospace> should be considered when the biomedical time series contains strong oscillatory or ramp-like trends (Hu et al., <xref ref-type="bibr" rid="B15">2009</xref>; Huang et al., <xref ref-type="bibr" rid="B16">2011</xref>).</p>
</sec>
</sec>
<sec>
<title>Summary</title>
<p>The multifractal spectrum reflects the variation in the fractal structure of the biomedical time series. The multifractal structure of the inter-beat intervals can identify pathological conditions of the human heart (e.g., Ivanov et al., <xref ref-type="bibr" rid="B19">1999</xref>; Wang et al., <xref ref-type="bibr" rid="B41">2007</xref>). The multifractal structure in neural activity can separate the activity of different brain areas and thereby guide more precise neurosurgery (Zheng et al., <xref ref-type="bibr" rid="B44">2005</xref>). The present tutorial has introduced a multifractal time series analysis called MFDFA (Kantelhardt et al., <xref ref-type="bibr" rid="B22">2002</xref>). MFDFA is simply based on the computation of local RMS for multiple segment sizes as illustrated in Section <xref ref-type="sec" rid="s1">&#x0201C;<italic>Multifractal Detrended Fluctuation Analysis in Matlab</italic>.&#x0201D;</xref> However, special issues in Section <xref ref-type="sec" rid="s10">&#x0201C;<italic>The Best Practice of Multifractal Detrended Fluctuation Analysis</italic>&#x0201D;</xref> for the best practice of MFDFA are of paramount importance when MFDFA are employed to biomedical time series. First, a monofractal DFA should be employed to ensure that the biomedical time series has a noise like structure. A conversion according to Table <xref ref-type="table" rid="T1">1</xref> should be made if the time series has not a noise like structure. Secondly, local fluctuation close to zero should be eliminated within MFDFA. Thirdly, the presence of scale invariance should be checked by first running <monospace>MFDFA1</monospace> over a large scaling range [e.g., <monospace>scmin&#x02009;&#x0003D;&#x02009;10</monospace> and <monospace>scmax&#x02009;&#x0003D;&#x02009;length(signal)/10</monospace> in Matlab] and then plot <monospace>log2(scale)</monospace> against <monospace>log2(Fq)</monospace>. If scale invariance is not present for the entire range, then MFDFA1 can be rerun with modified input parameter <monospace>scale</monospace> for scale invariant sub-bands within the original scaling range. <monospace>MFDFA1</monospace> should be employed with a <monospace>q</monospace>-orders between -5 and 5 and for multiple trend orders <monospace>m</monospace>. <monospace>MFDFA2</monospace> should be employed instead of <monospace>MFDFA1</monospace> when the time instant for structural change in the biomedical time series is of importance or when the biomedical time series contain less than 5000 samples.</p>
</sec>
<sec>
<title>Conflict of Interest Statement</title>
<p>The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abbound</surname> <given-names>S.</given-names></name> <name><surname>Berenfeld</surname> <given-names>O.</given-names></name> <name><surname>Sadeh</surname> <given-names>D.</given-names></name></person-group> (<year>1991</year>). <article-title>Simulation of high-resolution QRS complex using ventricular model with a fractal conduction system. Effects of ischemia on high-requency QRS potentials</article-title>. <source>Circ. Res.</source> <volume>68</volume>, <fpage>1751</fpage>&#x02013;<lpage>1760</lpage>.<pub-id pub-id-type="pmid">2036723</pub-id></citation></ref>
<ref id="B2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Atupelage</surname> <given-names>C.</given-names></name> <name><surname>Nagahashi</surname> <given-names>H.</given-names></name> <name><surname>Yamaguchi</surname> <given-names>M.</given-names></name> <name><surname>Sakamoto</surname> <given-names>M.</given-names></name> <name><surname>Hashiguchi</surname> <given-names>A.</given-names></name></person-group> (<year>2012</year>). <article-title>Multifractal feature descriptor for histopathology</article-title>. <source>Anal. Cell. Pathol. (Amst.)</source> <volume>35</volume>, <fpage>123</fpage>&#x02013;<lpage>126</lpage>.<pub-id pub-id-type="pmid">22101185</pub-id></citation></ref>
<ref id="B3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bassingthwaighte</surname> <given-names>J.</given-names></name> <name><surname>Van Beek</surname> <given-names>J.</given-names></name> <name><surname>King</surname> <given-names>R.</given-names></name></person-group> (<year>1990</year>). <article-title>Fractal branchings: the basis of myocardial flow heterogeneities?</article-title> <source>Ann. N. Y. Acad. Sci.</source> <volume>591</volume>, <fpage>392</fpage>&#x02013;<lpage>401</lpage>.<pub-id pub-id-type="doi">10.1111/j.1749-6632.1990.tb15103.x</pub-id><pub-id pub-id-type="pmid">2197931</pub-id></citation></ref>
<ref id="B4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Carbone</surname> <given-names>A.</given-names></name> <name><surname>Castelli</surname> <given-names>G.</given-names></name> <name><surname>Stanley</surname> <given-names>H. E.</given-names></name></person-group> (<year>2004</year>). <article-title>Time-dependent Hurst exponent in financial time series</article-title>. <source>Physica A</source> <volume>344</volume>, <fpage>267</fpage>&#x02013;<lpage>271</lpage>.<pub-id pub-id-type="doi">10.1016/j.physa.2004.06.130</pub-id></citation></ref>
<ref id="B5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chhabra</surname> <given-names>A.</given-names></name> <name><surname>Jensen</surname> <given-names>R. V.</given-names></name></person-group> (<year>1989</year>). <article-title>Direct determination of the f(&#x003B1;) singularity spectrum</article-title>. <source>Phys. Rev. Lett.</source> <volume>62</volume>, <fpage>1327</fpage>&#x02013;<lpage>1330</lpage>.<pub-id pub-id-type="doi">10.1103/PhysRevLett.62.1327</pub-id><pub-id pub-id-type="pmid">10039645</pub-id></citation></ref>
<ref id="B6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Collins</surname> <given-names>J. J.</given-names></name> <name><surname>De Luca</surname> <given-names>C. J.</given-names></name></person-group> (<year>1993</year>). <article-title>Open-loop and closed-loop control of posture: a random-walk analysis of center-of-pressure trajectories</article-title>. <source>Exp. Brain Res.</source> <volume>95</volume>, <fpage>308</fpage>&#x02013;<lpage>318</lpage>.<pub-id pub-id-type="doi">10.1007/BF00229788</pub-id><pub-id pub-id-type="pmid">8224055</pub-id></citation></ref>
<ref id="B7"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Daubechies</surname> <given-names>I.</given-names></name></person-group> (<year>1992</year>). <source>Ten Lectures on Wavelets</source>. <publisher-loc>Philadelphia, PA</publisher-loc>: <publisher-name>SIAM</publisher-name>.</citation></ref>
<ref id="B8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eke</surname> <given-names>A.</given-names></name> <name><surname>Herman</surname> <given-names>P.</given-names></name> <name><surname>Bassingthwaighte</surname> <given-names>J. B.</given-names></name> <name><surname>Raymond</surname> <given-names>G. M.</given-names></name> <name><surname>Percival</surname> <given-names>D. B.</given-names></name> <name><surname>Cannon</surname> <given-names>M.</given-names></name> <name><surname>Balla</surname> <given-names>I.</given-names></name> <name><surname>Ik&#x000E9;nyi</surname> <given-names>C.</given-names></name></person-group> (<year>2000</year>). <article-title>Physiological time series: distinguish fractal noises from motions</article-title>. <source>Eur. J. Physiol.</source> <volume>439</volume>, <fpage>403</fpage>&#x02013;<lpage>414</lpage>.<pub-id pub-id-type="doi">10.1007/s004240050957</pub-id></citation></ref>
<ref id="B9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eke</surname> <given-names>A.</given-names></name> <name><surname>Hermann</surname> <given-names>P.</given-names></name> <name><surname>Kocsis</surname> <given-names>L.</given-names></name> <name><surname>Kozak</surname> <given-names>L. R.</given-names></name></person-group> (<year>2002</year>). <article-title>Fractal characterization of complexity in temporal physiological signals</article-title>. <source>Physiol. Meas.</source> <volume>23</volume>, <fpage>R1</fpage>&#x02013;<lpage>R38</lpage>.<pub-id pub-id-type="doi">10.1088/0967-3334/23/1/301</pub-id><pub-id pub-id-type="pmid">11876246</pub-id></citation></ref>
<ref id="B10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname> <given-names>J. B.</given-names></name> <name><surname>Hu</surname> <given-names>J.</given-names></name> <name><surname>Tung</surname> <given-names>W.-W.</given-names></name></person-group> (<year>2011</year>). <article-title>Facilitating joint Chaos and fractal analysis of biosignals through nonlinear adaptive filtering</article-title>. <source>PLoS ONE</source> <volume>6</volume>, <fpage>e24331</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pone.0024331</pub-id><pub-id pub-id-type="pmid">21915312</pub-id></citation></ref>
<ref id="B11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname> <given-names>J. B.</given-names></name> <name><surname>Hu</surname> <given-names>J.</given-names></name> <name><surname>Tung</surname> <given-names>W.-W.</given-names></name> <name><surname>Cao</surname> <given-names>Y. H.</given-names></name> <name><surname>Sarshar</surname> <given-names>N.</given-names></name> <name><surname>Roychowdhury</surname> <given-names>V. P.</given-names></name></person-group> (<year>2006</year>). <article-title>Assessment of long range correlation in time series: how to avoid pitfalls</article-title>. <source>Phys. Rev. E Stat. Nonlin. Soft Matter Phys.</source> <volume>73</volume>, <fpage>016117</fpage>.<pub-id pub-id-type="doi">10.1103/PhysRevE.73.016117</pub-id><pub-id pub-id-type="pmid">16486226</pub-id></citation></ref>
<ref id="B12"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldberger</surname> <given-names>A. L.</given-names></name></person-group> (<year>1996</year>). <article-title>Non-linear dynamics for clinicians: chaos theory, fractals, and complexity at the bedside</article-title>. <source>Lancet</source> <volume>347</volume>, <fpage>1312</fpage>&#x02013;<lpage>1314</lpage>.<pub-id pub-id-type="doi">10.1016/S0140-6736(96)90948-4</pub-id><pub-id pub-id-type="pmid">8622511</pub-id></citation></ref>
<ref id="B13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldberger</surname> <given-names>A. L.</given-names></name> <name><surname>Amaral</surname> <given-names>L. A.</given-names></name> <name><surname>Hausdorff</surname> <given-names>J. M.</given-names></name> <name><surname>Ivanov</surname> <given-names>P. C.</given-names></name> <name><surname>Peng</surname> <given-names>C. K.</given-names></name> <name><surname>Stanley</surname> <given-names>H. E.</given-names></name></person-group> (<year>2002</year>). <article-title>Fractal dynamics in physiology: alterations with disease and aging</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>99</volume>, <fpage>2466</fpage>&#x02013;<lpage>2472</lpage>.<pub-id pub-id-type="doi">10.1073/pnas.012579499</pub-id><pub-id pub-id-type="pmid">11875196</pub-id></citation></ref>
<ref id="B14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hausdorff</surname> <given-names>J. M.</given-names></name></person-group> (<year>2007</year>). <article-title>Gait dynamics, fractals and falls: finding meaning in the stride-to-stride fluctuations of human walking</article-title>. <source>Hum. Mov. Sci.</source> <volume>26</volume>, <fpage>555</fpage>&#x02013;<lpage>589</lpage>.<pub-id pub-id-type="doi">10.1016/j.humov.2007.05.003</pub-id><pub-id pub-id-type="pmid">17618701</pub-id></citation></ref>
<ref id="B15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hu</surname> <given-names>J.</given-names></name> <name><surname>Gao</surname> <given-names>J. B.</given-names></name> <name><surname>Wang</surname> <given-names>X. S.</given-names></name></person-group> (<year>2009</year>). <article-title>Multifractal analysis of sunspot time series: the effects of the 11-year cycle and Fourier truncation</article-title>. <source>J. Stat. Mech</source>. <volume>P02066</volume>, <fpage>1</fpage>&#x02013;<lpage>20</lpage>.</citation></ref>
<ref id="B16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname> <given-names>X. Y.</given-names></name> <name><surname>Schmitt</surname> <given-names>F. G.</given-names></name> <name><surname>Hermand</surname> <given-names>J.-P.</given-names></name> <name><surname>Gagne</surname> <given-names>Y.</given-names></name> <name><surname>Lu</surname> <given-names>Z. M.</given-names></name> <name><surname>Liu</surname> <given-names>Y. L.</given-names></name></person-group> (<year>2011</year>). <article-title>Arbitrary-order Hilbert spectral analysis for time series possessing scaling statistics: a comparison study with detrended fluctuation analysis and wavelet leaders</article-title>. <source>Phys. Rev. E Stat. Nonlin. Soft Matter Phys.</source> <volume>84</volume>, <fpage>016208</fpage>.<pub-id pub-id-type="doi">10.1103/PhysRevE.84.016208</pub-id><pub-id pub-id-type="pmid">21867274</pub-id></citation></ref>
<ref id="B17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hurst</surname> <given-names>H. E.</given-names></name></person-group> (<year>1951</year>). <article-title>Long-term storage capacity of reservoirs</article-title>. <source>T. Am. Soc. Civ. Eng.</source> <volume>116</volume>, <fpage>770</fpage>&#x02013;<lpage>808</lpage>.</citation></ref>
<ref id="B18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ihlen</surname> <given-names>E. A. F.</given-names></name> <name><surname>Vereijken</surname> <given-names>B.</given-names></name></person-group> (<year>2010</year>). <article-title>Interaction dominant dynamics in human cognition: beyond 1/<italic>f</italic><sup>&#x003B1;</sup> fluctuations</article-title>. <source>J. Exp. Psychol. Gen.</source> <volume>139</volume>, <fpage>436</fpage>&#x02013;<lpage>463</lpage>.<pub-id pub-id-type="doi">10.1037/a0019098</pub-id><pub-id pub-id-type="pmid">20677894</pub-id></citation></ref>
<ref id="B19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ivanov</surname> <given-names>P. C.</given-names></name> <name><surname>Amaral</surname> <given-names>L. A. N.</given-names></name> <name><surname>Goldberger</surname> <given-names>A. L.</given-names></name> <name><surname>Havlin</surname> <given-names>S.</given-names></name> <name><surname>Rosenblum</surname> <given-names>M. G.</given-names></name> <name><surname>Struzik</surname> <given-names>Z.</given-names></name> <name><surname>Stanley</surname> <given-names>H.</given-names></name></person-group> (<year>1999</year>). <article-title>Multifractality in human heartbeat dynamics</article-title>. <source>Nature</source> <volume>399</volume>, <fpage>461</fpage>&#x02013;<lpage>465</lpage>.<pub-id pub-id-type="doi">10.1038/20924</pub-id><pub-id pub-id-type="pmid">10365957</pub-id></citation></ref>
<ref id="B20"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Jaffard</surname> <given-names>S.</given-names></name> <name><surname>Lashermes</surname> <given-names>B.</given-names></name> <name><surname>Abry</surname> <given-names>P.</given-names></name></person-group> (<year>2006</year>). <article-title>&#x0201C;Wavelet leaders in multifractal analysis,&#x0201D;</article-title> in <source>Wavelet Analysis and Applications</source>, ed. <person-group person-group-type="editor"><name><surname>Qian</surname> <given-names>T.</given-names></name> <name><surname>Vai</surname> <given-names>M. I.</given-names></name> <name><surname>Xu</surname> <given-names>Y.</given-names></name></person-group> (<publisher-loc>Basel</publisher-loc>: <publisher-name>Birkh&#x000E4;user Verlag</publisher-name>), <fpage>219</fpage>&#x02013;<lpage>264</lpage>.</citation></ref>
<ref id="B21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kantelhardt</surname> <given-names>J. W.</given-names></name> <name><surname>Koscielny-Bunde</surname> <given-names>E.</given-names></name> <name><surname>Rego</surname> <given-names>H. A. A.</given-names></name> <name><surname>Havlin</surname> <given-names>S.</given-names></name> <name><surname>Bunde</surname> <given-names>A.</given-names></name></person-group> (<year>2001</year>). <article-title>Detecting long-range correlation with detrended fluctuation analysis</article-title>. <source>Physica A</source> <volume>295</volume>, <fpage>441</fpage>&#x02013;<lpage>454</lpage>.<pub-id pub-id-type="doi">10.1016/S0378-4371(01)00144-3</pub-id></citation></ref>
<ref id="B22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kantelhardt</surname> <given-names>J. W.</given-names></name> <name><surname>Zschiegner</surname> <given-names>S. A.</given-names></name> <name><surname>Koscielny-Bunde</surname> <given-names>E.</given-names></name> <name><surname>Havlin</surname> <given-names>S.</given-names></name> <name><surname>Bunde</surname> <given-names>A.</given-names></name> <name><surname>Stanley</surname> <given-names>H. E.</given-names></name></person-group> (<year>2002</year>). <article-title>Multifractal detrended fluctuation analysis of nonstationary time series</article-title>. <source>Physica A</source> <volume>316</volume>, <fpage>87</fpage>&#x02013;<lpage>114</lpage>.<pub-id pub-id-type="doi">10.1016/S0378-4371(02)01383-3</pub-id></citation></ref>
<ref id="B23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krenz</surname> <given-names>G.</given-names></name> <name><surname>Linehan</surname> <given-names>J.</given-names></name> <name><surname>Dawson</surname> <given-names>C.</given-names></name></person-group> (<year>1992</year>). <article-title>A fractal continuum model of the pulmonary arterial tree</article-title>. <source>J. Appl. Physiol.</source> <volume>72</volume>, <fpage>2225</fpage>&#x02013;<lpage>2237</lpage>.<pub-id pub-id-type="pmid">1629077</pub-id></citation></ref>
<ref id="B24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lashermes</surname> <given-names>B.</given-names></name> <name><surname>Abry</surname> <given-names>P.</given-names></name> <name><surname>Chainais</surname> <given-names>P.</given-names></name></person-group> (<year>2004</year>). <article-title>New insight in the estimation of scaling exponents</article-title>. <source>Int. J. Wavelets Multi.</source> <volume>2</volume>, <fpage>497</fpage>&#x02013;<lpage>523</lpage>.<pub-id pub-id-type="doi">10.1142/S0219691304000597</pub-id></citation></ref>
<ref id="B25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lopes</surname> <given-names>R.</given-names></name> <name><surname>Betrouni</surname> <given-names>N.</given-names></name></person-group> (<year>2009</year>). <article-title>Fractal and multifractal analysis: a review</article-title>. <source>Med. Image Anal</source>. <volume>13</volume>, <fpage>634</fpage>&#x02013;<lpage>649</lpage>.<pub-id pub-id-type="doi">10.1016/j.media.2009.05.003</pub-id><pub-id pub-id-type="pmid">19535282</pub-id></citation></ref>
<ref id="B26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Makowiec</surname> <given-names>D.</given-names></name> <name><surname>Rynkiewicz</surname> <given-names>A.</given-names></name> <name><surname>Wdowczyk-Szulc</surname> <given-names>J.</given-names></name> <name><surname>Zarczy&#x00144;ska-Buchowiecka</surname> <given-names>M.</given-names></name> <name><surname>Galaska</surname> <given-names>R.</given-names></name> <name><surname>Kryszewski</surname> <given-names>S.</given-names></name></person-group> (<year>2011</year>). <article-title>Aging in autonomic control by multifractal studies of cardiac interbeat intervals in the VLF band</article-title>. <source>Physiol. Meas.</source> <volume>32</volume>, <fpage>1681</fpage>&#x02013;<lpage>1699</lpage>.<pub-id pub-id-type="doi">10.1088/0967-3334/32/10/014</pub-id><pub-id pub-id-type="pmid">21926460</pub-id></citation></ref>
<ref id="B27"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Mallat</surname> <given-names>S.</given-names></name></person-group> (<year>1999</year>). <source>A Wavelet Tour in Signal Processing</source>, <edition>2nd Edn</edition>. <publisher-loc>San Diego</publisher-loc>: <publisher-name>Academic Press</publisher-name>.</citation></ref>
<ref id="B28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Manimaran</surname> <given-names>P.</given-names></name> <name><surname>Panigrahi</surname> <given-names>P. K.</given-names></name> <name><surname>Parikh</surname> <given-names>J. C.</given-names></name></person-group> (<year>2009</year>). <article-title>Multiresolution analysis of fluctuations in non-stationary time series through discrete wavelets</article-title>. <source>Physica A</source> <volume>388</volume>, <fpage>2306</fpage>&#x02013;<lpage>2314</lpage>.<pub-id pub-id-type="doi">10.1016/j.physa.2009.02.011</pub-id></citation></ref>
<ref id="B29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Muzy</surname> <given-names>J. F.</given-names></name> <name><surname>Bacry</surname> <given-names>E.</given-names></name> <name><surname>Arneodo</surname> <given-names>A.</given-names></name></person-group> (<year>1991</year>). <article-title>Wavelets and multifractal formalism for singular signals: application to turbulence data</article-title>. <source>Phys. Rev. Lett.</source> <volume>67</volume>, <fpage>3515</fpage>&#x02013;<lpage>3518</lpage>.<pub-id pub-id-type="doi">10.1103/PhysRevLett.67.3515</pub-id><pub-id pub-id-type="pmid">10044755</pub-id></citation></ref>
<ref id="B30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>O&#x0015B;wi&#x00119;cimka</surname> <given-names>P.</given-names></name> <name><surname>Kwapien</surname> <given-names>J.</given-names></name> <name><surname>Drozdz</surname> <given-names>S.</given-names></name></person-group> (<year>2006</year>). <article-title>Wavelet versus detrended fluctuation analysis of multifractal structures</article-title>. <source>Phys. Rev. E Stat. Nonlin. Soft Matter Phys.</source> <volume>74</volume>, <fpage>016103</fpage>.<pub-id pub-id-type="doi">10.1103/PhysRevE.74.016103</pub-id><pub-id pub-id-type="pmid">16907147</pub-id></citation></ref>
<ref id="B31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Parkinson</surname> <given-names>I.</given-names></name> <name><surname>Fazzalari</surname> <given-names>N.</given-names></name></person-group> (<year>1994</year>). <article-title>Cancellous bone structure analysis using image analysis</article-title>. <source>Australas. Phys. Eng. Sci. Med.</source> <volume>470</volume>, <fpage>64</fpage>&#x02013;<lpage>70</lpage>.</citation></ref>
<ref id="B32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Peng</surname> <given-names>C. K.</given-names></name> <name><surname>Havelin</surname> <given-names>S.</given-names></name> <name><surname>Stanley</surname> <given-names>H. E.</given-names></name> <name><surname>Goldberger</surname> <given-names>A. L.</given-names></name></person-group> (<year>1995</year>). <article-title>Quantification of scaling exponents and crossover phenomena in nonstationary time series</article-title>. <source>Chaos</source> <volume>5</volume>, <fpage>82</fpage>&#x02013;<lpage>89</lpage>.<pub-id pub-id-type="doi">10.1063/1.166141</pub-id><pub-id pub-id-type="pmid">11538314</pub-id></citation></ref>
<ref id="B33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Peng</surname> <given-names>C. K.</given-names></name> <name><surname>Mietus</surname> <given-names>J. E.</given-names></name> <name><surname>Liu</surname> <given-names>Y.</given-names></name> <name><surname>Lee</surname> <given-names>C.</given-names></name> <name><surname>Hausdorff</surname> <given-names>J. M.</given-names></name> <name><surname>Stanley</surname> <given-names>H. E.</given-names></name> <name><surname>Goldberger</surname> <given-names>A. L.</given-names></name> <name><surname>Lipsitz</surname> <given-names>L. A.</given-names></name></person-group> (<year>2002</year>). <article-title>Quantifying fractal dynamics of human respiration: age and gender effects</article-title>. <source>Ann. Biomed. Eng.</source> <volume>30</volume>, <fpage>683</fpage>&#x02013;<lpage>692</lpage>.<pub-id pub-id-type="doi">10.1114/1.1481053</pub-id><pub-id pub-id-type="pmid">12108842</pub-id></citation></ref>
<ref id="B34"><citation citation-type="web"><person-group person-group-type="author"><name><surname>Qian</surname> <given-names>X.-Y.</given-names></name> <name><surname>Zhou</surname> <given-names>W.-X.</given-names></name> <name><surname>Gu</surname> <given-names>G.-F.</given-names></name></person-group> (<year>2009</year>). <source>Modified Detrended Fluctuation Analysis Based on Empirical Mode Decomposition</source>. Available at: <uri xlink:href="http://arxiv.org/PS_cache/arxiv/pdf/0907/0907.3284v1.pdf">http://arxiv.org/PS_cache/arxiv/pdf/0907/0907.3284v1.pdf</uri></citation></ref>
<ref id="B35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scafetta</surname> <given-names>N.</given-names></name> <name><surname>Griffin</surname> <given-names>L.</given-names></name> <name><surname>West</surname> <given-names>B. J.</given-names></name></person-group> (<year>2003</year>). <article-title>H&#x000F6;lder exponent spectra for human gait</article-title>. <source>Physica A</source> <volume>328</volume>, <fpage>561</fpage>&#x02013;<lpage>583</lpage>.<pub-id pub-id-type="doi">10.1016/S0378-4371(03)00527-2</pub-id></citation></ref>
<ref id="B36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Serrano</surname> <given-names>E.</given-names></name> <name><surname>Figliola</surname> <given-names>A.</given-names></name></person-group> (<year>2009</year>). <article-title>Wavelet leaders: a new method to estimate the multifractal singularity spectra</article-title>. <source>Physica A</source> <volume>388</volume>, <fpage>2793</fpage>&#x02013;<lpage>2805</lpage>.<pub-id pub-id-type="doi">10.1016/j.physa.2009.03.043</pub-id></citation></ref>
<ref id="B37"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stein</surname> <given-names>P.</given-names></name> <name><surname>Kleiger</surname> <given-names>E.</given-names></name></person-group> (<year>1999</year>). <article-title>Insights from the study of the heart rate variability</article-title>. <source>Ann. Rev. Med.</source> <volume>50</volume>, <fpage>249</fpage>&#x02013;<lpage>261</lpage>.<pub-id pub-id-type="doi">10.1146/annurev.med.50.1.249</pub-id></citation></ref>
<ref id="B38"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Struzik</surname> <given-names>Z. R.</given-names></name></person-group> (<year>2000</year>). <article-title>Determining local singularity strengths and their spectra with the wavelet transform</article-title>. <source>Fractals</source> <volume>8</volume>, <fpage>163</fpage>&#x02013;<lpage>179</lpage>.<pub-id pub-id-type="doi">10.1142/S0218348X00000184</pub-id></citation></ref>
<ref id="B39"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Suckling</surname> <given-names>J.</given-names></name> <name><surname>Wink</surname> <given-names>A. M.</given-names></name> <name><surname>Bernard</surname> <given-names>F. A.</given-names></name> <name><surname>Barnes</surname> <given-names>A.</given-names></name> <name><surname>Bullmore</surname> <given-names>E.</given-names></name></person-group> (<year>2008</year>). <article-title>Endogenous multifractal brain dynamics are modulated by age, cholinergic blockade and cognitive performance</article-title>. <source>J. Neurosci. Methods</source> <volume>174</volume>, <fpage>292</fpage>&#x02013;<lpage>300</lpage>.<pub-id pub-id-type="doi">10.1016/j.jneumeth.2008.06.037</pub-id><pub-id pub-id-type="pmid">18703089</pub-id></citation></ref>
<ref id="B40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Turiel</surname> <given-names>A.</given-names></name> <name><surname>Perez-Vicente</surname> <given-names>C. J.</given-names></name> <name><surname>Grazzini</surname> <given-names>J.</given-names></name></person-group> (<year>2006</year>). <article-title>Numerical methods for the estimation of the estimation of the multifractal singularity spectra on sampled data: a comparative study</article-title>. <source>J. Comp. Phys.</source> <volume>216</volume>, <fpage>362</fpage>&#x02013;<lpage>390</lpage>.<pub-id pub-id-type="doi">10.1016/j.jcp.2005.12.004</pub-id></citation></ref>
<ref id="B41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>G.</given-names></name> <name><surname>Huang</surname> <given-names>H.</given-names></name> <name><surname>Xie</surname> <given-names>H.</given-names></name> <name><surname>Wang</surname> <given-names>Z.</given-names></name> <name><surname>Hu</surname> <given-names>X.</given-names></name></person-group> (<year>2007</year>). <article-title>Multifractal analysis of ventricular fibrillation and ventricular tachycardia</article-title>. <source>Med. Eng. Phys.</source> <volume>29</volume>, <fpage>375</fpage>&#x02013;<lpage>379</lpage>.<pub-id pub-id-type="doi">10.1016/j.medengphy.2006.06.013</pub-id><pub-id pub-id-type="pmid">16839796</pub-id></citation></ref>
<ref id="B42"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weibel</surname> <given-names>E. R.</given-names></name></person-group> (<year>1991</year>). <article-title>Fractal geometry: a design principle for living organisms</article-title>. <source>Am. J. Physiol.</source> <volume>261</volume>, <fpage>361</fpage>&#x02013;<lpage>369</lpage>.</citation></ref>
<ref id="B43"><citation citation-type="thesis"><person-group person-group-type="author"><name><surname>Wendt</surname> <given-names>H.</given-names></name></person-group> (<year>2008</year>). <source>Contributions of Wavelet Leaders and Bootstrap to Multifractal Analysis</source>. Ph.D. thesis, <publisher-name>Lyon University</publisher-name>, <publisher-loc>Lyon</publisher-loc>.</citation></ref>
<ref id="B44"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname> <given-names>Y.</given-names></name> <name><surname>Gao</surname> <given-names>J. B.</given-names></name> <name><surname>Sanchez</surname> <given-names>J. C.</given-names></name> <name><surname>Principe</surname> <given-names>J. C.</given-names></name> <name><surname>Okun</surname> <given-names>M. S.</given-names></name></person-group> (<year>2005</year>). <article-title>Multiplicative multifractal modeling and discrimination of human neuronal activity</article-title>. <source>Phys. Lett. A</source> <volume>344</volume>, <fpage>253</fpage>&#x02013;<lpage>264</lpage>.<pub-id pub-id-type="doi">10.1016/j.physleta.2005.06.092</pub-id></citation></ref>
</ref-list>
</back>
</article>
