epirecipes / sir-julia

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

Markdown #78

Closed DanielVandH closed 1 year ago

DanielVandH commented 1 year ago

Interesting work! It was cool to see what you could do with my ProfileLikelihood.jl.

I noticed in the README it says that "GitHub Markdown doesn't parse equations, so here's a description of the underlying SIR model.". This isn't true anymore, so that e.g.

$$
\begin{align*}
\dfrac{\mathrm dS}{\mathrm dt} &= -\frac{\beta I S}{N}, \\
\dfrac{\mathrm dI}{\mathrm dt} &= \frac{\beta I S}{N} - \gamma I,\\ 
\dfrac{\mathrm dR}{\mathrm dt} &= \gamma I, \\
S(t) + I(t) + R(t) &= N, \\
S(0) &= 990, \\
I(0) &= 10, \\
R(0) &= 10.
\end{align*}
$$

(or whatever parametrisation you'd use) should parse correctly.

sdwfrost commented 1 year ago

Done! Thanks for the information.