Hurst Exponent of Stock Price
Hurst Exponent of Stock Price
The Hurst exponent is used as a measure of long-term memory of a time series[1]. If , there is white noise (i.e. there is no memory for the time series or, more technically, the random walk). The larger the value of , the more the time series has some type of memory.
H
H=0.5
H
This Demonstration uses a rescale range[2] to calculate the Hurst exponent of a stock price to show how days of earnings tend to have long-term memory. The larger the value of , the higher the exponent tends to be.
n≥1
n
The parameter gathers days' accumulated earnings in the stock market. If we use to indicate the day's stock value, then days' accumulated earnings are -.
n
n
P
i
th
i
n
P
i+n-1
P
i
This Demonstration shows four graphs:
1. stock prices of the company
2. quantile plot of days' accumulated earnings
3. histogram of days' earnings
4. estimation of the Hurst exponent line
2. quantile plot of
n
3. histogram of
n
4. estimation of the Hurst exponent line
The coefficient of in the last graph should be the Hurst exponent value.
x
Details
Details
To calculate rescale range[2], calculate days' market returns with values ,,...,. The HurstR function calculates the range of the values (max-min). HurstS gives the standard deviation of the values. HurstRS is the range divided by the standard deviation.
n
V
1
V
2
V
n
For the whole sequence ,,...,, we can calculate a HurstRS value of the whole range, and we do the same by splitting the sequence into two parts ,,..., and ,,...,to calculate the HurstRS of the two ranges and average them. Then we repeat iteratively for four parts, eight parts, etc. until the range is small enough.
V
1
V
2
V
n
V
1
V
2
V
n/2
V
n/2+1
V
n/2+2
V
n
When we get all the HurstRS values of different range scales, we can plot them on a log-log plot of the range sizes and their HurstRS values, then do a linear model fit to the data, so that the slope of the line is the estimated Hurst exponent of the data.
References
References
Permanent Citation
Permanent Citation
Yushi Wang
"Hurst Exponent of Stock Price"
http://demonstrations.wolfram.com/HurstExponentOfStockPrice/
Wolfram Demonstrations Project
Published: January 7, 2016