Reconstructs a scalar time series into a delay-embedded phase space
\(Y(i) = [x_i, x_{i+\tau}, \dots, x_{i+(m-1)\tau}]\). When delay is NULL
it is chosen at the first local minimum of the average mutual information
(AMI); when dim is NULL it is chosen where the fraction of false nearest
neighbours (FNN) first drops below fnn_threshold.
Usage
timeDelayEmbed(
x,
delay = NULL,
dim = NULL,
max_delay = 50L,
max_dim = 10L,
n_bins = 16L,
fnn_threshold = 0.01
)Arguments
- x
Numeric time series.
- delay
Embedding delay in samples;
NULLto estimate via AMI.- dim
Embedding dimension;
NULLto estimate via FNN.- max_delay
Maximum delay searched for the AMI minimum.
- max_dim
Maximum embedding dimension searched for FNN.
- n_bins
Histogram bins for the AMI estimate.
- fnn_threshold
FNN fraction below which the dimension is accepted.
Value
A time_delay_embedding list with embedded (matrix, points x dim),
delay, dim, ami (if estimated) and fnn (if estimated).