Description Usage Arguments Details Value Author(s) References See Also Examples
Create surrogate time series with the same short-term time correlation and overall temporal pattern as the original time series using the Markov process described by Cazelles and Stones (2003)
1 |
ts |
time series in matrix format ( |
distr.ts |
binning of time series values. This parameter must be specified
if |
trans.ts |
transition matrix from bin i to bin j. Default is |
nbreaks |
number of bins to use to group the time series values. Default is |
The values of the time series x_n are grouped into nbreak
equally-sized bins.
The transition matrix M_{ij} describing the probability of x_{n+1} belonging to
bin j based on x_n belonging to bin i is defined using the relative
frequencies of the data such that:
M_{ij}=Pr(x_{n+1} \in b_{j} | x_{n} \in b_{i}). The surrogate time series is then constructed
by randomly selecting a starting value and randomly selecting the next value from the proper bin
based on the transition matrix. This process is repeated until the surrogate time series has
the same length as the original time series.
Returns a named list containing:
surr.ts |
surrogate time series in matrix format |
trans |
transition matrix M_{ij} |
distr |
binning of time series values |
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Cazelles, B., and L. Stone. 2003. Detection of imperfect population synchrony in an uncertain world. Journal of Animal Ecology 72:953-968.
1 2 3 4 |
synchrony 0.3.7 loaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.