Discovering stochastic dynamical equations from biological time series data

Arshed Nabeel, Ashwin Karichannavar, Shuaib Palathingal, Jitesh Jhawar, David B. Brückner +2 more
5/5/2022
q-bio.QMcs.LGmath.DS

Official code: tee-lab/PyDaddy (98 stars, Python, GPL-3.0, last commit 2026-06-10).

Abstract

Theoretical studies have shown that stochasticity can affect the dynamics of ecosystems in counter-intuitive ways. However, without knowing the equations governing the dynamics of populations or ecosystems, it is difficult to ascertain the role of stochasticity in real datasets.

Show full abstract

Therefore, the inverse problem of inferring the governing stochastic equations from datasets is important. Here, we present an equation discovery methodology that takes time series data of state variables as input and outputs a stochastic differential equation. We achieve this by combining traditional approaches from stochastic calculus with the equation-discovery techniques. We demonstrate the generality of the method via several applications. First, we deliberately choose various stochastic models with fundamentally different governing equations; yet they produce nearly identical steady-state distributions. We show that we can recover the correct underlying equations, and thus infer the structure of their stability, accurately from the analysis of time series data alone. We demonstrate our method on two real-world datasets -- fish schooling and single-cell migration -- which have vastly different spatiotemporal scales and dynamics. We illustrate various limitations and potential pitfalls of the method and how to overcome them via diagnostic measures. Finally, we provide our open-source codes via a package named PyDaDDy (Python library for Data Driven Dynamics).

View on arXivView PDF

Code Implementations(1)

tee-lab/PyDaddyOfficial100%
GPL-3.0

Python package to discover stochastic differential equations from time series data

9812PythonMar 30, 20205 months agoGPL-3.0
pythonsdestochastic-differential-equationstime-seriestime-series-analysis

Similar Papers

Cite this paper

@article{nabeel2022discovering,
  title  = {Discovering stochastic dynamical equations from biological time series data},
  author = {Arshed Nabeel and Ashwin Karichannavar and Shuaib Palathingal and Jitesh Jhawar and David B. Brückner and Danny Raj M. and Vishwesha Guttal},
  year   = {2022},
  eprint = {2205.02645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.02645}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.02645.svg)](https://codeofpaper.com/paper/2205.02645)

Discussion