The rescaled range is a
statistical
Statistics (from German: '' Statistik'', "description of a state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a scientific, industr ...
measure of the variability of a time series introduced by the British hydrologist
Harold Edwin Hurst (1880–1978). Its purpose is to provide an assessment of how the apparent variability of a series changes with the length of the time-period being considered.
The rescaled range of
time series
In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. E ...
is calculated from dividing the
range of its mean adjusted cumulative deviate series (see the Calculation section below) by the
standard deviation of the time series itself. For example, consider a time series , which has a mean m = 2 and standard deviation S = 1.79. Subtracting m from each value of the series gives mean adjusted series . To calculate cumulative deviate series we take the first value -1, then sum of the first two values -1+1=0, then sum of the first three values and so on to get , range of which is R = 3, so the rescaled range is R/S = 1.68.
If we consider the same time series, but increase the number of observations of it, the rescaled range will generally also increase. The increase of the rescaled range can be characterized by making a plot of the logarithm of R/S vs. the logarithm of the number of samples. The
slope
In mathematics, the slope or gradient of a line is a number that describes both the ''direction'' and the ''steepness'' of the line. Slope is often denoted by the letter ''m''; there is no clear answer to the question why the letter ''m'' is used ...
of this line gives the
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 expone ...
, H. If the time series is generated by a
random walk
In mathematics, a random walk is a random process that describes a path that consists of a succession of random steps on some mathematical space.
An elementary example of a random walk is the random walk on the integer number line \mathbb ...
(or a
Brownian motion
Brownian motion, or pedesis (from grc, πήδησις "leaping"), is the random motion of particles suspended in a medium (a liquid or a gas).
This pattern of motion typically consists of random fluctuations in a particle's position insi ...
process) it has the value of H =1/2. Many physical phenomena that have a long time series suitable for analysis exhibit a Hurst exponent greater than 1/2. For example, observations of the height of the
Nile River
The Nile, , Bohairic , lg, Kiira , Nobiin: Áman Dawū is a major north-flowing river in northeastern Africa. It flows into the Mediterranean Sea. The Nile is the longest river in Africa and has historically been considered the longest ri ...
measured annually over many years gives a value of H = 0.77.
Several researchers (including
Peters, 1991) have found that the prices of many
financial instruments
Financial instruments are monetary contracts between parties. They can be created, traded, modified and settled. They can be cash (currency), evidence of an ownership interest in an entity or a contractual right to receive or deliver in the form ...
(such as currency exchange rates, stock values, etc.) also have H > 1/2. This means that they have a behavior that is distinct from a random walk, and therefore the time series is not generated by a
stochastic process that has the nth value independent of all of the values before this. According to model
of
Fractional Brownian motion In probability theory, fractional Brownian motion (fBm), also called a fractal Brownian motion, is a generalization of Brownian motion. Unlike classical Brownian motion, the increments of fBm need not be independent. fBm is a continuous-time Gaus ...
this is referred to as
long memory of positive linear autocorrelation. However it has been shown
that this measure is correct only for linear evaluation: complex nonlinear processes with memory need additional descriptive parameters. Several studies using
Lo's
modified rescaled range statistic have contradicted Peters' results as well.
Calculation
:The Rescaled Range is calculated for a time series,
, as follows:
# Calculate the
mean
There are several kinds of mean in mathematics, especially in statistics. Each mean serves to summarize a given group of data, often to better understand the overall value ( magnitude and sign) of a given data set.
For a data set, the '' ari ...
#:
# Create a mean adjusted series
#:
# Calculate the cumulative deviate series Z;
#:
# Create a range series R;
#:
# Create a
standard deviation series S;
#:
#:Where ''m(t)'' is the mean for the time series values through time
# Calculate the rescaled range series (R/S)
#:
Lo (1991) advocates adjusting the standard deviation
for the expected increase in range
resulting from short-range
autocorrelation
Autocorrelation, sometimes known as serial correlation in the discrete time case, is the correlation of a signal with a delayed copy of itself as a function of delay. Informally, it is the similarity between observations of a random variable ...
in the time series.
[ This involves replacing by , which is the square root of
where is some maximum lag over which short-range autocorrelation might be substantial and is the sample ]autocovariance
In probability theory and statistics, given a stochastic process, the autocovariance is a function that gives the covariance of the process with itself at pairs of time points. Autocovariance is closely related to the autocorrelation of the proce ...
at lag . Using this adjusted rescaled range, he concludes that stock market return time series show no evidence of long-range memory.
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 in Python: https://github.com/Mottl/hurst
See also
*Fractal
In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as il ...
*Fractional Brownian motion In probability theory, fractional Brownian motion (fBm), also called a fractal Brownian motion, is a generalization of Brownian motion. Unlike classical Brownian motion, the increments of fBm need not be independent. fBm is a continuous-time Gaus ...
* Fat tail
References
Further reading
*
*
*
{{refend
Statistical deviation and dispersion
Independence (probability theory)
Autocorrelation
Statistical ratios