The "dominant_eigenvalue" Maths Guide ===================================== In this chapter the main ideas of the methods and algorithms that are used in the ``eigval_tsa`` package are briefly summarized. Takens' embedding theorem -------------------------- Takens' theorem [Tak81]_ and its form generalized to noisy systems [Staetal97]_ is commonly used to investigate the complex dynamics of systems of which at least one time series is available. The theorem states that: .. epigraph:: Let M be a compact m dimensional manifold. If :math:`d \geq 2m+1`, then the set of :math:`(f_{\text{state}}, \varphi)` for which the map :math:`\Phi_{f_{\text{state}}, \varphi}(\xi)` is an embedding is open and dense in :math:`\mathcal{D}^r(M) \times \mathcal{C}^r(M,\mathbb{R})` for :math:`r\geq 1`, [Staetal97]_ with the system state :math:`\xi`, the measurement function :math:`\varphi : M \rightarrow \mathbb{R}` and the delay embedding map :math:`\Phi_{f_{\text{state}}, \varphi}: M \rightarrow \mathbb{R}^{\text{d}}` in the form :math:`\Phi_{f_{\text{state}}, \varphi}(\xi) = (\varphi (\xi), \varphi (f_{\text{state}}(\xi)), \varphi (f^2_{\text{state}}(\xi)), ..., \varphi (f^{(d-1)}_{\text{state}}(\xi)))`. An embedding is called an arbitrary map :math:`\Psi :M \rightarrow N` if it is diffeomorphic with respect to the manifolds :math:`M` and :math:`N`. The set of :math:`\mathcal{C}^r` diffeomorphisms of :math:`M` is denoted by :math:`\mathcal{D}^r(M)`. :math:`\mathcal{C}^r(M,\mathbb{R})` denotes the set of observation functions on :math:`M`. If the mathematical conditions of Takens' theorem are fulfilled, the mapped image :math:`\Psi (M)` is equivalent to :math:`M` itself and it is possible to define a map :math:`F_{\text{obs}} = \Psi \circ f_{\text{state}} \circ \Psi^{-1}` that will conserve all dynamical features of :math:`f_{\text{state}}` that are invariant under coordinate shifts. The important point is that the invariant features of :math:`F_{\text{obs}}` are accessible via the delay embedding variables .. math:: \vec{z}_{\text{n}} &= (\varphi (\xi_0), \varphi (f^{\text{n+1}}_{\text{state}}(\xi_0)), \varphi (f^{\text{n+2}}_{\text{state}}(\xi_0)), ..., \varphi (f^{\text{n+d-1}}_{\text{state}}(\xi_0))) \\ &= (\varphi (\xi_0), \varphi (f^1_{\text{state}}(\xi_{\text{n}})), \varphi (f^2_{\text{state}}(\xi_{\text{n}})), ..., \varphi (f^{\text{d-1}}_{\text{state}}(\xi_{\text{n}})). The map :math:`F_{\text{obs}}` gives the time evolution of the delay embedded variables: .. math:: F_{\text{obs}}(\vec{z}_{\text{n}}) &= \Phi \circ f_{\text{state}} \circ \Phi^{-1}(\vec{z}_{\text{n}}) = \Phi \circ f_{\text{state}} \circ \Phi^{-1}(\Phi (\xi_{\text{n}}) \\ &= \Phi \circ f_{\text{state}}(\xi_{\text{n}}) = \Phi (\xi_{\text{n+1}}) = \vec{z}_{\text{n+1}} . The following subsections give a short overview about to algorithm to choose a suitable embedding dimension and time delay to apply the delay embedding theorem. More detailed information about the Takens' embedding theorem can be found in [Hes18]_. The false nearest neighbour algorithm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In order to find a suitable time delay embedding dimension of a time series under consideration the false nearest neighbour algorithm is used as presented in [KS04]_ and [KBA92]_. The instructions of this chapter are used from [Hes18]_. Imagine a system of dimension :math:`m` that is tried to be embedded in an embedding space with the dimension :math:`d 1`. The formula can be expressed by time series values :math:`(x_n,y_n)` via the transformation :math:`\eta^{\text{x}}_{\text{n}} = x_{\text{n}} - x^*` and :math:`\eta^{\text{y}}_{\text{n}} =y_{\text{n}} -y^*` with .. math:: \vec{x}_{\text{n+1}} - \vec{x}^* &= J\vert_{(x^{\text{*}},y^{\text{*}})} \cdot (\vec{x}_{\text{n}} - \vec{x}^*) \\ \Leftrightarrow \vec{x}_{\text{n+1}} &= J\vert_{(x^{\text{*}},y^{\text{*}})} \cdot \vec{x}_{\text{n}} \underbrace{-J\vert_{(x^{\text{*}},y^{\text{*}})} \vec{x}^*+ \vec{x}^*}_{\vec{x}_{\text{offset}}} \\ \Leftrightarrow \vec{x}_{\text{n+1}} &= J\vert_{(x^{\text{*}},y^{\text{*}})} \cdot \vec{x}_{\text{n}} +\vec{x}_{\text{offset}} . This formula can be explicitly written as .. math:: \vec{z}_{\text{n+1}} &= \left( \begin{array}{c} x_{\text{n+1}} \\ x_{\text{n}} \end{array} \right) \\ &= \begin{pmatrix} j_1 & j_2 \\ 1 & 0 \end{pmatrix} \left( \begin{array}{c} x_{\text{n}} \\x_{\text{n-1}} \end{array} \right) + \left( \begin{array}{c} z_{\text{offset}} \\ 0 \end{array} \right) \\ &= J_{\text{embed}} \cdot \vec{z}_{\text{n}} +\vec{z}_{\text{offset}} with the two dimensional time delay embedding of a one dimensional time series. This formula is the numerical starting point for the implementation of the ``eigval_tsa.analysis.AR_EV_calc`` function. The coefficients :math:`c_1, c_2, ...` in the first row have to be estimated to get an expression for the Jacobian matrix :math:`J`. This estimation is done with an autoregression scheme in rolling windows. The scheme is briefly described in the following sub-section. More detailed information about the implementation of the eigenvalue estimation methods can be found in [Hes18]_. The autoregression scheme ^^^^^^^^^^^^^^^^^^^^^^^^^^ The basic assumption of an autoregression scheme is that successive time series values depend on their :math:`p` past values in a simple linear manner described by .. math:: x_{\text{n}} = \phi_1 x_{\text{n-1}} +\phi_2 x_{\text{n-2}} + ... +\phi_p x_{\text{n-p}} + a_{\text{n}} with an independent random shock :math:`a_{\text{n}}` for the n\textsuperscript{th} time step of a Gaussian white noise process and constant coefficients :math:`\phi_{1,2,...p}`. This can be written efficiently by .. math:: \phi_{\text{p}} (\textbf{B})x_{\text{n}} = a_{\text{n}} with the backshift operator .. math:: \textbf{B}x_{\text{n}} = x_{n-1} and the autoregressive operator .. math:: \phi (\textbf{B}) = 1-\phi_1 \mathbf{B}^1-\phi_2 \mathbf{B}^2-...-\phi_{\text{p}}\mathbf{B}^{\text{p}}. There are :math:`p+2` unknown parameters :math:`\phi_n, \mu` and :math:`\sigma` that have to be estimated via a least squares fit of the time series data. AR(:math:`p`) models are widely used for stationary and nonstationary processes. [Boxetal15]_. Bibliography ------------ .. [Tak81] Floris Takens. “Detecting strange attractors in turbulence”. In: Dynamical Systems and Turbulence, Warwick 1980. Ed. by David Rand and Lai-Sang Young. Berlin, Heidelberg: Springer Berlin Heidelberg, 1981, pp. 366–381. isbn: 978-3-540-38945-3. .. [Staetal97] J. Stark et al. “Takens embedding theorems for forced and stochastic systems”. In: Nonlinear Analysis: Theory, Methods & Applications 30.8 (1997). Proceedings of the Second World Congress of Nonlinear Analysts, pp. 5303–5314. issn: 0362-546X. doi:https://doi.org/10.1016/S0362-546X(96)00149-6. url: http://www.sciencedirect.com/science/article/pii/S0362546X96001496. .. [Hes18] Martin Heßler. “Leading indicators in B- and R-tipping systems with focus on eigenvalue estimation”. MA thesis. Westfälische Wilhelms-Universität Münster, 2018. .. [KS04] Holger Kantz and Thomas Schreiber. Nonlinear Time Series Analysis. Second edition. Cambridge University Press, 2004. isbn: 0251 82150 9 hardback 0251 52902 6 paperback. .. [RCL94] Michael T. Rosenstein, James J. Collins, and Carlo J. De Luca. “Reconstruction expansion as a geometry-based framework for choosing proper delay times”. In: Physica D: Nonlinear Phenomena 73.1 (1994), pp. 82–98. issn: 0167-2789. doi: https://doi.org/10.1016/0167-2789(94)90226-7. url: http://www.sciencedirect.com/science/article/pii/0167278994902267. .. [Boxetal15] George E. P. Box et al. Time Series Analysis : Forecasting and Control.,Incorporated, 2015. ProQuest Ebook Central, https://ebookcentral.proquest.com/lib/ulbmuenster/detail.action?docID=2064681. Wiley Series in Probability and Statistics Ser. John Wiley & Sons, Incorporated, 2015. isbn: 9781118675021 (print) 9781118674918 (e-book). url: https://ebookcentral.proquest.com/lib/ulbmuenster/detail.action?docID=2064681.