epirecipes / sir-julia

Various implementations of the classical SIR model in Julia
MIT License
196 stars 39 forks source link

Add sPop2.jl example #70

Open sdwfrost opened 2 years ago

sdwfrost commented 2 years ago

sPop2.jl is a Julia implementation of sPop, also available in C and Python, and R.

In the paper, there is a Python example of an SIR model. Having an SIR model more along the lines of the examples here (e.g. having a discretized exponential duration of infection) would be good. Any ideas @slwu89?

slwu89 commented 2 years ago

That's a good idea, it would also be a nice benchmark for sPop2. It should be quick to code up, I'll submit a PR when I get to it. A discretized exponential and fixed duration of infectiousness would be a good demo.

sdwfrost commented 1 year ago

The underlying library from @kerguler - now called Population.jl still seems to be in a bit of flux. Perhaps I'll wait until it's settled down.