In Section 2 of this answer, the stochastic Lotka-Volterra predator-prey dynamics is demonstrated. I have difficulties to reproduce these results. At the end of the mentioned answer, a code is provided, but when I run it, it gives me errors. Any help is appreciated to reproduce these plots by this particular approach.
Asked
Active
Viewed 121 times
2
GillespieSSAcode, then copy/paste/run theLotka-Volterra predator-prey dynamicscode. – Chris K Aug 30 '22 at 14:17GillespieSSAcode, it mistakenly breaks it into different cells. This is likely the cause of your brackets problem. As a work-around, I started a new cell by typing1, then pasted over it from within the cell. Then it works. – Chris K Aug 30 '22 at 14:31ItoProcesssolves a continuous-state stochastic differential equation. I suppose there are many different parameterizations of the LV model. BTW, I suggest the text "Stochastic Population Processes: Analysis, Approximations, Simulations" by Eric Renshaw. Good luck! – Chris K Aug 30 '22 at 15:05