- Source: Hurst exponent
The Hurst exponent is used as a measure of long-term memory of time series. It relates to the autocorrelations of the time series, and the rate at which these decrease as the lag between pairs of values increases. Studies involving the Hurst exponent were originally developed in hydrology for the practical matter of determining optimum dam sizing for the Nile river's volatile rain and drought conditions that had been observed over a long period of time. The name "Hurst exponent", or "Hurst coefficient", derives from Harold Edwin Hurst (1880–1978), who was the lead researcher in these studies; the use of the standard notation H for the coefficient also relates to his name.
In fractal geometry, the generalized Hurst exponent has been denoted by H or Hq in honor of both Harold Edwin Hurst and Ludwig Otto Hölder (1859–1937) by Benoît Mandelbrot (1924–2010). H is directly related to fractal dimension, D, and is a measure of a data series' "mild" or "wild" randomness.
The Hurst exponent is referred to as the "index of dependence" or "index of long-range dependence". It quantifies the relative tendency of a time series either to regress strongly to the mean or to cluster in a direction. A value H in the range 0.5–1 indicates a time series with long-term positive autocorrelation, meaning that the decay in autocorrelation is slower than exponential, following a power law; for the series it means that a high value tends to be followed by another high value and that future excursions to more high values do occur. A value in the range 0 – 0.5 indicates a time series with long-term switching between high and low values in adjacent pairs, meaning that a single high value will probably be followed by a low value and that the value after that will tend to be high, with this tendency to switch between high and low values lasting a long time into the future, also following a power law. A value of H=0.5 indicates short-memory, with (absolute) autocorrelations decaying exponentially quickly to zero.
Definition
The Hurst exponent, H, is defined in terms of the asymptotic behaviour of the rescaled range as a function of the time span of a time series as follows;
E
[
R
(
n
)
S
(
n
)
]
=
C
n
H
as
n
→
∞
,
{\displaystyle \mathbb {E} \left[{\frac {R(n)}{S(n)}}\right]=Cn^{H}{\text{ as }}n\to \infty \,,}
where
R
(
n
)
{\displaystyle R(n)}
is the range of the first
n
{\displaystyle n}
cumulative deviations from the mean
S
(
n
)
{\displaystyle S(n)}
is the series (sum) of the first n standard deviations
E
[
x
]
{\displaystyle \mathbb {E} \left[x\right]\,}
is the expected value
n
{\displaystyle n}
is the time span of the observation (number of data points in a time series)
C
{\displaystyle C}
is a constant.
Relation to Fractal Dimension
For self-similar time series,
H is directly related to fractal dimension, D, where 1 < D < 2, such that D = 2 - H. The values of the Hurst exponent vary between 0 and 1, with higher values indicating a smoother trend, less volatility, and less roughness.
For more general time series or multi-dimensional process, the Hurst exponent and fractal dimension can be chosen independently, as the Hurst exponent represents structure over asymptotically longer periods, while fractal dimension represents structure over asymptotically shorter periods.
Estimating the exponent
A number of estimators of long-range dependence have been proposed in the literature. The oldest and best-known is the so-called rescaled range (R/S) analysis popularized by Mandelbrot and Wallis and based on previous hydrological findings of Hurst. Alternatives include DFA, Periodogram regression, aggregated variances, local Whittle's estimator, wavelet analysis, both in the time domain and frequency domain.
= Rescaled range (R/S) analysis
=To estimate the Hurst exponent, one must first estimate the dependence of the rescaled range on the time span n of observation. A time series of full length N is divided into a number of nonoverlapping shorter time series of length n, where n takes values N, N/2, N/4, ... (in the convenient case that N is a power of 2). The average rescaled range is then calculated for each value of n.
For each such time series of length
n
{\displaystyle n}
,
X
=
X
1
,
X
2
,
…
,
X
n
{\displaystyle X=X_{1},X_{2},\dots ,X_{n}\,}
, the rescaled range is calculated as follows:
Calculate the mean;
m
=
1
n
∑
i
=
1
n
X
i
.
{\displaystyle m={\frac {1}{n}}\sum _{i=1}^{n}X_{i}\,.}
Create a mean-adjusted series;
Y
t
=
X
t
−
m
for
t
=
1
,
2
,
…
,
n
.
{\displaystyle Y_{t}=X_{t}-m\quad {\text{ for }}t=1,2,\dots ,n\,.}
Calculate the cumulative deviate series
Z
{\displaystyle Z}
;
Z
t
=
∑
i
=
1
t
Y
i
for
t
=
1
,
2
,
…
,
n
.
{\displaystyle Z_{t}=\sum _{i=1}^{t}Y_{i}\quad {\text{ for }}t=1,2,\dots ,n\,.}
Compute the range
R
{\displaystyle R}
;
R
(
n
)
=
max
(
Z
1
,
Z
2
,
…
,
Z
n
)
−
min
(
Z
1
,
Z
2
,
…
,
Z
n
)
.
{\displaystyle R(n)=\operatorname {max} \left(Z_{1},Z_{2},\dots ,Z_{n}\right)-\operatorname {min} \left(Z_{1},Z_{2},\dots ,Z_{n}\right).}
Compute the standard deviation
S
{\displaystyle S}
;
S
(
n
)
=
1
n
∑
i
=
1
n
(
X
i
−
m
)
2
.
{\displaystyle S(n)={\sqrt {{\frac {1}{n}}\sum _{i=1}^{n}\left(X_{i}-m\right)^{2}}}.}
Calculate the rescaled range
R
(
n
)
/
S
(
n
)
{\displaystyle R(n)/S(n)}
and average over all the partial time series of length
n
.
{\displaystyle n.}
The Hurst exponent is estimated by fitting the power law
E
[
R
(
n
)
/
S
(
n
)
]
=
C
n
H
{\displaystyle \mathbb {E} [R(n)/S(n)]=Cn^{H}}
to the data. This can be done by plotting
log
[
R
(
n
)
/
S
(
n
)
]
{\displaystyle \log[R(n)/S(n)]}
as a function of
log
n
{\displaystyle \log n}
, and fitting a straight line; the slope of the line gives
H
{\displaystyle H}
. A more principled approach would be to fit the power law in a maximum-likelihood fashion. Such a graph is called a box plot. However, this approach is known to produce biased estimates of the power-law exponent. For small
n
{\displaystyle n}
there is a significant deviation from the 0.5 slope. Anis and Lloyd estimated the theoretical (i.e., for white noise) values of the R/S statistic to be:
E
[
R
(
n
)
/
S
(
n
)
]
=
{
Γ
(
n
−
1
2
)
π
Γ
(
n
2
)
∑
i
=
1
n
−
1
n
−
i
i
,
for
n
≤
340
1
n
π
2
∑
i
=
1
n
−
1
n
−
i
i
,
for
n
>
340
{\displaystyle \mathbb {E} [R(n)/S(n)]={\begin{cases}{\frac {\Gamma ({\frac {n-1}{2}})}{{\sqrt {\pi }}\Gamma ({\frac {n}{2}})}}\sum \limits _{i=1}^{n-1}{\sqrt {\frac {n-i}{i}}},&{\text{for }}n\leq 340\\{\frac {1}{\sqrt {n{\frac {\pi }{2}}}}}\sum \limits _{i=1}^{n-1}{\sqrt {\frac {n-i}{i}}},&{\text{for }}n>340\end{cases}}}
where
Γ
{\displaystyle \Gamma }
is the Euler gamma function. The Anis-Lloyd corrected R/S Hurst exponent is calculated as 0.5 plus the slope of
R
(
n
)
/
S
(
n
)
−
E
[
R
(
n
)
/
S
(
n
)
]
{\displaystyle R(n)/S(n)-\mathbb {E} [R(n)/S(n)]}
.
= Confidence intervals
=No asymptotic distribution theory has been derived for most of the Hurst exponent estimators so far. However, Weron used bootstrapping to obtain approximate functional forms for confidence intervals of the two most popular methods, i.e., for the Anis-Lloyd corrected R/S analysis:
and for DFA:
Here
M
=
log
2
N
{\displaystyle M=\log _{2}N}
and
N
{\displaystyle N}
is the series length. In both cases only subseries of length
n
>
50
{\displaystyle n>50}
were considered for estimating the Hurst exponent; subseries of smaller length lead to a high variance of the R/S estimates.
Generalized exponent
The basic Hurst exponent can be related to the expected size of changes, as a function of the lag between observations, as measured by E(|Xt+τ−Xt|2). For the generalized form of the coefficient, the exponent here is replaced by a more general term, denoted by q.
There are a variety of techniques that exist for estimating H, however assessing the accuracy of the estimation can be a complicated issue. Mathematically, in one technique, the Hurst exponent can be estimated such that:
H
q
=
H
(
q
)
,
{\displaystyle H_{q}=H(q),}
for a time series
g
(
t
)
,
t
=
1
,
2
,
…
{\displaystyle g(t),t=1,2,\dots }
may be defined by the scaling properties of its structure functions
S
q
{\displaystyle S_{q}}
(
τ
{\displaystyle \tau }
):
S
q
=
⟨
|
g
(
t
+
τ
)
−
g
(
t
)
|
q
⟩
t
∼
τ
q
H
(
q
)
,
{\displaystyle S_{q}=\left\langle \left|g(t+\tau )-g(t)\right|^{q}\right\rangle _{t}\sim \tau ^{qH(q)},}
where
q
>
0
{\displaystyle q>0}
,
τ
{\displaystyle \tau }
is the time lag and averaging is over the time window
t
≫
τ
,
{\displaystyle t\gg \tau ,}
usually the largest time scale of the system.
Practically, in nature, there is no limit to time, and thus H is non-deterministic as it may only be estimated based on the observed data; e.g., the most dramatic daily move upwards ever seen in a stock market index can always be exceeded during some subsequent day.
In the above mathematical estimation technique, the function H(q) contains information about averaged generalized volatilities at scale
τ
{\displaystyle \tau }
(only q = 1, 2 are used to define the volatility). In particular, the H1 exponent indicates persistent (H1 > 1⁄2) or antipersistent (H1 < 1⁄2) behavior of the trend.
For the BRW (brown noise,
1
/
f
2
{\displaystyle 1/f^{2}}
) one gets
H
q
=
1
2
,
{\displaystyle H_{q}={\frac {1}{2}},}
and for pink noise (
1
/
f
{\displaystyle 1/f}
)
H
q
=
0.
{\displaystyle H_{q}=0.}
The Hurst exponent for white noise is dimension dependent, and for 1D and 2D it is
H
q
1
D
=
1
2
,
H
q
2
D
=
−
1.
{\displaystyle H_{q}^{1D}={\frac {1}{2}},\quad H_{q}^{2D}=-1.}
For the popular Lévy stable processes and truncated Lévy processes with parameter α it has been found that
H
q
=
q
/
α
,
{\displaystyle H_{q}=q/\alpha ,}
for
q
<
α
{\displaystyle q<\alpha }
, and
H
q
=
1
{\displaystyle H_{q}=1}
for
q
≥
α
{\displaystyle q\geq \alpha }
.
Multifractal detrended fluctuation analysis is one method to estimate
H
(
q
)
{\displaystyle H(q)}
from non-stationary time series.
When
H
(
q
)
{\displaystyle H(q)}
is a non-linear function of q the time series is a multifractal system.
= Note
=In the above definition two separate requirements are mixed together as if they would be one. Here are the two independent requirements: (i) stationarity of the increments, x(t+T) − x(t) = x(T) − x(0) in distribution. This is the condition that yields longtime autocorrelations. (ii) Self-similarity of the stochastic process then yields variance scaling, but is not needed for longtime memory. E.g., both Markov processes (i.e., memory-free processes) and fractional Brownian motion scale at the level of 1-point densities (simple averages), but neither scales at the level of pair correlations or, correspondingly, the 2-point probability density.
An efficient market requires a martingale condition, and unless the variance is linear in the time this produces nonstationary increments, x(t+T) − x(t) ≠ x(T) − x(0). Martingales are Markovian at the level of pair correlations, meaning that pair correlations cannot be used to beat a martingale market. Stationary increments with nonlinear variance, on the other hand, induce the longtime pair memory of fractional Brownian motion that would make the market beatable at the level of pair correlations. Such a market would necessarily be far from "efficient".
An analysis of economic time series by means of the Hurst exponent using rescaled range and Detrended fluctuation analysis is conducted by econophysicist A.F. Bariviera. This paper studies the time varying character of Long-range dependency and, thus of informational efficiency.
Hurst exponent has also been applied to the investigation of long-range dependency in DNA, and photonic band gap materials.
See also
Long-range dependency
Anomalous diffusion
Rescaled range
Detrended fluctuation analysis
Implementations
Matlab code for computing R/S, DFA, periodogram regression and wavelet estimates of the Hurst exponent and their corresponding confidence intervals is available from RePEc: https://ideas.repec.org/s/wuu/hscode.html
Implementation of R/S in Python: https://github.com/Mottl/hurst and of DFA and MFDFA in Python: https://github.com/LRydin/MFDFA
Matlab code for computing real Hurst and complex Hurst: https://www.mathworks.com/matlabcentral/fileexchange/49803-calculate-complex-hurst
Excel sheet can also be used to do so: https://www.researchgate.net/publication/272792633_Excel_Hurst_Calculator
References
Kata Kunci Pencarian:
- Hurst exponent
- Hurst
- Detrended fluctuation analysis
- Long-range dependence
- Fractional Brownian motion
- DFA
- Harold Edwin Hurst
- Rescaled range
- Pink noise
- Jackson Pollock