Convert observed time series to state vectors
returns the reconstructed phase space XR
= phaseSpaceReconstruction(X
,lag
,dim
)XR
of the uniformly
sampled time-domain signal X
with time delay
lag
and embedding dimension dim
as
inputs.
Use phaseSpaceReconstruction
to verify the system order and
reconstruct all dynamic system variables, while preserving system properties.
Reconstructing the phase space is useful when limited data is available, or when
the phase space dimension and lag is unknown. The nonlinear features approximateEntropy
, correlationDimension
, and lyapunovExponent
use phaseSpaceReconstruction
as the first step of the computation.
[___] = phaseSpaceReconstruction(___,
returns the reconstructed phase space Name,Value
)XR
with additional
options specified by one or more Name,Value
pair
arguments.
phaseSpaceReconstruction(___)
with no output
arguments creates a matrix of sub-axes of the reconstructed phase space with
histogram plots along the diagonal.
Phase Space Reconstruction
For a uniformly sampled univariate time signal , phaseSpaceReconstruction
computes the delayed
reconstruction
where, N is the length of the time series, τ1 is the lag, and m1 is the embedding dimension for X1.
Similarly, for a multivariate time series X
given by,
phaseSpaceReconstruction
computes the
reconstruction for each time series as,
where S
is the number of measurements, and
N
is the length of the time series.
Delay Estimation
The delay for phase space reconstruction is estimated using Average Mutual Information (AMI). For reconstruction, the time delay is set to be the first local minimum of AMI.
Average Mutual Information is computed as,
where, N is the length of the time series and Τ = 1:MaxLag
.
Embedding Dimension Estimation
The embedding dimension for phase space reconstruction is estimated using False Nearest Neighbor (FNN) algorithm.
For a point i at dimension d, the points Xri and its nearest point Xr*i in the reconstructed phase space {Xri}, i = 1:N, are false neighbors if
where, is the distance metric.
The estimated embedding dimension d
is the smallest value
that satisfies the condition pfnn <
PercentFalseNeighbors
where, pfnn is the ratio of FNN points to total number of points in the
reconstructed phase space.
[1] Rhodes, Carl & Morari, Manfred. "False Nearest Neighbors Algorithm and Noise Corrupted Time Series." Physical Review. E. 55.10.1103/PhysRevE.55.6162.
[2] Kliková, B., and Aleš Raidl. "Reconstruction of phase space of dynamical systems using method of time delay." Proceedings of the 20th Annual Conference of Doctoral Students WDS 2011.
[3] I. Vlachos, D. Kugiumtzis, "State Space Reconstruction for Multivariate Time Series Prediction", Nonlinear Phenomena in Complex Systems, Vol 11, No 2, pp 241-249, 2008.
[4] Kantz, H., and Schreiber, T. Nonlinear Time Series Analysis. Cambridge: Cambridge University Press, Vol. 7, 2004.
approximateEntropy
| correlationDimension
| lyapunovExponent