Coder Social home page Coder Social logo

iftikhar8 / pz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lawmurray/pz

0.0 1.0 0.0 315 KB

Lotka-Volterra-like model of the interaction of phytoplankton (prey) and zooplankton (predator), for LibBi.

License: Other

Shell 25.34% MATLAB 74.66%

pz's Introduction

Synopsis

./run.sh

This samples from the prior and posterior distributions. The oct/ directory contains a few functions for plotting these results (GNU Octave and OctBi required).

A synthetic data set is provided, but a new one one may be generated with init.sh (GNU Octave and OctBi required).

Description

This package is based on a Lotka-Volterra model of the interaction between phytoplankton $P$ (prey) and zooplankton $Z$ (predator). It differs from the classic Lotka-Volterra by having a stochastic growth term for phytoplankton, and quadratic mortality term for zooplankton.

The process model is given by the equations: \begin{eqnarray} \frac{dP}{dt} &=& \alpha_t P - cPZ \\ \frac{dZ}{dt} &=& ecPZ - m_lZ - m_q Z^2, \end{eqnarray} where $t$ is time in days, and the stochastic growth term $a_t$ is drawn daily as $\alpha_t \sim \mathcal{N}(\mu,\sigma)$, with $\mu$ and $\sigma$ being the two parameters of the model.

This version of the model was originally used in Jones, Parslow & Murray (2010). Its behaviour under sampling with the particle marginal Metropolis-Hastings (PMMH) sampler is also studied in Murray, Jones & Parslow (2013).

References

Jones, E.; Parslow, J. & Murray, L. M. A Bayesian approach to state and parameter estimation in a Phytoplankton-Zooplankton model. Australian Meteorological and Oceanographic Journal, 2010, 59, 7-16.

Murray, L. M.; Jones, E. M. & Parslow, J. On collapsed state-space models and the particle marginal Metropolis-Hastings sampler, 2013.

pz's People

Contributors

emlynmjones avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.