<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article article-type="methods-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Netw. Physiol.</journal-id>
<journal-title>Frontiers in Network Physiology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Netw. Physiol.</abbrev-journal-title>
<issn pub-type="epub">2674-0109</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1204757</article-id>
<article-id pub-id-type="doi">10.3389/fnetp.2023.1204757</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Network Physiology</subject>
<subj-group>
<subject>Methods</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A guide to Whittle maximum likelihood estimator in MATLAB</article-title>
<alt-title alt-title-type="left-running-head">Roume</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fnetp.2023.1204757">10.3389/fnetp.2023.1204757</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Roume</surname>
<given-names>Cl&#xe9;ment</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/622897/overview"/>
</contrib>
</contrib-group>
<aff>
<institution>IRIMAS UR UHA 7499</institution>, <institution>University of Haute-Alsace</institution>, <addr-line>Mulhouse</addr-line>, <country>France</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/17827/overview">Plamen Ch. Ivanov</ext-link>, Boston University, United States</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/326490/overview">Jan W. Kantelhardt</ext-link>, Martin Luther University of Halle-Wittenberg, Germany</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/349136/overview">Ruben Yvan Maarten Fossion</ext-link>, National Autonomous University of Mexico, Mexico</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Cl&#xe9;ment Roume, <email>clement.roume@uha.fr</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>31</day>
<month>10</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>3</volume>
<elocation-id>1204757</elocation-id>
<history>
<date date-type="received">
<day>12</day>
<month>04</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>11</day>
<month>10</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Roume.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Roume</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>The assessment of physiological complexity via the estimation of monofractal exponents or multifractal spectra of biological signals is a recent field of research that allows detection of relevant and original information for health, learning, or autonomy preservation. This tutorial aims at introducing Whittle&#x2019;s maximum likelihood estimator (MLE) that estimates the monofractal exponent of time series. After introducing Whittle&#x2019;s maximum likelihood estimator and presenting each of the steps leading to the construction of the algorithm, this tutorial discusses the performance of this estimator by comparing it to the widely used detrended fluctuation analysis (DFA). The objective of this tutorial is to propose to the reader an alternative monofractal estimation method, which has the advantage of being simple to implement, and whose high accuracy allows the analysis of shorter time series than those classically used with other monofractal analysis methods.</p>
</abstract>
<kwd-group>
<kwd>fractals</kwd>
<kwd>Whittle&#x2019;s likelihood</kwd>
<kwd>tutorial</kwd>
<kwd>fractional Gaussian noise</kwd>
<kwd>ARFIMA (0,d,0)</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Fractal Physiology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1 Introduction</title>
<p>For nearly three decades, numerous studies have shown that invariant-scale structures appear in biological signals. These studies have widely suggested that this type of structure, also called fractal structures, hints at the complexity of the system that produced the signal (<xref ref-type="bibr" rid="B24">Peng et al., 1994</xref>; <xref ref-type="bibr" rid="B15">Hausdorff et al., 1996</xref>; <xref ref-type="bibr" rid="B18">Ivanov et al., 1998</xref>; <xref ref-type="bibr" rid="B10">Goldberger et al., 2002</xref>; <xref ref-type="bibr" rid="B20">Kello et al., 2007</xref>; <xref ref-type="bibr" rid="B6">Delignieres and Torre, 2009</xref>; <xref ref-type="bibr" rid="B13">Harrison and Stergiou, 2015</xref>; <xref ref-type="bibr" rid="B30">Vaz et al., 2020</xref>). Formally, scale invariance can be described in several ways. In the time domain, a signal is scale-invariant when its statistical properties are consistent across scales <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x225c;</mml:mo>
<mml:msup>
<mml:mi>c</mml:mi>
<mml:mi>H</mml:mi>
</mml:msup>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, with &#x225c; denoting equality of statistical distribution, whereas in the spectral domain, stationary fractal signals decay as <inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x221d;</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msup>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>H</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. In both cases, the signals are characterized by the Hurst exponent <italic>H</italic>, which defines the quality of the fractal structure. Thus, signals whose <italic>H</italic> is between 0.5 and 1 are considered persistent or long-term memory processes. Signals whose <italic>H</italic> is between 0 and 0.5 are anti-persistent or short-term processes. Finally, signals whose <italic>H</italic> is equal to 0.5 are random and can be assimilated to white Gaussian noise. The objective of fractal analysis is to estimate the value of <italic>H</italic>.</p>
<p>The estimation of the <italic>H</italic> exponent has become very relevant in the fields of health and aging because this fractal structure tends to diminish or even disappear with the first signs of age or disease, making the exponent <italic>H</italic> a very promising predictor. We (<xref ref-type="bibr" rid="B3">Almurad et al., 2017</xref>; <xref ref-type="bibr" rid="B2">Almurad et al., 2018</xref>; <xref ref-type="bibr" rid="B8">Ezzina et al., 2021</xref>) have also suggested, through several studies, that it was possible to restore complexity in older adults. However, all the participants in our studies were characterized by healthy aging and did not have any motor disability limiting their movements. Fractal analyses require long signals of more than 500 data points to ensure that the estimated <italic>H</italic> value is reliable, which, in the case of walking, represents an analysis time of 10&#x2013;12&#xa0;min (<xref ref-type="bibr" rid="B27">Phinyomark et al., 2020</xref>). It is obvious that for people whose age has a greater impact on their motor skills or who have diseases limiting their motricity, it is impossible to walk for such a long time. One can believe that it is necessary to develop a more precise method of analysis that would allow reducing the duration of the experimental process.</p>
<p>Among the mathematical models of long-memory processes, two models have been widely used to construct methods for estimating the <italic>H</italic> exponent. The first method, proposed by <xref ref-type="bibr" rid="B22">Mandelbrot and Van Ness (1968)</xref>, is the fractional Gaussian noise (fGn) and fractional Brownian motion (fBm) model. It is the first fractal process model that has been formulated, describing both stationary (fGn) and non-stationary (fBm) processes. In this case, stationarity corresponds to a process with constant mean and variance, and non-stationarity corresponds to a process with a variance dependent on time and <italic>H</italic>. The second model, formulated by <xref ref-type="bibr" rid="B11">Granger and Joyeux (1980)</xref> and <xref ref-type="bibr" rid="B16">Hosking (1981)</xref>, is the ARFIMA (p,d,q) model. This model allows the description of short memory processes (via MA and AR component) AND long memory processes (via FI component). In the context of this paper, we focus only on the long-memory FI component. The model used here is therefore an ARFIMA (0,<italic>d</italic>,0). Unlike the fBm/fGn model, the ARFIMA (0,<italic>d</italic>,0) model holds only for stationary processes. However, in the spectral domain, ARFIMA (0,<italic>d</italic>,0) and fGn have an equivalent spectral decay, which makes it possible to compare exponents <italic>d</italic> and <italic>H</italic> via the <inline-formula id="inf3">
<mml:math id="m3">
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> conversion.</p>
<p>One can note that the Hurst exponent <inline-formula id="inf4">
<mml:math id="m4">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> does not allow distinction between stationary fGn and non-stationary fBm processes. Concretely, white Gaussian noise and an ordinary Brownian motion share the same exponent <inline-formula id="inf5">
<mml:math id="m5">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> equal to 0.5. On the other hand, if <italic>a priori</italic>, the ARFIMA (0,<italic>d</italic>,0) model applies only to stationary processes, it is still possible to estimate <italic>d</italic> from the increments of non-stationary processes (<xref ref-type="bibr" rid="B7">Diebolt and Guiraud, 2005</xref>), so <italic>d</italic> suffers from the same distinction issue. Yet, in the spectral domain, stationary and non-stationary processes seem to follow a continuum, as illustrated by the continuity of the spectral exponent (<xref ref-type="bibr" rid="B12">Halley and Inchausti, 2004</xref>). Detrended fluctuation analysis (DFA) (<xref ref-type="bibr" rid="B26">Peng et al., 1995</xref>), for example, is built around this assumption, and the exponent <inline-formula id="inf6">
<mml:math id="m6">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> introduced into this analysis ranges from 0 to 1 for stationary processes and from 1 to 2 for non-stationary processes. In concrete terms, <inline-formula id="inf7">
<mml:math id="m7">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> for fGn, <inline-formula id="inf8">
<mml:math id="m8">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> for fBm, and <inline-formula id="inf9">
<mml:math id="m9">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> for ARFIMA (0,<italic>d</italic>,0). Thus, considering the previous example, in the <inline-formula id="inf10">
<mml:math id="m10">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> metric, white Gaussian noise is characterized by an exponent <inline-formula id="inf11">
<mml:math id="m11">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>, while an ordinary Brownian motion is characterized by an exponent <inline-formula id="inf12">
<mml:math id="m12">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1.5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. Since we aim to build an algorithm that operates without any <italic>a priori</italic> assumptions about the stationarity of time series, the output estimate will be expressed in the <inline-formula id="inf13">
<mml:math id="m13">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> metric.</p>
<p>In addition to the series size issues mentioned previously, <xref ref-type="bibr" rid="B4">Beran et al. (2013)</xref> add that heuristic/graphical methods, such as DFA (<xref ref-type="bibr" rid="B26">Peng et al., 1995</xref>), &#x201c;<italic>are easy to implement and may serve as descriptive tools and a first heuristic check, there are many reasons for using more sophisticated methods when it comes to actual statistical inference.&#x201d;</italic> Among these more sophisticated methods are maximum likelihood estimators (MLEs) and, particularly, Whittle&#x2019;s method. Whittle&#x2019;s MLE is a parametric estimator based on an optimization problem. Beran suggests that this estimator, like the classical MLE, is consistent. The choice of Whittle&#x2019;s MLE over the classical MLE has two explanations. The first is computational: the complexity of the classical MLE is <inline-formula id="inf14">
<mml:math id="m14">
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>N</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, while that of Whittle approximation is <inline-formula id="inf15">
<mml:math id="m15">
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:msub>
<mml:mi>log</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. The second is practical: for values of <italic>H</italic> close to 1, the covariance matrix to be inverted in MLE is close to the singularity, which can generate computational errors.</p>
<p>In a previous study (<xref ref-type="bibr" rid="B28">Roume et al., 2019</xref>), we had already suggested that Whittle&#x2019;s MLE allows a better estimation of the <italic>H</italic> exponent than DFA and the spectral analysis. However, the algorithm we used, the ARFIMA (p,d,q) estimator proposed by G. Intzelt on the MathWorks File Exchange platform<xref ref-type="fn" rid="fn1">
<sup>1</sup>
</xref>, went far beyond the analysis of long-memory processes, allowing, for example, the addition of short-term components, forecasting, and signal generation. We therefore propose the present tutorial, which allows a simpler implementation of Whittle&#x2019;s approximation of MLE, focusing only on the long-term dependencies.</p>
<p>The purpose of this tutorial is to provide a step-by-step guide to construct this analysis method similar to the method used by Ihlen in his tutorial for MF-DFA (<xref ref-type="bibr" rid="B17">Ihlen, 2012</xref>). In addition, at each step, we describe the formal aspects underlying the construction of the algorithm. We also propose to the reader a single-file and standalone algorithm to facilitate its use and diffusion. Then, to facilitate reading, we have used a different font for the <monospace>variables</monospace>, <monospace>parameters</monospace>, and <monospace>commands</monospace> used in MATLAB. We suggest the reader to download the code files and datasets deposited in a GitHub repository at <ext-link ext-link-type="uri" xlink:href="https://github.com/clementroume/Whittle_maximum_likelihood_estimator_tutorial">https://github.com/clementroume/Whittle_maximum_likelihood_estimator_tutorial</ext-link> and add the downloaded folder to the MATLAB path to follow this tutorial. The remainder of this article is organized as follows: Section 2, <italic>Whittle&#x2019;s maximum likelihood estimator in MATLAB</italic>, gives the step-by-step construction method of the <monospace>whittle.m</monospace> algorithm. Meanwhile, Section 3, <italic>Whittle&#x2019;s maximum likelihood performances</italic>, outlines a complete benchmark of this algorithm against DFA.</p>
</sec>
<sec id="s2">
<title>2 Whittle&#x2019;s maximum likelihood estimator in MATLAB</title>
<p>This method of analysis is an optimization problem, and the principle is to estimate the value of the Hurst exponent <inline-formula id="inf16">
<mml:math id="m16">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>H</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> which maximizes Whittle&#x2019;s log-likelihood function <inline-formula id="inf17">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="script">l</mml:mi>
<mml:mi>W</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>:<disp-formula id="e1">
<mml:math id="m18">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="script">l</mml:mi>
<mml:mi>W</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>ln</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>c</mml:mi>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where<list list-type="simple">
<list-item>
<p>&#x2022; <inline-formula id="inf18">
<mml:math id="m19">
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the integer part of <inline-formula id="inf19">
<mml:math id="m20">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf20">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the Fourier frequencies defined as <inline-formula id="inf21">
<mml:math id="m22">
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf22">
<mml:math id="m23">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the periodogram of the observation vector <inline-formula id="inf23">
<mml:math id="m24">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> of length <inline-formula id="inf24">
<mml:math id="m25">
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf25">
<mml:math id="m26">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mo>&#x2019;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the theoretical power spectral density of the model process, with parameter <inline-formula id="inf26">
<mml:math id="m27">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf27">
<mml:math id="m28">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is a constant of proportionality used to adjust the power <inline-formula id="inf28">
<mml:math id="m29">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mo>&#x2019;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> to that of <inline-formula id="inf29">
<mml:math id="m30">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf30">
<mml:math id="m31">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the Hurst exponent belonging to <inline-formula id="inf31">
<mml:math id="m32">
<mml:mrow>
<mml:mfenced open="]" close="[" separators="|">
<mml:mrow>
<mml:mn>0,1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</p>
<p>Whittle&#x2019;s log-likelihood function is an approximation of the likelihood function for stationary Gaussian processes, in this case, fGn or ARFIMA (0,<italic>d</italic>,0). As further illustrated in <xref ref-type="fig" rid="F5">Figure 5</xref>, the principle is to construct the <inline-formula id="inf32">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="script">l</mml:mi>
<mml:mi>W</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> function over the interval ]0,1[ from the periodogram <italic>P</italic> of the signal and the theoretical power spectral density <italic>T&#x2032;</italic> of the chosen theoretical model. The main characteristic of the <inline-formula id="inf33">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="script">l</mml:mi>
<mml:mi>W</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> function is that it reaches its maximum for the <inline-formula id="inf34">
<mml:math id="m35">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>H</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> value characterizing the analyzed signal.</p>
<p>We will detail this method through seven sections: Section 2.1, <italic>Periodogram power spectral density estimate</italic>, introduces the computation to estimate the periodogram of the signal. Section 2.2, <italic>Theoretical power spectral density of the model process</italic>, is a sub-step presenting the two possible alternatives in the choice of the theoretical spectrum. Section 2.3, <italic>Fitting the power of the model process to that of the signal</italic>, is a sub-step where the constant <inline-formula id="inf35">
<mml:math id="m36">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is computed. Section 2.4, <italic>Whittle&#x2019;s log-likelihood function</italic>, describes the computation of Equation <xref ref-type="disp-formula" rid="e1">1</xref>. Section 2.5, <italic>Resolving the optimization problem</italic>, introduces the method to find the maximum of Whittle&#x2019;s log-likelihood function. Section 2.6, <italic>The case of non-stationary signals</italic>, proposes a method to detect non-stationary signals (i.e., with <inline-formula id="inf36">
<mml:math id="m37">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mo>&#x3e;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>) and estimate their fractal exponent. Finally, Section 2.7, <italic>The construction of whittle.m algorithm</italic>, presents the order in which the various code sections must be arranged to obtain the whittle.m all-in-one algorithm. Each step will be represented first in the mathematical formalization and then as a MATLAB code. Finally, we would like to clarify how the different exponents <italic>H</italic>, <italic>d</italic>, and <inline-formula id="inf37">
<mml:math id="m38">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> are used in the seven sections of this tutorial. The first four sections consist of the construction of Whittle&#x2019;s function, on the one hand, with the fBm/fGn model, and, on the other hand, with the ARFIMA (0,d,0) model, so these parts are presented around the two exponents <italic>H</italic> and <italic>d</italic>. From Section 2.5 onwards, we introduce the use of the <inline-formula id="inf38">
<mml:math id="m39">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> exponent, which allows the algorithm to analyze stationary and non-stationary processes without prior distinction. However, to maintain readability between the two models, we have named the two output variables <monospace>Afgn</monospace> for the value of <inline-formula id="inf39">
<mml:math id="m40">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> estimated from the fGn/fBm model and <monospace>Aarf</monospace> for the value of <inline-formula id="inf40">
<mml:math id="m41">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> estimated from the ARFIMA (0,d,0) model.</p>
<p>Before beginning this guide, the reader can type <monospace>load fractalsignals. mat</monospace> in the MATLAB command window to load the time series: <monospace>choleskyfgn</monospace>, <monospace>arfima0d0</monospace>, <monospace>whitenoise</monospace>, and <monospace>empirical</monospace>. These signals will be used all along this guide to illustrate each step of the construction of the algorithm. <monospace>choleskyfgn</monospace> is a simulated exact fGn signal with an <inline-formula id="inf41">
<mml:math id="m42">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> exponent equal to 0.8, and it was generated via the Cholesky decomposition method. <monospace>arfima0d0</monospace> is a simulated ARFIMA (0,<italic>d</italic>,0) process with a <inline-formula id="inf42">
<mml:math id="m43">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> exponent equal to 0.3, which is equivalent to a fGn with <inline-formula id="inf43">
<mml:math id="m44">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.8</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. <monospace>whitenoise</monospace> is a normally distributed random noise signal, which was generated with the following MATLAB command: <monospace>whitenoise &#x3d; normrnd (0.1, [1024.1])</monospace>. <monospace>empirical</monospace> is a signal retrieved from the study by <xref ref-type="bibr" rid="B2">Almurad et al. (2018)</xref>, and it corresponds to step-to-step timing in an arm-in-arm synchronized walking task. Please consider that all the lines of code presented in this tutorial have been written and tested under MATLAB version 2021b. Although most of the codes work regardless of the version of the software application, some recent functions like <monospace>nexttile</monospace>, introduced with MATLAB 2019b, could cause compatibility problems and should be replaced by the <monospace>subplot</monospace> function.</p>
<sec id="s2-1">
<title>2.1 Periodogram power spectral density estimate</title>
<p>The first step is to estimate the power spectral density of the observation vector. This estimation can be carried out by calculating the periodogram of the signal corresponding to the squared modulus of the discrete Fourier transform of the signal. The periodogram is formally written as<disp-formula id="e2">
<mml:math id="m45">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>&#x2217;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:mfrac>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>where the set of variables used in Equation <xref ref-type="disp-formula" rid="e2">2</xref> is the same as that described in Equation <xref ref-type="disp-formula" rid="e1">1</xref>. To meet the requirements of Equation <xref ref-type="disp-formula" rid="e1">1</xref>, we note that the frequency range <inline-formula id="inf44">
<mml:math id="m46">
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is limited. The frequency <inline-formula id="inf45">
<mml:math id="m47">
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> is excluded, and the maximum frequency is <inline-formula id="inf46">
<mml:math id="m48">
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf47">
<mml:math id="m49">
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the integer part of <inline-formula id="inf48">
<mml:math id="m50">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. When the length of the signal is equal to the power of 2, this procedure excludes the Nyquist frequency; otherwise, it limits the length of the spectrum to half the length of the signal minus 1. Finally, note that the value of the periodogram is doubled. This is a method described at the end of the help paragraph of the <monospace>periodogram()</monospace> function on the MathWorks website<xref ref-type="fn" rid="fn2">
<sup>2</sup>
</xref>, which conserves the total power in one-sided periodograms. The following MATLAB codes are used to estimate the periodogram of the signal:<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 1</bold>: Periodogram estimation.</p>
</list-item>
<list-item>
<p>
<monospace>X&#x3d;zscore(x); N&#x3d;length(X);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>m&#x3d;floor((N-1)/2);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>[Pxx,wxx]&#x3d; periodogram(X); P&#x3d;Pxx((2:m&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>w&#x3d;wxx((2:m&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>The first line standardizes the observation vector <monospace>x</monospace> by setting its mean to 0 and its standard deviation to 1. This operation is relatively common in the field and is essential for the rest of this tutorial because Equations <xref ref-type="disp-formula" rid="e3">3</xref>, <xref ref-type="disp-formula" rid="e4">4</xref> in the following sections are derived from the autocorrelation function (and not from the autocovariance function) and therefore assume a variance equal to 1. This operation also normalizes the total power of the spectrum <italic>
<monospace>P</monospace>
</italic>, but it does not change the shape of the spectrum, so it does not alter the information of the fractal exponents.</p>
<p>The second line returns the length <monospace>N</monospace> of the input signal <monospace>x</monospace>, and the third computes the upper bound <monospace>m</monospace>. In the fourth line, we use the Signal Processing Toolbox command <monospace>periodogram()</monospace> to estimate the power spectral density of the input signal x, and an alternative code using the <monospace>fft()</monospace> command is given if the <monospace>periodogram()</monospace> command is not included in your MATLAB version. Finally, the fifth and the sixth lines bound <monospace>P</monospace> and <monospace>w</monospace> within the interval presented in Equation <xref ref-type="disp-formula" rid="e2">2</xref>. <xref ref-type="fig" rid="F1">Figure 1</xref> represents the <monospace>plot</monospace> of the estimated periodograms of the series <monospace>choleskyfgn</monospace>, <monospace>arfima0d0</monospace>, <monospace>whitenoise</monospace>, and <monospace>empirical</monospace>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Estimation of power spectral density via the periodogram method for <monospace>choleskyfgn</monospace> <bold>(A)</bold>, <monospace>arfima0d0</monospace> <bold>(B)</bold>, <monospace>whitenoise</monospace> <bold>(C)</bold>, and <monospace>empirical</monospace> <bold>(D)</bold> signals.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g001.tif"/>
</fig>
<p>Type <monospace>Fig1_PSD</monospace> in the command window to access <xref ref-type="fig" rid="F1">Figure 1</xref>.<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 1bis</bold>: Periodogram estimation using fast Fourier transform</p>
</list-item>
<list-item>
<p>
<monospace>X &#x3d; zscore(x); N &#x3d; length(X);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>m &#x3d; floor ((N-1)/2);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Y &#x3d; fft(X);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>P&#x3d;(1/(pi&#x2a;N))&#x2a;abs (Y (2:m&#x2b;1)&#x2032;). &#x5e;2;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>w&#x3d;(2&#x2a;pi&#x2a;(1:m)&#x2032;)/N</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
</sec>
<sec id="s2-2">
<title>2.2 Theoretical power spectral density of the model process</title>
<p>In this sub-step, we present the equations and their computation for the two theoretical spectral densities derived from the fGn/fBm and ARFIMA (0,<italic>d</italic>,0) models, respectively.</p>
<p>The theoretical fGn spectral density was given by <xref ref-type="bibr" rid="B21">Li and Lim (2006)</xref> as follows:<disp-formula id="e3">
<mml:math id="m51">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>G</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>sin</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">&#x393;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>H</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf49">
<mml:math id="m52">
<mml:mrow>
<mml:mi mathvariant="normal">&#x393;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the gamma function, and the other variables used in Equation <xref ref-type="disp-formula" rid="e3">3</xref> are the same as those described in Equation <xref ref-type="disp-formula" rid="e1">1</xref>. The following MATLAB code is the computation of Equation <xref ref-type="disp-formula" rid="e3">3</xref>.<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 2</bold>: Theoretical power spectral density of the fGn process</p>
</list-item>
<list-item>
<p>
<monospace>Tp &#x3d; sin (pi&#x2a;H)&#x2a;gamma ((2&#x2a;H)&#x2b;1)&#x2a;(abs(w).&#x5e;(1-(2&#x2a;H)));</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>The theoretical ARFIMA (0,<italic>d</italic>,0) spectral density was given by Taqqu et al. (1995) as follows:<disp-formula id="e4">
<mml:math id="m53">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>F</mml:mi>
<mml:mi>I</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>sin</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <italic>d</italic> is the integration parameter belonging to <inline-formula id="inf50">
<mml:math id="m54">
<mml:mrow>
<mml:mfenced open="]" close="[" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.5,0.5</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>. One can easily convert the exponent <inline-formula id="inf51">
<mml:math id="m55">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> to the exponent <inline-formula id="inf52">
<mml:math id="m56">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> via the equation <inline-formula id="inf53">
<mml:math id="m57">
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. The following MATLAB code converts <inline-formula id="inf54">
<mml:math id="m58">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> to <inline-formula id="inf55">
<mml:math id="m59">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and computes Equation <xref ref-type="disp-formula" rid="e4">4.</xref>
<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 3</bold>: Theoretical power spectral density of the ARFIMA (0,d,0) process</p>
</list-item>
<list-item>
<p>
<monospace>d &#x3d; H-0.5;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Tp&#x3d;(1/(2&#x2a;pi))&#x2a;(2&#x2a;sin (w/2)).&#x5e;-(2&#x2a;d);</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>
<xref ref-type="fig" rid="F2">Figure 2</xref> repeats <xref ref-type="fig" rid="F1">Figure 1</xref> by adding the theoretical spectral densities calculated using MATLAB codes 2 and 3. To better illustrate the global functioning of the algorithm, in <xref ref-type="fig" rid="F2">Figure 2,</xref> we present the theoretical power spectral densities computed with the estimated values of <italic>H</italic> and <italic>d</italic> obtained via <monospace>whittle.m</monospace>. These values are reported in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Periodogram of <monospace>choleskyfgn</monospace> <bold>(A)</bold>, <monospace>arfima0d0</monospace> <bold>(B)</bold>, <monospace>whitenoise</monospace> <bold>(C)</bold>, and <monospace>empirical</monospace> <bold>(D)</bold> signals with the theoretical power spectral density of fGn (orange curve) and ARFIMA (0,<italic>d</italic>,0) (yellow curve). The theoretical power spectral densities were computed with the estimated values of <italic>H</italic> and <italic>d</italic> obtained via whittle.m. Those values, entered in MATLAB code 2 and 3, are presented in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g002.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>
<italic>H</italic> and <italic>d</italic> values of choleskyfgn, arfima0d0, whitenoise, and empirical signals estimated via whittle.m.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th colspan="4" align="center">Signal</th>
</tr>
<tr>
<th align="left"/>
<th align="center">choleskyfgn</th>
<th align="center">arfima0d0</th>
<th align="center">whitenoise</th>
<th align="center">empirical</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">
<italic>H</italic>
</td>
<td align="center">0.8000</td>
<td align="center">0.7804</td>
<td align="center">0.5093</td>
<td align="center">0.7457</td>
</tr>
<tr>
<td align="center">
<italic>d</italic>
</td>
<td align="center">0.3239</td>
<td align="center">0.3089</td>
<td align="center">0.0096</td>
<td align="center">0.2805</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Type <monospace>Fig2_TPSD</monospace> in the command window to access <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
</sec>
<sec id="s2-3">
<title>2.3 Fitting the power of the model process to that of the signal</title>
<p>As advised by <xref ref-type="bibr" rid="B19">Jennane et al. (2001)</xref>, in this sub-step, we calculate the constant of proportionality <inline-formula id="inf56">
<mml:math id="m60">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> to adjust the power of the model process to that of the signal as follows:<disp-formula id="e5">
<mml:math id="m61">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>&#x3c9;</mml:mi>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>&#x3c9;</mml:mi>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 4</bold>: Fitting theoretical spectrum</p>
</list-item>
<list-item>
<p>
<monospace>c &#x3d; sum(P)/sum (Tp);</monospace>
</p>
<p>
<monospace>T &#x3d; <italic>c</italic>&#x2a;Tp;</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>In the first line, the constant <monospace>c</monospace> is calculated, and in the second line, the theoretical spectrum <monospace>Tp</monospace> is adjusted to the empirical periodogram <monospace>P</monospace>. <xref ref-type="fig" rid="F3">Figure 3</xref> shows the plot of <xref ref-type="fig" rid="F2">Figure 2</xref> with adjusted theoretical spectrum. The total power of the theoretical spectrum <monospace>Tp</monospace> is determined by the value of <italic>H</italic> in Equation <xref ref-type="disp-formula" rid="e3">3</xref> or <italic>d</italic> in Equation <xref ref-type="disp-formula" rid="e4">4</xref>, but the function of fractal exponents is to shape the spectrum, not to modulate its power, hence the need for adjustment between theoretical power and signal power.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Periodogram of <monospace>choleskyfgn</monospace> <bold>(A)</bold>, <monospace>arfima0d0</monospace> <bold>(B)</bold>, <monospace>whitenoise</monospace> <bold>(C)</bold>, and <monospace>empirical</monospace> <bold>(D)</bold> signals (blue curve) with the adjusted theoretical power spectral density of fGn (orange curve) and ARFIMA (0,<italic>d</italic>,0) (yellow curve). The <italic>H</italic> and <italic>d</italic> values are the same as those used in the previous figure.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g003.tif"/>
</fig>
<p>Type <monospace>Fig3_TPSD_adjusted</monospace> in the command window to access <xref ref-type="fig" rid="F3">Figure 3</xref>.</p>
</sec>
<sec id="s2-4">
<title>2.4 Whittle&#x2019;s log-likelihood function</title>
<p>In this second step, we construct Whittle&#x2019;s log-likelihood function by injecting the two previous sub-steps into Equation <xref ref-type="disp-formula" rid="e1">1</xref>, which is the function that we want to maximize. However, the optimization toolbox of MATLAB only allows minimizing functions, so we will have to minimize the inverse of Equation <xref ref-type="disp-formula" rid="e1">1</xref>. This inverse function is written in the MATLAB code as follows:<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 5</bold>: Whittle&#x2019;s log-likelihood function</p>
</list-item>
<list-item>
<p>
<monospace>lwH&#x3d;(2/N)&#x2a;sum (log(T)&#x2b;(P./T));</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>where <monospace>lwH</monospace> is the inverse of Whittle&#x2019;s likelihood function, <monospace>N</monospace> is the length of the observation vector, <monospace>T</monospace> is the scaled theoretical periodogram computed via MATLAB codes 2 or 3 and then MATLAB code 4, and <monospace>P</monospace> is the estimated periodogram of the observation vector computed via MATLAB code 1. MATLAB codes 6 and 7 are given in the following sections, which are the functions declared in MATLAB and which we will have to minimize. These codes correspond to the combination of MATLAB codes 2&#x2013;5. MATLAB code 6 gives the function based on the theoretical spectrum of fGn, while MATLAB code 7 gives the function based on the theoretical spectrum of ARFIMA (0,<italic>d</italic>,0). These functions will have to be placed either at the end of the mother code <monospace>whittle.m</monospace> (as is the case with the provided code) or in two separate files that can be named <monospace>WLLFfgn.m</monospace> and <monospace>WLLFarf.m</monospace>.<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 6</bold>: Whittle&#x2019;s log-likelihood function with fGn theoretical PSD</p>
</list-item>
<list-item>
<p>
<monospace>function lwHfgn &#x3d; WLLFfgn (H,w,P,N)</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Tp &#x3d; sin (pi&#x2a;H)&#x2a;gamma ((2&#x2a;H)&#x2b;1)&#x2a;(abs(w).&#x5e;(1-(2&#x2a;H)));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>c &#x3d; sum(P)/sum (Tp);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>T &#x3d; <italic>c</italic>&#x2a;Tp;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>lwHfgn&#x3d;(2/N)&#x2a;sum (log(T)&#x2b;(P./T));</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 7</bold>: Whittle&#x2019;s log-likelihood function with ARFIMA (0,d,0) theoretical PSD</p>
</list-item>
<list-item>
<p>
<monospace>function lwHarf &#x3d; WLLFarf (H,w,P,N)</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>d &#x3d; H-0.5;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Tp&#x3d;(1/(2&#x2a;pi))&#x2a;(2&#x2a;sin (w/2)).&#x5e;-(2&#x2a;d);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>c &#x3d; sum(P)/sum (Tp);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>T &#x3d; <italic>c</italic>&#x2a;Tp;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>lwHarf&#x3d;(2/N)&#x2a;sum (log(T)&#x2b;(P./T));</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>In the first line, the <monospace>function</monospace> is used to declare the functions <monospace>WLLFfgn</monospace> and <monospace>WLLFarf</monospace>. The outputs are <monospace>lwHfgn</monospace> for code 6 and <monospace>lwHarf</monospace> for code 7 and correspond to <inline-formula id="inf57">
<mml:math id="m62">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="script">l</mml:mi>
<mml:mi>W</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> in Equation <xref ref-type="disp-formula" rid="e1">1</xref>. The inputs are as follows: <monospace>H</monospace> is the Hurst exponent, <monospace>w</monospace> is the Fourier frequencies, <monospace>P</monospace> is the estimated periodogram of the observation vector, and <monospace>N</monospace> is the length of the observation vector.</p>
<p>In <xref ref-type="fig" rid="F4">Figure 4</xref>, we present the plots corresponding to these two functions for our four test signals: <monospace>choleskyfgn</monospace>, <monospace>arfima0d0</monospace>, <monospace>whitenoise</monospace>, and <monospace>empirical</monospace>, with <monospace>H</monospace> values ranging from 0.05 to 0.95 by steps of 0.05.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Whittle&#x2019;s log-likelihood functions of <monospace>choleskyfgn</monospace> <bold>(A)</bold>, <monospace>arfima0d0</monospace> <bold>(B)</bold>, <monospace>whitenoise</monospace> <bold>(C)</bold>, and <monospace>empirical</monospace> <bold>(D)</bold> signals. The blue curves correspond to Whittle&#x2019;s likelihood function calculated using the fGn theoretical spectrum, while the orange curves correspond to the same function calculated using the ARFIMA (0,<italic>d</italic>,0) theoretical spectrum.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g004.tif"/>
</fig>
<p>Type <monospace>Fig4_lwH</monospace> in the command window to access <xref ref-type="fig" rid="F4">Figure 4</xref>.</p>
</sec>
<sec id="s2-5">
<title>2.5 Resolving the optimization problem</title>
<p>In this third step, we describe the method to solve the optimization problem. In other words, we must find the value of <inline-formula id="inf58">
<mml:math id="m63">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> for which we reach the minimum of the inverse of Whittle&#x2019;s likelihood:<disp-formula id="e6">
<mml:math id="m64">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mi>argmin</mml:mi>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munder>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>ln</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>c</mml:mi>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where <inline-formula id="inf59">
<mml:math id="m65">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is the estimate of the fractal exponent of the observation vector <inline-formula id="inf60">
<mml:math id="m66">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. As stated in the introduction of this first part, the present section 2.5 marks the transition from the exponents <italic>H</italic> and <italic>d</italic> characterizing the stationary processes fGn and ARFIMA (0,<italic>d</italic>,0) to the exponent <inline-formula id="inf61">
<mml:math id="m67">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> that can characterize the full set of stationary and non-stationary processes on a continuum from <inline-formula id="inf62">
<mml:math id="m68">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> to <inline-formula id="inf63">
<mml:math id="m69">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. The <inline-formula id="inf64">
<mml:math id="m70">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> metric allows the whittle.m algorithm to work without making the <italic>a priori</italic> distinction between stationary and non-stationary signals, as DFA does.</p>
<p>In order to implement the operation of Equation <xref ref-type="disp-formula" rid="e6">6,</xref> we use the MATLAB function <monospace>fminbnd()</monospace>, which is a minimizer based on golden section search and parabolic interpolation. The MATLAB codes to find the minimum of the <monospace>WLfgn</monospace> and <monospace>Wlarf</monospace> functions are as follows:<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 8</bold>: Optimization for fGn-based Whittle&#x2019;s log-likelihood function</p>
</list-item>
<list-item>
<p>
<monospace>Afgn &#x3d; fminbnd (@(H) WLLFfgn (H,w,P,N),0,1);</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 9</bold>: Optimization for ARFIMA (0,d,0)-based Whittle&#x2019;s log-likelihood function</p>
</list-item>
<list-item>
<p>
<monospace>Aarf &#x3d; fminbnd (@(H) WLLFarf (H,w,P,N),0,1);</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>
<monospace>Afgn</monospace> and <monospace>Aarf</monospace> are the two values of <inline-formula id="inf65">
<mml:math id="m71">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>; the first one is estimated by fGn-based Whittle&#x2019;s likelihood, and the second is estimated by ARFIMA-based Whittle&#x2019;s likelihood. The syntax <monospace>@(H)</monospace> intimates the function <monospace>fminbnd()</monospace> that <italic>H</italic> is the variable to be optimized, while <monospace>WLfgn (H,w,P,N)</monospace> and <monospace>WLarf(H,w,P,N)</monospace> are the functions that are optimized (corresponding to MATLAB codes 6 and 7). Finally, <monospace>0</monospace> is the lower bound and <monospace>1</monospace> is the upper bound in the optimization problem. This algorithm never optimizes on the bounds, so using 0 as a lower bound and 1 as an upper bound satisfies both theoretical conditions <inline-formula id="inf66">
<mml:math id="m72">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf67">
<mml:math id="m73">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.5</mml:mn>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</sec>
<sec id="s2-6">
<title>2.6 The case of non-stationary signals</title>
<p>By definition, Whittle&#x2019;s log-likelihood function only holds for stationary signals such as fGn or ARFIMA (0,<italic>d</italic>,0). As a result, when analyzing non-stationary signals, the minimum of this function occurs when <inline-formula id="inf68">
<mml:math id="m74">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is almost equal to 1. More precisely, when we refer to the help provided with the <monospace>fminbnd()</monospace> function<xref ref-type="fn" rid="fn3">
<sup>3</sup>
</xref>, this translates into values of <inline-formula id="inf69">
<mml:math id="m75">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> greater than <inline-formula id="inf70">
<mml:math id="m76">
<mml:mrow>
<mml:mfenced open="(" close="" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>.</mml:mo>
<mml:msup>
<mml:mn>10</mml:mn>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>6</mml:mn>
<mml:msqrt>
<mml:mrow>
<mml:mn>2,2204</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:msup>
<mml:mn>10</mml:mn>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:msqrt>
<mml:mo>&#x223c;</mml:mo>
<mml:mn>0.9998</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>. Thus, if the algorithm returns a value greater than 0.9998, we can classify the signal as non-stationary. To calculate the fractal exponent for the non-stationary signals, we apply the method proposed by <xref ref-type="bibr" rid="B7">Diebolt and Guiraud (2005)</xref>, which consists in analyzing a differentiated version of the signal, and then add 1 to <inline-formula id="inf71">
<mml:math id="m77">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. This translates in MATLAB code as<list list-type="simple">
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 10</bold>: If the observation vector is non-stationary, fGn-based Whittle&#x2019;s likelihood</p>
</list-item>
<list-item>
<p>
<monospace>if Afgn &#x3e;&#x3d; 0.9998</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>[Pyy,wyy]&#x3d; periodogram (diff(X));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>mdiff &#x3d; floor ((N-2)/2);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Pdiff &#x3d; Pyy ((2:mdiff&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>wdiff &#x3d; wyy ((2:mdiff&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Afgn &#x3d; fminbnd (@(H) WLLFfgn (H,wdiff, Pdiff, (N-1)),0,1)&#x2b;1;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>end</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
<list-item>
<p>
<bold>MATLAB code 11</bold>: If the observation vector is non-stationary, ARFIMA-based Whittle&#x2019;s likelihood</p>
</list-item>
<list-item>
<p>
<monospace>if Aarf &#x3e;&#x3d; 0.9998</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>[Pyy,wyy]&#x3d; periodogram (diff(X));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>mdiff &#x3d; floor ((N-2)/2);</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Pdiff &#x3d; Pyy ((2:mdiff&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>wdiff &#x3d; wyy ((2:mdiff&#x2b;1));</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>Aarf &#x3d; fminbnd (@(H) WLLFarf (H,wdiff, Pdiff, (N-1)),0,1)&#x2b;1;</monospace>
</p>
</list-item>
<list-item>
<p>
<monospace>end</monospace>
</p>
</list-item>
<list-item>
<p>&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;&#x2026;</p>
</list-item>
</list>
</p>
<p>The first line of both codes is the logical test. If the answer is true, then the four consecutive lines are computed. In the second line, the periodogram is estimated on the differentiated observation vector <monospace>diff(x)</monospace>. In the third line, <monospace>mdiff</monospace> is calculated because <monospace>diff(x)</monospace> is one point shorter than <monospace>x</monospace>. In the fourth and fifth lines, the zero frequency and those greater than <monospace>mdiff</monospace> are excluded. Finally, in the sixth line, <monospace>Afgn</monospace> and <monospace>Aarf</monospace> are estimated by adding <monospace>1</monospace> to the value returned by <monospace>fminbnd()</monospace>.</p>
</sec>
<sec id="s2-7">
<title>2.7 The construction of whittle.m algorithm</title>
<p>We would like to warn the reader that in order to make this tutorial progressive, the steps are not ordered in the same way as in the <monospace>whittle.m</monospace> algorithm. Moreover, some algorithmic intricacies were unfolded in sub-steps, giving more lines of code than necessary to build the all-in-one whittle.m algorithm. To construct <monospace>whittle.m</monospace>, the reader should proceed as follows:<list list-type="simple">
<list-item>
<p>1. Begin with the header: function <monospace>[Afgn, Aarf] &#x3d; whittle(x)</monospace>, where <monospace>x</monospace> is the observation vector, <monospace>Aarf</monospace> is the exponent estimated using ARFIMA (0,<italic>d</italic>,0) theoretical power spectral density, and <monospace>Afgn</monospace> is the exponent estimated using fGn theoretical power spectral density.</p>
</list-item>
<list-item>
<p>2. Then paste the MATLAB codes in the following order:</p>
<list list-type="simple">
<list-item>
<p>&#x2022; <bold>MATLAB code 1</bold>: Periodogram estimation</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 8</bold>: Optimization for fGn-based Whittle&#x2019;s log-likelihood function</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 10</bold>: If the observation vector is non-stationary, fGn-based Whittle&#x2019;s likelihood</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 9</bold>: Optimization for ARFIMA (0,<italic>d</italic>,0)-based Whittle&#x2019;s log-likelihood function</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 11</bold>: If the observation vector is non-stationary, ARFIMA-based Whittle&#x2019;s likelihood</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 6</bold>: Whittle&#x2019;s log-likelihood MATLAB function with fGn theoretical PSD</p>
</list-item>
<list-item>
<p>&#x2022; <bold>MATLAB code 7</bold>: Whittle&#x2019;s log-likelihood MATLAB function with ARFIMA (0,<italic>d</italic>,0) theoretical PSD</p>
</list-item>
</list>
</list-item>
</list>
</p>
</sec>
</sec>
<sec id="s3">
<title>3 Whittle&#x2019;s maximum likelihood performances</title>
<p>Now that all the steps have been described, we will test the performance of the whittle.m algorithm and, in particular, compare it to DFA, which is a widely used algorithm in fractal signal analysis. Regarding the first part of this tutorial, we propose to divide it into several sections. Section 3.1, <italic>Test signals and generator biases</italic>, describes the methodology applied to generate the signals used to test Whittle&#x2019;s maximum likelihood estimator and describes the biases related to the two generators used. Section 3.2, <italic>Which is the best estimator?</italic>, evaluates and compares the three analysis methods using squared error values and thus determines which is of better quality. Then, the performance of ARFIMA-based Whittle&#x2019;s likelihood depending on the signal length is discussed in Section 3.3, <italic>Signal length</italic>. Finally, Section 3.4, <italic>Limitations and future studies</italic>, outlines the misuse of fractal analysis on non-monofractal signals and the evolutions that can be made on this algorithm.</p>
<sec id="s3-1">
<title>3.1 Test signals and generator biases</title>
<p>To test Whittle&#x2019;s maximum likelihood estimator, we generated two sets of signals, one for each theoretical model (fGn/fBm and ARFIMA (0,<italic>d</italic>,0)). The first one, based on the fGn properties, is the Cholesky decomposition, whose algorithm is named <monospace>cholfgn.m</monospace>. The second one consists of ARFIMA (0,<italic>d</italic>,0) filtering, whose algorithm is named <monospace>ARFIMA0d0.m</monospace>. We thus generated, for each of these generators, 42 subsets of 120 signals of length <italic>N</italic> &#x3d; 1,024 for a total of 5,040 signals for each generator. These 42 subsets correspond to 42 different <inline-formula id="inf72">
<mml:math id="m78">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>-values; the first value is 0.01 because the value 0 is excluded from the theoretical models, the following 19 values range from 0.05 to 0.95 by steps of 0.05, and the 21st value is 0.99 because the value 1 is also excluded from the models. The last 21 values are ranged in the same way from 1.01 to 1.99.</p>
<p>We then estimated <inline-formula id="inf73">
<mml:math id="m79">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> using three analysis methods: fGn-based Whittle&#x2019;s likelihood and ARFIMA-based Whittle&#x2019;s likelihood, presented in this tutorial and implemented in the whittle.m function, and DFA, which is implemented in the <monospace>DFA.m</monospace> function. Note that the DFA algorithm we used is the improved version presented by <xref ref-type="bibr" rid="B1">Almurad and Deligni&#xe8;res (2016)</xref>. The algorithm of generation and analysis is presented in <monospace>signal_generation_and_analysis.m</monospace>, and the results are saved in <monospace>generatedsignals.mat</monospace>. The first striking result is the analysis time. It took 57.24&#xa0;s to compute <inline-formula id="inf74">
<mml:math id="m80">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> on the set of signals using the two Whittle&#x2019;s functions, while it took 2052.30&#xa0;s to compute <inline-formula id="inf75">
<mml:math id="m81">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> on the set of signals using DFA. In sum, the analysis for Whittle&#x2019;s function is approximately 70 times faster than DFA. We conducted the analysis on a Windows laptop equipped with an Intel i77700HQ processor, 16&#xa0;GB of RAM, an Nvidia GTX 1050 graphics card, and a 512&#xa0;GB SSD hard drive using MATLAB version 2019a.</p>
<p>
<xref ref-type="fig" rid="F5">Figure 5</xref> shows the whole set of computed <inline-formula id="inf76">
<mml:math id="m82">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. This figure is arranged in two columns corresponding to the <monospace>cholfgn</monospace> and <monospace>ARFIMA0d0</monospace> generators and in three rows corresponding to the three analysis methods: fGn-based Whittle&#x2019;s maximum likelihood estimator, ARFIMA-based Whittle&#x2019;s maximum likelihood estimator, and DFA. The figure shows that the <monospace>cholfgn</monospace> generator is strongly biased around the frontier between noise and motion (for <inline-formula id="inf77">
<mml:math id="m83">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>). We had already encountered this phenomenon in the study by <xref ref-type="bibr" rid="B28">Roume et al. (2019)</xref> using the Davies and Harte algorithm and can easily conclude that for generators based on the autocorrelation function of fGn, the integration of fractional Gaussian noises with an <inline-formula id="inf78">
<mml:math id="m84">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> close to 0 to obtain fractional Brownian motions with an <inline-formula id="inf79">
<mml:math id="m85">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> close to 1 is a technique that does not work properly. However, we can observe that this technique holds relatively well when the signals have been generated via ARFIMA filtering, as shown by the continuity between noise and motion observed in the bottom row. In addition, we will rely on the <monospace>ARFIMA0d0</monospace> generator to estimate the efficiency of the analysis methods in the following section.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Whole set of <inline-formula id="inf80">
<mml:math id="m86">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> estimated. On the <italic>x</italic>-axis, <inline-formula id="inf81">
<mml:math id="m87">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the true value of the exponents, the values computed in the generator. On the <italic>y</italic>-axis, the estimated values of <inline-formula id="inf82">
<mml:math id="m88">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> computed by the corresponding analysis method are located. Red curves represent true alpha values <inline-formula id="inf83">
<mml:math id="m89">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, and blue curves represent the estimated alpha values <inline-formula id="inf84">
<mml:math id="m90">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. The first column <bold>(A,C,E)</bold> corresponds to the signals generated via the Cholesky method, and the second column <bold>(B,D,F)</bold> corresponds to the signals generated via ARFIMA filtering. The first row <bold>(A,B)</bold> presents the <inline-formula id="inf85">
<mml:math id="m91">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> values computed using fGn-based Whittle&#x2019;s maximum likelihood estimator, the second row <bold>(C,D)</bold> presents those computed using ARFIMA-based Whittle&#x2019;s maximum likelihood estimator, and the third row <bold>(E,F)</bold> presents the <inline-formula id="inf86">
<mml:math id="m92">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> values computed using DFA.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g005.tif"/>
</fig>
<p>Type <monospace>Fig5_Genbiases</monospace> in the command window to access <xref ref-type="fig" rid="F5">Figure 5</xref>.</p>
</sec>
<sec id="s3-2">
<title>3.2 Which is the best estimator?</title>
<p>In this section, we compare the efficiency of fGn-based Whittle&#x2019;s likelihood, ARFIMA-based Whittle&#x2019;s likelihood, and DFA. To assess the efficiency of these analysis methods, one must account for both their bias and variance. We therefore calculated Mean Squared Error (MSE), which is defined as the average of the squared error values. These analysis methods, being estimators in the sense of statistics, MSE can also be written as the sum of the variance and the squared bias of the values of <inline-formula id="inf87">
<mml:math id="m93">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, allowing us to directly compare their quality. Thus, when comparing two estimators, the estimator characterized by the smallest MSE value can be considered better.</p>
<p>First, for each estimator, we calculated the 5,040 (42 <inline-formula id="inf88">
<mml:math id="m94">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>-values <inline-formula id="inf89">
<mml:math id="m95">
<mml:mrow>
<mml:mo>&#xd7;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> 120 signals) squared error values, which were then averaged. We obtained an MSE of 0.0014&#xb1;0.0019 for fGn-based Whittle&#x2019;s likelihood<xref ref-type="fn" rid="fn4">
<sup>4</sup>
</xref>, 0.0007&#xb1;0.0011 for ARFIMA-based Whittle&#x2019;s likelihood, and 0.0078&#xb1;0.0127 for DFA. We performed a one-way ANOVA that confirmed the significant differences between these groups (<italic>F</italic> (2,15,117) &#x3d; 1,385.8; <italic>p</italic> &#x3c; 0.001; <italic>&#x3b7;</italic>
<sup>2</sup> &#x3d; .15). Thus, ARFIMA-based Whittle&#x2019;s likelihood is better than fGn-based Whittle&#x2019;s likelihood, which itself is a better estimator than DFA. To go beyond the reductionist nature of this elementary comparison, a box plot of all the squared error values is constructed, as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Box plot of <inline-formula id="inf90">
<mml:math id="m96">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> squared error values obtained via fGn-based Whittle&#x2019;s likelihood <bold>(A)</bold>, ARFIMA-based Whittle&#x2019;s likelihood <bold>(B)</bold>, and DFA <bold>(C)</bold>. The lower and upper edges of the boxes represent the 25 and 75 percentiles, respectively. The horizontal black line represents the median. The whiskers extend to the most extreme points not considered as outliers. The outliers are plotted as individual points. The orange diamond represents the MSE value.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g006.tif"/>
</fig>
<p>Type <monospace>Fig6_SquarredError</monospace> in the command window to access <xref ref-type="fig" rid="F6">Figure 6</xref>.</p>
<p>In line with the results of the comparison of the MSE values, the first observation that can be made is that regardless of the value of <inline-formula id="inf91">
<mml:math id="m97">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, the ARFIMA method is characterized by a lower median error than the other two analysis methods, as well as by a lower dispersion of these errors. We can also observe biases that could already be predicted from <xref ref-type="fig" rid="F5">Figure 5;</xref> for example, for the fGn-based Whittle&#x2019;s likelihood, the overestimation bias for <inline-formula id="inf92">
<mml:math id="m98">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is less than 0.3, and the high variance around <inline-formula id="inf93">
<mml:math id="m99">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is equal to 1. For DFA, the overestimation bias for <inline-formula id="inf94">
<mml:math id="m100">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is less than 0.3, the underestimation bias for <inline-formula id="inf95">
<mml:math id="m101">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is greater than 1.8, and there is a simultaneous increase between the variance of <inline-formula id="inf96">
<mml:math id="m102">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and the true <inline-formula id="inf97">
<mml:math id="m103">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> value.</p>
</sec>
<sec id="s3-3">
<title>3.3 Signal length</title>
<p>In this section, we discuss the performance of ARFIMA-based Whittle&#x2019;s likelihood depending on signal lengths. Fractal analysis, like DFA, often requires a large series (N &#x3e; 500) to provide reliable alpha estimates (<xref ref-type="bibr" rid="B5">Damouras et al., 2010</xref>; <xref ref-type="bibr" rid="B27">Phinyomark et al., 2020</xref>). This can lead to experimental issues when working with physiological signals, such as the difficulty of older adults to walk for more than 5&#xa0;min, which is between 100 and 250 strides (<xref ref-type="bibr" rid="B23">Moon et al., 2016</xref>; <xref ref-type="bibr" rid="B27">Phinyomark et al., 2020</xref>).</p>
<p>To assess the performance, we first made four sets of signals by reducing the length of <monospace>tsarf</monospace> from 1 to <italic>N</italic>, with the following four <italic>N</italic> values: 32, 64, 128, and 256. We then estimated <inline-formula id="inf98">
<mml:math id="m104">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> for these four sets and computed MSE. We obtained an MSE value of 0.7709&#xb1;0.7954 for <italic>N</italic> &#x3d; 32, 0.0884&#xb1;0.1540 for <italic>N</italic> &#x3d; 64, 0.0124&#xb1;0.0207 for <italic>N</italic> &#x3d; 128, and 0.0036&#xb1;0.0053 for <italic>N</italic> &#x3d; 256. Similar to <xref ref-type="fig" rid="F6">Figure 6</xref>, the box plot of <inline-formula id="inf99">
<mml:math id="m105">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> squared error values for the four reduced sets is constructed, as shown in <xref ref-type="fig" rid="F7">Figure 7</xref>.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Box plot of <inline-formula id="inf100">
<mml:math id="m106">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> squared error values obtained using ARFIMA-based Whittle&#x2019;s likelihood for four sets of length: 32 <bold>(A)</bold>, 64 <bold>(B)</bold>, 128 <bold>(C)</bold>, and 256 <bold>(D)</bold>. The lower and upper edges of the boxes represent the 25 and 75 percentiles, respectively. The horizontal black line represents the median. The whiskers extend to the most extreme points not considered as outliers. The outliers are plotted as individual points. The orange diamond represents the MSE value. The vertical scale of the top left graph is 20 times larger than the other three panels.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g007.tif"/>
</fig>
<p>Type <monospace>Fig7_SignalLength</monospace> in the command window to access <xref ref-type="fig" rid="F7">Figure 7</xref>.</p>
<p>The first observation that can be made from this figure is that the analysis method provides unreliable estimates for lengths <italic>N</italic> &#x3d; 32 and 64. The second is that for <italic>N</italic> &#x3d; 256, the ARFIMA-based Whittle&#x2019;s likelihood gives more reliable estimates than DFA with <italic>N</italic> &#x3d; 1,024. Finally, for <italic>N</italic> &#x3d; 128, this method gives slightly less reliable estimates than DFA for 1,024 points.</p>
<p>In addition, it can be observed that, particularly for <italic>N</italic> &#x3d; 128 and <italic>N</italic> &#x3d; 256, the errors are maximized to approximately <inline-formula id="inf101">
<mml:math id="m107">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> &#x3d; 1. These errors are linked to misclassification of signals as stationary or non-stationary. This is even more predominant for signals with an <inline-formula id="inf102">
<mml:math id="m108">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> exponent just above 1 for <italic>N</italic> &#x3d; 128, although it should be noted that these signals are truncated and the variation in mean and standard deviation was distributed over the entire original signal. It would be interesting to add a size variable to the generated signals in future studies.</p>
<p>For further comparison, we calculated the value of MSE for <inline-formula id="inf103">
<mml:math id="m109">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> obtained with DFA for <italic>N</italic> &#x3d; 512 points, which gives 0.0203 &#xb1; 0.355, i.e., approximately twice the value of MSE for ARFIMA-based Whittle&#x2019;s likelihood with <italic>N</italic> &#x3d; 128 (0.0124 &#xb1; 0.0207). Considering that the variability of the version of DFA we use is optimized, for <italic>N</italic> &#x3d; 512, the variability is smaller than that of the original DFA with <italic>N</italic> &#x3d;1,024 (<xref ref-type="bibr" rid="B1">Almurad and Deligni&#xe8;res, 2016</xref>), and given that several studies using the original DFA with <italic>N</italic> lengths of approximately 1,000 data points have given elegant results, it is reasonable to predict that an <inline-formula id="inf104">
<mml:math id="m110">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> value estimated via ARFIMA-based Whittle&#x2019;s likelihood on a series of 128 points could be acceptable even if not optimal.</p>
</sec>
<sec id="s3-4">
<title>3.4 Limitations and future studies</title>
<p>During the development of this tutorial, we tested Whittle&#x2019;s maximum likelihood estimator on several physiological signals, including those made available by J. Hausdorff on the PhysioNet platform (<xref ref-type="bibr" rid="B9">Goldberger et al., 2000</xref>; <xref ref-type="bibr" rid="B14">Hausdorff, 2001</xref>). The results obtained are summarized in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Comparison of <inline-formula id="inf105">
<mml:math id="m111">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> estimated via ARFIMA-based Whittle&#x2019;s likelihood and DFA on gait data made available by J. Hausdorff on the PhysioNet platform (<xref ref-type="bibr" rid="B9">Goldberger et al., 2000</xref>; <xref ref-type="bibr" rid="B14">Hausdorff, 2001</xref>). The results highlighted in red correspond to anti-persistent series, i.e., with <inline-formula id="inf106">
<mml:math id="m112">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> lower than 0.5.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">&#x2003;</th>
<th align="center">Mean</th>
<th align="center">SD</th>
<th align="center">s1</th>
<th align="center">s2</th>
<th align="center">s3</th>
<th align="center">s4</th>
<th align="center">s5</th>
<th align="center">s6</th>
<th align="center">s7</th>
<th align="center">s8</th>
<th align="center">s9</th>
<th align="center">s10</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="2" align="center">Slow</td>
<td align="center">Whittle</td>
<td align="center">0.96</td>
<td align="center">0.06</td>
<td align="center">0.99</td>
<td align="center">0.82</td>
<td align="center">0.94</td>
<td align="center">0.99</td>
<td align="center">1.00</td>
<td align="center">0.95</td>
<td align="center">1.04</td>
<td align="center">1.01</td>
<td align="center">0.98</td>
<td align="center">0.91</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.99</td>
<td align="center">0.08</td>
<td align="center">1.02</td>
<td align="center">0.86</td>
<td align="center">1.02</td>
<td align="center">0.99</td>
<td align="center">1.01</td>
<td align="center">0.92</td>
<td align="center">1.08</td>
<td align="center">1.11</td>
<td align="center">0.99</td>
<td align="center">0.87</td>
</tr>
<tr>
<td rowspan="2" align="center">Normal</td>
<td align="center">Whittle</td>
<td align="center">0.89</td>
<td align="center">0.05</td>
<td align="center">0.91</td>
<td align="center">0.80</td>
<td align="center">0.96</td>
<td align="center">0.85</td>
<td align="center">0.84</td>
<td align="center">0.82</td>
<td align="center">0.93</td>
<td align="center">0.91</td>
<td align="center">0.93</td>
<td align="center">0.91</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.92</td>
<td align="center">0.07</td>
<td align="center">0.96</td>
<td align="center">0.87</td>
<td align="center">0.99</td>
<td align="center">0.92</td>
<td align="center">0.79</td>
<td align="center">0.88</td>
<td align="center">0.94</td>
<td align="center">0.91</td>
<td align="center">1.02</td>
<td align="center">0.91</td>
</tr>
<tr>
<td rowspan="2" align="center">Fast</td>
<td align="center">Whittle</td>
<td align="center">0.93</td>
<td align="center">0.05</td>
<td align="center">0.94</td>
<td align="center">0.95</td>
<td align="center">0.99</td>
<td align="center">0.85</td>
<td align="center">1.00</td>
<td align="center">0.95</td>
<td align="center">0.91</td>
<td align="center">0.94</td>
<td align="center">0.85</td>
<td align="center">0.95</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.97</td>
<td align="center">0.08</td>
<td align="center">0.89</td>
<td align="center">0.96</td>
<td align="center">1.06</td>
<td align="center">0.83</td>
<td align="center">1.08</td>
<td align="center">1.04</td>
<td align="center">0.95</td>
<td align="center">1.02</td>
<td align="center">0.94</td>
<td align="center">0.98</td>
</tr>
<tr>
<td rowspan="2" align="center">MetSlow</td>
<td align="center">Whittle</td>
<td align="center">0.46</td>
<td align="center">0.26</td>
<td align="center">0.52</td>
<td align="center">0.74</td>
<td align="center" style="background-color:#FFC7CE">0.21</td>
<td align="center" style="background-color:#FFC7CE">0.39</td>
<td align="center" style="background-color:#FFC7CE">0.02</td>
<td align="center" style="background-color:#FFC7CE">0.49</td>
<td align="center">0.68</td>
<td align="center" style="background-color:#FFC7CE">0.13</td>
<td align="center">0.67</td>
<td align="center">0.71</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.32</td>
<td align="center">0.19</td>
<td align="center" style="background-color:#FFC7CE">0.28</td>
<td align="center">0.59</td>
<td align="center" style="background-color:#FFC7CE">0.15</td>
<td align="center" style="background-color:#FFC7CE">0.17</td>
<td align="center" style="background-color:#FFC7CE">0.12</td>
<td align="center" style="background-color:#FFC7CE">0.35</td>
<td align="center">0.55</td>
<td align="center" style="background-color:#FFC7CE">0.13</td>
<td align="center" style="background-color:#FFC7CE">0.33</td>
<td align="center">0.54</td>
</tr>
<tr>
<td rowspan="2" align="center">MetNorm</td>
<td align="center">Whittle</td>
<td align="center">0.60</td>
<td align="center">0.20</td>
<td align="center">0.68</td>
<td align="center" style="background-color:#FFC7CE">0.47</td>
<td align="center">0.74</td>
<td align="center">0.55</td>
<td align="center" style="background-color:#FFC7CE">0.11</td>
<td align="center">0.54</td>
<td align="center">0.73</td>
<td align="center">0.69</td>
<td align="center">0.76</td>
<td align="center">0.72</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.38</td>
<td align="center">0.18</td>
<td align="center">0.51</td>
<td align="center" style="background-color:#FFC7CE">0.31</td>
<td align="center" style="background-color:#FFC7CE">0.30</td>
<td align="center" style="background-color:#FFC7CE">0.23</td>
<td align="center" style="background-color:#FFC7CE">0.08</td>
<td align="center" style="background-color:#FFC7CE">0.27</td>
<td align="center">0.65</td>
<td align="center">0.54</td>
<td align="center">0.57</td>
<td align="center" style="background-color:#FFC7CE">0.39</td>
</tr>
<tr>
<td rowspan="2" align="center">MetFast</td>
<td align="center">Whittle</td>
<td align="center">0.58</td>
<td align="center">0.18</td>
<td align="center">0.58</td>
<td align="center" style="background-color:#FFC7CE">0.42</td>
<td align="center">0.70</td>
<td align="center">0.80</td>
<td align="center" style="background-color:#FFC7CE">0.21</td>
<td align="center" style="background-color:#FFC7CE">0.44</td>
<td align="center">0.66</td>
<td align="center">0.71</td>
<td align="center">0.69</td>
<td align="center">0.60</td>
</tr>
<tr>
<td align="center">DFA</td>
<td align="center">0.37</td>
<td align="center">0.16</td>
<td align="center" style="background-color:#FFC7CE">0.31</td>
<td align="center" style="background-color:#FFC7CE">0.29</td>
<td align="center" style="background-color:#FFC7CE">0.38</td>
<td align="center">0.64</td>
<td align="center" style="background-color:#FFC7CE">0.11</td>
<td align="center" style="background-color:#FFC7CE">0.22</td>
<td align="center">0.59</td>
<td align="center" style="background-color:#FFC7CE">0.33</td>
<td align="center" style="background-color:#FFC7CE">0.38</td>
<td align="center" style="background-color:#FFC7CE">0.47</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Under the conditions without metronome (slow, normal, and fast), ARFIMA-based Whittle&#x2019;s likelihood and DFA provide similar results for the mean <inline-formula id="inf107">
<mml:math id="m113">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, but a slightly higher standard deviation was observed for DFA. This result becomes very interesting under metronome conditions, especially when the ARFIMA-based Whittle&#x2019;s likelihood and DFA provide diametrically opposed results, the first detecting persistence (<inline-formula id="inf108">
<mml:math id="m114">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> &#x3e; 0.5) and the second detecting anti-persistence (<inline-formula id="inf109">
<mml:math id="m115">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> &#x3c; 0.5).</p>
<p>To understand why we obtained these results, we grouped the different series into three groups: the first group, &#x201c;persistent behavior,&#x201d; assembles the series for which DFA and Whittle&#x2019;s likelihood analysis provide an <inline-formula id="inf110">
<mml:math id="m116">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> greater than 0.5. In the second group, &#x201c;anti-persistent behavior,&#x201d; we group the time series for which both DFA and Whittle likelihood provide an <inline-formula id="inf111">
<mml:math id="m117">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> below 0.5. Finally, in the third group, &#x201c;mixed behavior,&#x201d; we group the series with <inline-formula id="inf112">
<mml:math id="m118">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> lower than 0.5 from DFA and <inline-formula id="inf113">
<mml:math id="m119">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> higher than 0.5 from Whittle&#x2019;s likelihood. Then, we estimated the power spectra using the periodogram method, and finally, we averaged these spectra for each group. These averaged spectra are presented in the first three columns in <xref ref-type="fig" rid="F8">Figure 8</xref>, and the data are saved in <monospace>spectralbehavior. mat</monospace>.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>log-power spectral density of Hausdorff data rearranged into three groups: persistent behavior <bold>(A)</bold>, anti-persistent behavior <bold>(B)</bold>, and mixed behavior <bold>(C)</bold>. log-power spectral density of an artificial ARFIMA(p,d,q) signal with parameters (2, &#x2212;0.35.1) generated using <monospace>ARFIMApdq.m</monospace> <bold>(D)</bold>.</p>
</caption>
<graphic xlink:href="fnetp-03-1204757-g008.tif"/>
</fig>
<p>Type <monospace>Fig8_SpectralBehavior</monospace> in the command window to access <xref ref-type="fig" rid="F8">Figure 8</xref>.</p>
<p>In the first two columns, when the Whittle&#x2019;s and DFA methods provided similar <inline-formula id="inf114">
<mml:math id="m120">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> (i.e., both greater than 0.5 for the first column and both lower than 0.5 for the second column), we observe that the power spectrum is dominated by a trend that is persistent in the first column and anti-persistent in the second column. In the third column, when Whittle&#x2019;s and DFA provided opposite results, we can observe a mixed behavior where the low frequency part of the spectrum is dominated by anti-persistence, while the high frequencies are dominated by persistence.</p>
<p>This non-monotonicity of the spectrum in the logarithmic space, which was already observed by <xref ref-type="bibr" rid="B29">Torre and Deligni&#xe8;res (2008)</xref>, is not predicted in the two models, fGn/fBm and ARFIMA (0,<italic>d</italic>,0); therefore, we cannot apply these models, from a theoretical point of view, on a signal being characterized by such a spectrum. However, the ARFIMA (<italic>p</italic>,<italic>d</italic>,q) model allows the creation of non-monotonic spectra, as shown in the fourth column in <xref ref-type="fig" rid="F8">Figure 8</xref>. It will therefore be interesting to improve the method that we have presented so far by incorporating in Equation <xref ref-type="disp-formula" rid="e4">4</xref> the AR and MA components known as short-memory components, all of which will give a theoretical spectrum with three parameters: <disp-formula id="e7">
<mml:math id="m121">
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>F</mml:mi>
<mml:mi>I</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi mathvariant="normal">&#x3c6;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>sin</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b8;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3c6;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>where<list list-type="simple">
<list-item>
<p>&#x2022; <inline-formula id="inf115">
<mml:math id="m122">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>p</mml:mi>
</mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the autoregressive (AR) component.</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf116">
<mml:math id="m123">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:msubsup>
<mml:mi>&#x3b8;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>i</mml:mi>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the moving average (MA) component.</p>
</list-item>
</list>
</p>
<p>Finally, it will be interesting to compare the proposed method in this tutorial with Higuchi&#x2019;s fractal dimension method that <xref ref-type="bibr" rid="B27">Phinyomark et al. (2020)</xref> has shown to be better than DFA, which is on our agenda for future work.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>The long-term dependency structures, or fractal structures, present in biological signals inform about the complexity of the system that produced these signals. With age or disease, this structure tends to be altered, making the fractal exponent <italic>H</italic> an interesting predictor in the domain of healthcare. However, the length of the signal required by current analysis methods to properly estimate the <italic>H</italic> exponent requires long series that are difficult to perform for people with motor impairments caused by advanced age or pathologies. In this tutorial, we described the steps to implement an analysis method based on Whittle&#x2019;s approximation; then, we showed that this estimator was of better quality than the popular DFA, allowing for a reliable estimation of the <italic>H</italic> exponent for small series adapted to people who cannot perform physical activities over long periods.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found at: The MATLAB codes and datasets generated and analyzed for this study are deposited in a GitHub repository at <ext-link ext-link-type="uri" xlink:href="https://github.com/clementroume/Whittle_maximum_likelihood_estimator_tutorial">https://github.com/clementroume/Whittle_maximum_likelihood_estimator_tutorial</ext-link>.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>CR: study conception and design, data collection, analysis and interpretation of results, and manuscript preparation.</p>
</sec>
<ack>
<p>The author thanks Pr. Olivier Haeberl&#xe9; and Dr. Ali Moukadem (University of Haute-Alsace) for their comments and suggestions that greatly improved the manuscript. The author would also like to show his gratitude to Pr. Didier Deligni&#xe8;res, for the whole of their discussions on this subject, but also for his benevolence and expertise which allowed the author to propose this paper. <italic>Merci pour tout Didier</italic>.</p>
</ack>
<sec sec-type="COI-statement" id="s7">
<title>Conflict of interest</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>
<sec sec-type="disclaimer" id="s8">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<fn-group>
<fn id="fn1">
<label>1</label>
<p>Gy&#x00F6;rgy Inzelt (2022). ARFIMA(p,d,q) estimator (<ext-link ext-link-type="uri" xlink:href="https://www.mathworks.com/matlabcentral/fileexchange/30238-arfima-p-d-q-estimator">https://www.mathworks.com/matlabcentral/fileexchange/30238-arfima-p-d-q-estimator</ext-link>), MATLAB Central File Exchange. Retrieved July 12, 2022.</p>
</fn>
<fn id="fn2">
<label>2</label>
<p>MathWorks Help Center (2021). periodogram. <ext-link ext-link-type="uri" xlink:href="https://www.mathworks.com/help/signal/ref/periodogram.html">https://www.mathworks.com/help/signal/ref/periodogram.html</ext-link>
</p>
</fn>
<fn id="fn3">
<label>3</label>
<p>MathWorks Help Center (2021). fminbnd. <ext-link ext-link-type="uri" xlink:href="https://www.mathworks.com/help/matlab/ref/fminbnd.html">https://www.mathworks.com/help/matlab/ref/fminbnd.html</ext-link>
</p>
</fn>
<fn id="fn4">
<label>4</label>
<p>The value displayed after the &#x00B1; symbol is the standard deviation of the squared error of &#x03B1;.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Almurad</surname>
<given-names>Z. M. H.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Evenly spacing in detrended fluctuation analysis</article-title>. <source>Phys. Stat. Mech. Its Appl.</source> <volume>451</volume>, <fpage>63</fpage>&#x2013;<lpage>69</lpage>. <pub-id pub-id-type="doi">10.1016/j.physa.2015.12.155</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Almurad</surname>
<given-names>Z. M. H.</given-names>
</name>
<name>
<surname>Roume</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Blain</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Complexity matching: restoring the complexity of locomotion in older people through arm-in-arm walking</article-title>. <source>Front. Physiol.</source> <volume>9</volume>, <fpage>1766</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2018.01766</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Almurad</surname>
<given-names>Z. M. H.</given-names>
</name>
<name>
<surname>Roume</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Complexity matching in side-by-side walking</article-title>. <source>Hum. Mov. Sci.</source> <volume>54</volume>, <fpage>125</fpage>&#x2013;<lpage>136</lpage>. <pub-id pub-id-type="doi">10.1016/j.humov.2017.04.008</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Beran</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Feng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ghosh</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kulik</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2013</year>). <source>Long-memory processes</source>. <publisher-loc>Berlin, Heidelberg</publisher-loc>: <publisher-name>Springer Berlin Heidelberg</publisher-name>. <pub-id pub-id-type="doi">10.1007/978-3-642-35512-7</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Damouras</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>M. D.</given-names>
</name>
<name>
<surname>Sejdi&#x107;</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Chau</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>An empirical examination of detrended fluctuation analysis for gait data</article-title>. <source>Gait Posture</source> <volume>31</volume>, <fpage>336</fpage>&#x2013;<lpage>340</lpage>. <pub-id pub-id-type="doi">10.1016/j.gaitpost.2009.12.002</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Delignieres</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Torre</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Fractal dynamics of human gait: a reassessment of the 1996 data of Hausdorff et al</article-title>. <source>J. Appl. Physiol.</source> <volume>106</volume>, <fpage>1272</fpage>&#x2013;<lpage>1279</lpage>. <pub-id pub-id-type="doi">10.1152/japplphysiol.90757.2008</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Diebolt</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Guiraud</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>A note on long memory time series</article-title>. <source>Qual. Quant.</source> <volume>39</volume>, <fpage>827</fpage>&#x2013;<lpage>836</lpage>. <pub-id pub-id-type="doi">10.1007/s11135-004-0436-z</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ezzina</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Roume</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Pla</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Blain</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Restoring Walking Complexity in Older Adults Through Arm-in-Arm Walking: were Almurad et al.&#x2019;s (2018) Results an Artifact?</article-title> <source>Mot. Control</source> <volume>25</volume>, <fpage>475</fpage>&#x2013;<lpage>490</lpage>. <pub-id pub-id-type="doi">10.1123/mc.2020-0052</pub-id>
</citation>
</ref>
<ref id="B9">
<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. N.</given-names>
</name>
<name>
<surname>Glass</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Hausdorff</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Ivanov</surname>
<given-names>P.Ch.</given-names>
</name>
<name>
<surname>Mark</surname>
<given-names>R. G.</given-names>
</name>
<etal/>
</person-group> (<year>2000</year>). <article-title>PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals</article-title>. <source>Circulation</source> <volume>101</volume>, <fpage>E215</fpage>&#x2013;<lpage>E220</lpage>. <pub-id pub-id-type="doi">10.1161/01.CIR.101.23.e215</pub-id>
</citation>
</ref>
<ref id="B10">
<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. N.</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.</source> <volume>99</volume>, <fpage>2466</fpage>&#x2013;<lpage>2472</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.012579499</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Granger</surname>
<given-names>C. W. J.</given-names>
</name>
<name>
<surname>Joyeux</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1980</year>). <article-title>An introduction to long-memory time series models and fractional differencing</article-title>. <source>J. Time Ser. Anal.</source> <volume>1</volume>, <fpage>15</fpage>&#x2013;<lpage>29</lpage>. <pub-id pub-id-type="doi">10.1111/j.1467-9892.1980.tb00297.x</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Halley</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Inchausti</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>The increasing importance of 1/f-noises as models of ecological variability</article-title>. <source>Fluct. Noise Lett.</source> <volume>04</volume>, <fpage>R1</fpage>&#x2013;<lpage>R26</lpage>. <pub-id pub-id-type="doi">10.1142/S0219477504001884</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Harrison</surname>
<given-names>S. J.</given-names>
</name>
<name>
<surname>Stergiou</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Complex adaptive behavior and dexterous action</article-title>. <source>Nonlinear Dyn. Psychol. Life Sci.</source> <volume>19</volume>, <fpage>345</fpage>&#x2013;<lpage>394</lpage>.</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>2001</year>). <article-title>Long-term recordings of gait dynamics</article-title>. <comment>physionet.org</comment>. <pub-id pub-id-type="doi">10.13026/C28679</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hausdorff</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Purdon</surname>
<given-names>P. L.</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>C. K.</given-names>
</name>
<name>
<surname>Ladin</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>J. Y.</given-names>
</name>
<name>
<surname>Goldberger</surname>
<given-names>A. L.</given-names>
</name>
</person-group> (<year>1996</year>). <article-title>Fractal dynamics of human gait: stability of long-range correlations in stride interval fluctuations</article-title>. <source>J. Appl. Physiol.</source> <volume>80</volume>, <fpage>1448</fpage>&#x2013;<lpage>1457</lpage>. <pub-id pub-id-type="doi">10.1152/jappl.1996.80.5.1448</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hosking</surname>
<given-names>J. R. M.</given-names>
</name>
</person-group> (<year>1981</year>). <article-title>Fractional differencing</article-title>. <source>Biometrika</source> <volume>68</volume>, <fpage>165</fpage>&#x2013;<lpage>176</lpage>. <pub-id pub-id-type="doi">10.1093/biomet/68.1.165</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ihlen</surname>
<given-names>E. A. F.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Introduction to multifractal detrended fluctuation analysis in Matlab</article-title>. <source>Front. Physiol.</source> <volume>3</volume>, <fpage>141</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2012.00141</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ivanov</surname>
<given-names>P. C.</given-names>
</name>
<name>
<surname>Rosenblum</surname>
<given-names>M. G.</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>C.-K.</given-names>
</name>
<name>
<surname>Mietus</surname>
<given-names>J. E.</given-names>
</name>
<name>
<surname>Havlin</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Stanley</surname>
<given-names>H. E.</given-names>
</name>
<etal/>
</person-group> (<year>1998</year>). <article-title>Scaling and universality in heart rate variability distributions</article-title>. <source>Phys. Stat. Mech. Its Appl.</source> <volume>249</volume>, <fpage>587</fpage>&#x2013;<lpage>593</lpage>. <pub-id pub-id-type="doi">10.1016/S0378-4371(97)00522-0</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jennane</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Harba</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Jacquet</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>M&#xe9;thodes d&#x2019;analyse du mouvement brownien fractionnaire: th&#xe9;orie et r&#xe9;sultats comparatifs</article-title>. <source>Trait. Signal</source> <volume>18</volume>, <fpage>419</fpage>&#x2013;<lpage>436</lpage>.</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kello</surname>
<given-names>C. T.</given-names>
</name>
<name>
<surname>Beltz</surname>
<given-names>B. C.</given-names>
</name>
<name>
<surname>Holden</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Van Orden</surname>
<given-names>G. C.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>The emergent coordination of cognitive function</article-title>. <source>J. Exp. Psychol. Gen.</source> <volume>136</volume>, <fpage>551</fpage>&#x2013;<lpage>568</lpage>. <pub-id pub-id-type="doi">10.1037/0096-3445.136.4.551</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Lim</surname>
<given-names>S. C.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>A rigorous derivation of power spectrum of fractional Gaussian noise</article-title>. <source>Fluct. Noise Lett.</source> <volume>06</volume>, <fpage>C33</fpage>&#x2013;<lpage>C36</lpage>. <comment>&#x2013;C36</comment>. <pub-id pub-id-type="doi">10.1142/S0219477506003604</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mandelbrot</surname>
<given-names>B. B.</given-names>
</name>
<name>
<surname>Van Ness</surname>
<given-names>J. W.</given-names>
</name>
</person-group> (<year>1968</year>). <article-title>Fractional brownian motions, fractional noises and applications</article-title>. <source>SIAM Rev.</source> <volume>10</volume>, <fpage>422</fpage>&#x2013;<lpage>437</lpage>. <pub-id pub-id-type="doi">10.1137/1010093</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moon</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Sung</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>An</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Hernandez</surname>
<given-names>M. E.</given-names>
</name>
<name>
<surname>Sosnoff</surname>
<given-names>J. J.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Gait variability in people with neurological disorders: a systematic review and meta-analysis</article-title>. <source>Hum. Mov. Sci.</source> <volume>47</volume>, <fpage>197</fpage>&#x2013;<lpage>208</lpage>. <pub-id pub-id-type="doi">10.1016/j.humov.2016.03.010</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Peng</surname>
<given-names>C.-K.</given-names>
</name>
<name>
<surname>Buldyrev</surname>
<given-names>S. V.</given-names>
</name>
<name>
<surname>Havlin</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Simons</surname>
<given-names>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>
</person-group> (<year>1994</year>). <article-title>Mosaic organization of DNA nucleotides</article-title>. <source>Phys. Rev. E</source> <volume>49</volume>, <fpage>1685</fpage>&#x2013;<lpage>1689</lpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.49.1685</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Peng</surname>
<given-names>C. K.</given-names>
</name>
<name>
<surname>Havlin</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 heartbeat time series</article-title>. <source>Chaos Woodbury N.</source> <volume>5</volume>, <fpage>82</fpage>&#x2013;<lpage>87</lpage>. <pub-id pub-id-type="doi">10.1063/1.166141</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Phinyomark</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Larracy</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Scheme</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Fractal analysis of human gait variability via stride interval time series</article-title>. <source>Front. Physiol.</source> <volume>11</volume>, <fpage>333</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2020.00333</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Roume</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ezzina</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Blain</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Biases in the simulation and analysis of fractal processes</article-title>. <source>Comput. Math. Methods Med.</source> <volume>2019</volume>, <fpage>4025305</fpage>&#x2013;<lpage>4025312</lpage>. <pub-id pub-id-type="doi">10.1155/2019/4025305</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Torre</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Deligni&#xe8;res</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Distinct ways of timing movements in bimanual coordination tasks: contribution of serial correlation analysis and implications for modeling</article-title>. <source>Acta Psychol. (Amst.)</source> <volume>129</volume>, <fpage>284</fpage>&#x2013;<lpage>296</lpage>. <pub-id pub-id-type="doi">10.1016/j.actpsy.2008.08.003</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vaz</surname>
<given-names>J. R.</given-names>
</name>
<name>
<surname>Knarr</surname>
<given-names>B. A.</given-names>
</name>
<name>
<surname>Stergiou</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Gait complexity is acutely restored in older adults when walking to a fractal-like visual stimulus</article-title>. <source>Hum. Mov. Sci.</source> <volume>74</volume>, <fpage>102677</fpage>. <pub-id pub-id-type="doi">10.1016/j.humov.2020.102677</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>