A practical introduction to ODE modelling in Stan for biological systems

Sara Hamis1, John Forslund1, Cici Chen Gu1

  • 1Department of Information Technology, Uppsala University, Uppsala, Sweden.

Summary

This study introduces Stan, an open-source tool for mathematical biology, to estimate parameters in ordinary differential equation (ODE) models using Bayesian inference. It provides practical examples for analyzing biological systems with time series data.

Related Concept Videos

Mechanistic Models: Compartment Models in Individual and Population Analysis01:23

Mechanistic Models: Compartment Models in Individual and Population Analysis

Mechanistic models are utilized in individual analysis using single-source data, but imperfections arise due to data collection errors, preventing perfect prediction of observed data. The mathematical equation involves known values (Xi), observed concentrations (Ci), measurement errors (εi), model parameters (ϕj), and the related function (ƒi) for i number of values. Different least-squares metrics quantify differences between predicted and observed values. The ordinary least squares (OLS)...
Two-Compartment Open Model: Overview01:05

Two-Compartment Open Model: Overview

Multicompartmental models are crucial tools in pharmacokinetics, providing a framework to understand how drugs move within the body. The two-compartment model is a crucial subtype, segmenting the body into central and peripheral compartments. The central compartment represents areas with high blood flow, such as plasma and highly perfused organs like the kidneys and liver, while the peripheral compartment signifies tissues with lower blood flow, like adipose tissue and muscle tissue.
The...
Modeling with Differential Equations01:25

Modeling with Differential Equations

Population dynamics can be described mathematically by considering the population size P(t) as a function of time. The rate of change of the population is then represented by the derivative of P(t). A simple assumption is that the rate of growth is proportional to the size of the population itself. This leads to an exponential growth model, where the population increases rapidly without bound. While this is a useful first approximation, it does not reflect realistic long-term...
Mechanistic Models: Overview of Compartment Models01:21

Mechanistic Models: Overview of Compartment Models

Mechanistic models, a category encompassing both physiological and compartmental modeling, differ from empirical models' approaches to incorporating known factors about the systems being modeled. Empirical models describe data with minimal assumptions, while mechanistic models aim to provide a robust description of available data by specifying assumptions and integrating known factors about the system. Compartmental analysis is a key example of a mechanistic model in pharmacokinetics and...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving01:29

Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving

Mechanistic models play a crucial role in algorithms for numerical problem-solving, particularly in nonlinear mixed effects modeling (NMEM). These models aim to minimize specific objective functions by evaluating various parameter estimates, leading to the development of systematic algorithms. In some cases, linearization techniques approximate the model using linear equations.
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Three-Compartment Open Model01:06

Three-Compartment Open Model

The three-compartment open model is a pharmacokinetic model used to describe the distribution and elimination of drugs following extravascular administration. It comprises a central compartment representing the plasma and two peripheral compartments. The highly perfused peripheral compartment represents organs and tissues with a rich blood supply, such as the liver, kidneys, and lungs. The scarcely perfused peripheral compartment represents tissues with lower blood supply, such as adipose...