blob: 27507fb408edcd52f2e0bde7c46d1023dc432e23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
function y = hurst(x)
// Estimate the Hurst parameter of sample X via the rescaled r statistic.
//Calling Sequence
//hurst(X)
//variable=hurst(X)
//Parameters
//X: X is a matrix, the parameter of sample X via the rescaled r statistic
//Description
//This is an Octave function.
//This function estimates the Hurst parameter of sample X via the rescaled rstatistic.
funcprot(0);
rhs= argn(2);
if(rhs<1 | rhs>1)
error("Wrong number of input arguments");
end
select(rhs)
case 1 then
y= callOctave("hurst", x);
end
endfunction
|