ArticleslgStudy

computer science

Empirical dynamic modeling

Empirical dynamic modeling is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Empirical dynamic modeling rather than just read about it. In short: Empirical dynamic modeling (EDM) is a framework for analysis and prediction of nonlinear dynamical systems. Applications include population dynamics, ecosystem service, medicine, neuroscience, dynamical systems, geophysics, and human-computer interaction.

Key takeaways

  • Empirical dynamic modeling belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Empirical dynamic modeling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Empirical dynamic modeling from memory before moving on to harder problems.

Reference excerpt

Empirical dynamic modeling (EDM) is a framework for analysis and prediction of nonlinear dynamical systems. Applications include population dynamics, ecosystem service, medicine, neuroscience, dynamical systems, geophysics, and human-computer interaction. EDM was originally developed by Robert May and George Sugihara. It can be considered a methodology for data modeling, predictive analytics, dynamical system analysis, machine learning and time series analysis.

Description Mathematical models have tremendous power to describe observations of real-world systems. They are routinely used to test hypothesis, explain mechanisms and predict future outcomes. However, real-world systems are often nonlinear and multidimensional, in some instances rendering explicit equation-based modeling problematic. Empirical models, which infer patterns and associations from the data instead of using hypothesized equations, represent a natural and flexible framework for modeling complex dynamics. Donald DeAngelis and Simeon Yurek illustrated that canonical statistical models are ill-posed when applied to nonlinear dynamical systems. A hallmark of nonlinear dynamics is state-dependence: system states are related to previous states governing transition from one state to another. EDM operates in this space, the multidimensional state-space of system dynamics rather than on one-dimensional observational time series. EDM does not presume relationships among states, for example, a functional dependence, but projects future states from localised, neighboring states. EDM is thus a state-space, nearest-neighbors paradigm where system dynamics are inferred from states derived from observational time series. This provides a model-free representation of the system naturally encompassing nonlinear dynamics. A cornerstone of EDM is recognition that time series observed from a dynamical system can be transformed into higher-dimensional state-spaces by time-delay embedding with Takens's theorem. The state-space models are evaluated based on in-sample fidelity to observations, conventionally with Pearson correlation between predictions and observations.

Methods Primary EDM algorithms include Simplex projection, Sequential locally weighted global linear maps (S-Map) projection, Multivariate embedding in Simplex or S-Map, Convergent cross mapping (CCM), and Multiview Embeding, described below.

Nearest neighbors are found according to: NN(y,X,k)=‖XNiE−y‖≤‖XNjE−y‖ if 1≤i≤j≤k

Simplex Simplex projection is a nearest neighbor projection. It locates the k nearest neighbors to the location in the state-space from which a prediction is desired. To minimize the number of free parameters k is typically set to E+1 defining an E+1 dimensional simplex in the state-space. The prediction is computed as the average of the weighted phase-space simplex projected Tp points ahead. Each neighbor is weighted proportional to their distance to the projection origin vector in the state-space.

Find k nearest neighbor: Nk←NN(y,X,k) Define the distance scale: d←‖XN1E−y‖ Compute weights: For{i=1,…,k} : wi←exp⁡(−‖XNiE−y‖/d) Average of state-space simplex: ŷ←∑i=1k(wiXNi+Tp)/∑i=1kwi

S-Map S-Map extends the state-space prediction in Simplex from an average of the E+1 nearest neighbors to a linear regression fit to all neighbors, but localised with an exponential decay kernel. The exponential localisation function is F(θ)=exp(−θd/D), where d is the neighbor distance and D the mean distance. In this way, depending on the value of θ, neighbors close to the prediction origin point have a higher weight than those further from it, such that a local linear approximation to the nonlinear system is reasonable. This localisation ability allows one to identify an optimal local scale, in-effect quantifying the degree of state dependence, and hence nonlinearity of the system. Another feature of S-Map is that for a properly fit model, the regression coefficients between variables have been shown to approximate the gradient (directional derivative) of variables along the manifold. These Jacobians represent the time-varying interaction strengths between system variables.

Find k nearest neighbor: N←NN(y,X,k) Sum of distances: D←1k∑i=1k‖XNiE−y‖ Compute weights: For{i=1,…,k} : wi←exp⁡(−θ‖XNiE−y‖/D) Reweighting matrix: W←diag(wi) Design matrix: A←[1XN1XN1−1…XN1−E+11XN2XN2−1…XN2−E+1⋮⋮⋮⋱⋮1XNkXNk−1…XNk−E+1] Weighted design matrix: A←WA Response vector at Tp: b←[XN1+TpXN2+Tp⋮XNk+Tp] Weighted response vector: b←Wb Least squares solution (SVD): ĉ←argminc‖Ac−b‖22 Local linear model ĉ is prediction: ŷ←ĉ0+∑i=1Eĉiyi

Multivariate Embedding Multivariate Embedding recognizes that time-delay embeddings are not the only valid state-space construction. In Simplex and S-Map one can generate a state-space from observational vectors, or time-delay embeddings of a single observational time series, or both.

Convergent Cross Mapping Convergent cross mapping (CCM) leverages a corollary to the Generalized Takens Theorem that it should be possible to cross predict or cross map between variables observed from the same system. Suppose that in some dynamical system involving variables X and Y, X causes Y. Since X and Y belong to the same dynamical system, their reconstructions (via embeddings) Mx, and My, also map to the same system. The causal variable X leaves a signature on the affected variable Y, and consequently, the reconstructed states based on Y can be used to cross predict values of X. CCM leverages this property to infer causality by predicting X using the My library of points (or vice versa for the other direction of causality), while assessing improvements in cross map predictability as larger and larger random samplings of My are used. If the prediction skill of X increases and saturates as the entire My is used, this provides evidence that X is casually influencing Y.

Multiview Embedding Multiview Embedding is a Dimensionality reduction technique where a large number of state-space time series vectors are combitorially assessed towards maximal model predictability.

Extensions Extensions to EDM techniques include:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Empirical dynamic modeling

Start with the simplest possible case. Write down what Empirical dynamic modeling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Empirical dynamic modeling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Empirical dynamic modeling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Empirical dynamic modeling

In research
Empirical dynamic modeling appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Empirical dynamic modeling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Empirical dynamic modeling is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data modeling, Machine learning, Nonlinear systems, so understanding it makes those chapters shorter.
In everyday life
Look for Empirical dynamic modeling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Empirical dynamic modeling” →

How to study Empirical dynamic modeling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Empirical dynamic modeling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Empirical dynamic modeling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Empirical dynamic modeling in simple terms?

Empirical dynamic modeling (EDM) is a framework for analysis and prediction of nonlinear dynamical systems. Applications include population dynamics, ecosystem service, medicine, neuroscience, dynamical systems, geophysics, and human-computer interaction.

Why does Empirical dynamic modeling matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Empirical dynamic modeling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Empirical dynamic modeling.

Tags

  • Data modeling
  • Machine learning
  • Nonlinear systems
  • Nonlinear time series analysis
  • Predictive analytics

Keep exploring