Estimates long memory parameters beta (ACVF decay exponent), alpha (Equivalent PPL model spectral density exponent), and H (Equivalent Hurst parameter) by linear regression of scaled asinh of ACVF versus log(lag) over intermediate lag values.
hurstACVF(x, Ascale=1000, lag.min=1, lag.max=64)
a vector containing a uniformly-sampled real-valued time series.
scale factor for use in the scaled asinh plot. Default: 1000
.
maximum lag for use in linear regression. Default: 64
.
minimum lag for use in linear regression. Default: 1
.
a list with three components:
decay exponent of autocovariance function
spectral density exponent of equivalent PPL model
Hurst exponent for equivalent ACVF decay rate
Evaluates autocovariance function (ACVF) of input time series by call to S-Plus
function acf
. Constructs sequence asinh(Ascale * ACVF) / asinh(Ascale)
and does linear regression (via S-Plus function "lsfit") of this sequence
versus log(lag) from lag.min
to lag.max
. Draws a plot of the sequence and
the fit line. Recommended usage: look at resulting plot. Is the intermediate
range approximately linear? If plot is too flat, decrease Ascale. If it
decreases to zero too quickly, increase Ascale. Values of Ascale from 10
to \(10^6\) have been found useful. If lag.min
and lag.max
do not bound the range where the sequence is
approximately linear then change them and rerun the function to produce a better fit.
A. G. Gibbs and D. B. Percival, Forthcoming paper on the autocovariance of the PPL (pure power law) model. A section of the paper discusses the usefulness of scaled asinh plots.
# NOT RUN {
hurstACVF(wmtsa::nile, Ascale=1000000, lag.min=3, lag.max=68)
# }
Run the code above in your browser using DataLab