LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
hurst_estimate.m
1function H = hurst_estimate(sequence,method,isplot,opt)
2%
3% 'hurst_estimate' estimate the hurst parameter of a given sequence with
4% an appointed method. The algorithms of the methods can be found in
5% Murad's Taqqu, Vadim Teverovsky and Walter Willinger's paper
6% "Estimators for long-range dependence: an empirical study" or other
7% related papers.
8% Inputs:
9% sequence: the input sequence for estimate
10% method: the name of a function which used to estimate the hurst
11% parameter of the sequence,e.g.
12% 'aggvar': use aggvar function to estimate.
13% 'RS': use RS function to estimate.
14% 'per': use per function to estimate.
15% isplot: whether display the plot. without a plot if isplot equal to 0
16% opt: a optional parameter for some methods
17% Outputs:
18% H: the estimated hurst coeffeient of the input sequence
19% Examples:
20% H = hurst_estimate('peng',sequence,1);
21%
22
23% Author: Chu Chen
24% Version 1.0, 03/10/2008
25% chen-chu@163.com
26%
27
28if nargin == 2
29 isplot = 0;
30 H = feval(method,sequence,isplot);
31elseif nargin == 3
32 H = feval(method,sequence,isplot);
33elseif nargin == 4
34 H = feval(method,sequence,isplot,opt);
35end