Supplement 1. Source code for parameter estimation.

2016-08-09T09:32:19Z (GMT) by Otso Ovaskainen Janne Soininen

File List

data_abundance.csv

environment.csv

Diatom_data_MCMC.nb

Simulated_data_MCMC.nb

Diatom_data_MCMC.txt

Simulated_data_MCMC.txt

Description

The MCMC sampling was implemented with Mathematica 7.0.1. The code Diatom_data_MCMC.nb can be used to apply the estimation scheme to the real diatom data, given in files data_abundance.csv and environment.csv. The code Simulated_data_MCMC.nb can be used to generate simulated data and to fit the model to the simulated data. The files Diatom_data_MCMC.txt and Simulated_data_MCMC.txt include the two Mathematica notebooks in text format.