Covid19:传染病模型SIR/SEIR的估计与拟合

github地址

Deterministic Model for Disease Spreading

Typical deterministic model for disease spreading includes SIR mode and SEIR model.

SIR model

The general SIR model takes s s s as the ratio of susceptible people, i i i as the infected people, r r r as the recovered people. Then we have:
KaTeX parse error: No such environment: align at position 8: \begin{̲a̲l̲i̲g̲n̲}̲ &\frac{ds}{dt}…
Here, β \beta β is the rate of transmission (transmissions per S-I contact per time), γ \gamma γ is the rate of recovery (inverse of infectious period). We could solve these equation and get:
s = s 0 e − β γ r s=s_0e^{-\frac{\beta}{\gamma}r} s=s0eγβr
With s + i + r = 1 s+i+r=1 s+i+r=1, we could drive:
d r d t = γ ( 1 − r − s 0 e − β γ r ) t = 1 γ ∫ 0 r d u 1 − u − s 0 e − β γ u \frac{dr}{dt}=\gamma (1-r-s_0e^{-\frac{\beta}{\gamma}r})\\ t=\frac{1}{\gamma}\int_0^r\frac{du}{1-u-s_0e^{-\frac{\beta}{\gamma}u}} dtdr=γ(1rs0eγβr)t=γ10r1us0eγβudu
With the above equations, we could fit the lines of the rate of susceptible, infectious and recovered people and get the parameter estimation of γ \gamma γ and β \beta β.

Also, we could drive their iteration form with S = s N , I = i N , R = r N S=sN, I=iN, R=rN S=sN,I=iN,R=rN and let c c c be the number of people one contact:
KaTeX parse error: No such environment: align at position 8: \begin{̲a̲l̲i̲g̲n̲}̲ & S_n=S_{n-1}-…

SEIR model

The general SEIR model takes s s s as the ratio of susceptible people, e e e as the exposed people, i i i as the infected people, r r r as the recovered people. Then we have:
KaTeX parse error: No such environment: align at position 8: \begin{̲a̲l̲i̲g̲n̲}̲ &\frac{ds}{dt}…

Here, β \beta β is the rate of transmission (transmissions per S-I contact per time), γ \gamma γ is the rate of recovery (inverse of infectious period), α \alpha α is the rate of progression (inverse of incubation period). We could solve these equation and get:
s = s 0 e − β γ r s=s_0e^{-\frac{\beta}{\gamma}r} s=s0eγβr
With s + e + i + r = 1 s+e+i+r=1 s+e+i+r=1, we could drive:
d r d t = γ ( 1 − e − r − s 0 e − β γ r ) t = 1 γ ∫ 0 r d u

  • 6
    点赞
  • 99
    收藏
    觉得还不错? 一键收藏
  • 10
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值