Back to Browse

Vignette 21 - Continuous time Markov chains

405 views
Jun 13, 2024
1:23:40

After a very brief introduction to continuous time Markov chains (CTMC), I explain how to transform a compartmental system of ordinary differential equations into a CTMC, then how to obtain numerical realisations (simulations) of the resulting CTMC. For the numerics, I first explain and demonstrate the Gillespie algorithm, then show how to use the adaptivetau lbrary and finally, explain how to write code to parallelise such "embarrassingly parralel" problems. See the slide here: https://julien-arino.github.io/R-for-modellers/SLIDES/vignette-21-CTMC.pdf

Download

0 formats

No download links available.

Vignette 21 - Continuous time Markov chains | NatokHD