http://www.bearcave.com/misl/misl_tech/wavelets/hurst/index.html
http://fly.isti.cnr.it/software/
http://www.ms.unimelb.edu.au/~odj/
http://www.cubinlab.ee.unimelb.edu.au/~darryl/secondorder_code.html
===========================================================
This is an implementation of the Hurst exponent calculation that is smaller, simpler, and
quicker than most others. It does a dispersional analysis on the data and then uses Matlab's
polyfit to estimate the Hurst exponent. It comes with a test driver that you can delete.
% The Hurst exponent
%--------------------------------------------------------------------
------
% The first 20 lines of code are a small test driver.
% You can delete or comment out this part when you are done validating
the
% function to your satisfaction.
%
% Bill Davidson, quellen@yahoo.com
% 13 Nov 2005
function []=hurst_exponent()
disp('testing Hurst calculation');
n=100;
data=rand(1,n);
plot(data);
hurst=estimate_hurst_exponent(data);
[s,err]=sprintf('Hurst exponent = %.2f',hurst);disp(s);
%--------------------------------------------------------------------
------
% This function does dispersional analysis on a data series, then does
a
% Matlab polyfit to a log-log plot to estimate the Hurst exponent of the
% series.
%
% This algorithm is far faster than a full-blown implementation of Hurst's
% algorithm. I got the idea from a 2000 PhD dissertation by Hendrik J
% Blok, and I make no guarantees whatsoever about the rigor of this
approach
% or the accuracy of results. Use it at your own risk.
%
评论0