mfdfa | R Documentation |
Performs the multifractal detrended fluctuation analysis upon a time-series x
. Allows the improvement of overlapping windows.
mfdfa(x, scale=NA, q=-5:5, m=1, overlap=FALSE)
x |
a numeric vector containing the values of the time-series. |
scale |
an integer vector containing the time scales. It is recommended to use a log-equally spaced sequence for |
q |
a numeric vector containing values of moment orders. |
m |
an integer representing the polynomial order of detrending, |
overlap |
a boolean indicating if using overlapping windows or not. If set to |
The algorithm allows a basic but also improved (overlapping windows) estimation of a time-series' multi-scaling characteristica.
It comes with the methods plot()
and print()
to easily visualize/access the multifractal spectra and statistics. The function significance()
allows to easily test the significance of multifractality.
Returns an object of class multifractal
containg multifractal statistics and more.
Wolfgang Schadner
Kantelhardt, J. W., Zschiegner, S. A., Koscielny-Bunde, E., Havlin, S., Bunde, A., & Stanley, H. E. (2002). Multifractal detrended fluctuation analysis of nonstationary time series. Physica A: Statistical Mechanics and its Applications, 316(1-4), 87-114.
significance
n <- 1024 # random t-distributed variable: x <- rt(n, 3) mdl <- mfdfa(x, overlap=T) plot(mdl) significance(mdl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.