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, 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 by Benoît Mandelbrot. 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 both that a high value in the series will probably be followed by another high value and that the values a long time into the future will also tend to be high. 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. A value of H=0.5 can indicate a completely uncorrelated series, but in fact it is the value applicable to series for which the autocorrelations at small time lags can be positive or negative but where the absolute values of the autocorrelations decay exponentially quickly to zero. This in contrast to the typically power law decay for the 0.5 < H < 1 and 0 < H < 0.5 cases.
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;where;
- is the range of the first cumulative deviations from the mean, and is their standard deviation
- is the expected value
- is the time span of the observation
- is a constant.
Relation to Fractal Dimension
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 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 shorter time series of length n = N, N/2, N/4,... The average rescaled range is then calculated for each value of n.For a time series of length,, the rescaled range is calculated as follows:
1. Calculate the mean;
2. Create a mean-adjusted series;
3. Calculate the cumulative deviate series ;
4. Compute the range ;
5. Compute the standard deviation ;
6. Calculate the rescaled range and average over all the partial time series of length
The Hurst exponent is estimated by fitting the power law to the data. This can be done by plotting as a function of, and fitting a straight line; the slope of the line gives . Such a graph is called a box plot. However, this approach is known to produce biased estimates of the power-law exponent. For small there is a significant deviation from the 0.5 slope. Anis and Lloyd estimated the theoretical values of the R/S statistic to be:
where is the Euler gamma function. The Anis-Lloyd corrected R/S Hurst exponent is calculated as 0.5 plus the slope of.
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:Level | Lower bound | Upper bound |
90% | 0.5 − exp | exp + 0.5 |
95% | 0.5 − exp | exp + 0.5 |
99% | 0.5 − exp | exp + 0.5 |
and for DFA:
Level | Lower bound | Upper bound |
90% | 0.5 − exp | exp + 0.5 |
95% | 0.5 − exp | exp + 0.5 |
99% | 0.5 − exp | exp + 0.5 |
Here and is the series length. In both cases only subseries of length 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. 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:
for a time series
may be defined by the scaling properties of its structure functions Sq:
where q > 0, is the time lag and averaging is over the time window
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 contains information about averaged generalized volatilities at scale . In particular, the H1 exponent indicates persistent or antipersistent behavior of the trend.
For the BRW one gets
and for pink noise
The Hurst exponent for white noise is dimension dependent, and for 1D and 2D it is
For the popular Lévy stable processes and truncated Lévy processes with parameter α it has been found that
Multifractal detrended fluctuation analysis is one method to estimate from non-stationary time series.
When 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: stationarity of the increments, x-x=x-x in distribution. This is the condition that yields longtime autocorrelations. Self-similarity of the stochastic process then yields variance scaling, but is not needed for longtime memory. E.g., both Markov processes and fractional Brownian motion scale at the level of 1-point densities, 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-x≠x-x. 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.
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