I wrote my model code in MATLAB because it is convenient and fast. You are welcome to download and use the scripts as you like. They may also work with Octave. If you translate them to another language I'd be happy to share a link or host your files here — just get in touch.

Curve fitting

This is the main script that repeatedly generates model data by integrating out the differential equations to see how well it “fits” with empirical data. It compares multiple fits and adjusts the parameters until it eventually finds the best fit.

These fitted parameter values and their uncertainties are then used in the following scripts to interpret the model.

Scripts to generate graphs

Scripts to load empirical data

These scripts grab the latest empirical data from online sources and compile them into timeseries data my model can use:

  • science/ebola2014/scripts/start.txt
  • Last modified: 2015-07-29 00:00 (8 years ago)
  • by Rik Blok