User:Carl Boettiger/Notebook/Stochastic Population Dynamics/2010/06/10

{| width="800"
 * style="background-color: #EEE"|[[Image:owwnotebook_icon.png|128px]] Stochastic Population Dynamics
 * style="background-color: #F2F2F2" align="center"|  |Main project page
 * style="background-color: #F2F2F2" align="center"|  |Main project page


 * colspan="2"|
 * colspan="2"|

Questions
Current population dynamics model macroscopic equations:



\begin{align} \dot E &= f_E(E,L,A) = -\mu_e E - c_{le} E L - c_{ae} E A - a_e E + b A \\ \dot L &= f_L(E, L) = -\mu_L L + a_e E - a_L L \\ \dot P &= f_P(L,P) = -\mu_P P - a_p P + a_L L\\ \dot A &= f_A(P,A) = -\mu_A A + a_p P \end{align} $$

Interpreting $$\mu$$ terms as death events, b as birth, and the a terms as transitions between age classes gives a natural form for the master equation.

Divergent Solutions to the linear noise approximation?
Breaking the age classes into k subclasses makes waiting time within an age class gamma instead of exponential, which better matches observation. Also allows sustained oscillations. The numerical solution to the linear noise approximation shows divergent variance dynamics. Is this a numerical artifact?

version-stable code.



Version-stable code

Differences between two-step (correlated events) and two single steps
Can we distinguish between a process where an element leaves one population and enters another (i.e. a transitions from one age class to the next) and a model where death rate in one class is equal to the birth rate in another? The linear noise approximation for a two-step process obeys a different equation than the one-step:



\begin{align} & \frac{d}{dt} E(p) = b(p)-d(p) + \sum_{j \neq i} \tau_{ji}(p) - \tau_{ij}(p) =: f(p)\\ & \frac{d}{dt} M = \textrm{diag}( b(p) + d(p) )  - T + Df(p) M + M Df(p)^T \end{align} $$

where T is a symmetric matrix with off-diagonal elements i,j $$ \tau_{ij}(p) + \tau{ji}(p) $$ and diagonal elements chosen so that rows sum to zero. This approximation is implemented in noise_approx.R

How different can this be from simply implementing all transitions as single-steps?

So far the difference seems small in my examples:






 * }