Skip to content

Commit

Permalink
Merge pull request lilywang1988#1 from lilywang1988/linux_manual
Browse files Browse the repository at this point in the history
Linux manual
  • Loading branch information
lilywang1988 authored Feb 16, 2020
2 parents 63efefe + dee6281 commit 42bcc6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ Our data are collected daily from [dxy.com](https://mama.dxy.com/outbreak/daily-
#library(2019-nCov-Data)
```

In Ubuntu (18.04) Linux, please first update R to a version >= 3.6. You many need to install jags package as well by "sudo apt-get install jags" before install devtools by "install.packages("devtools")".


## Model 1 using `pi.SIR()`: a SIR model with a time-varying transmission rate

By introducing a time-dependent $\pi_\bar{q}(t)\in [0,1]$ function that multiplies the transmission rate $\beta$, we can depict a series of time-varying changes caused by either external variations like government policies, protective measures and environment changes, or internal variations like mutations and evolutions of the pathogen.
By introducing a time-dependent $$\inline \pi_\bar{q}(t)\in [0,1]$$ function that multiplies the transmission rate $$\inline \beta$$, we can depict a series of time-varying changes caused by either external variations like government policies, protective measures and environment changes, or internal variations like mutations and evolutions of the pathogen.

The function can be either stepwise or exponential:
$$
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ Our data are collected daily from [dxy.com](https://mama.dxy.com/outbreak/daily-
#library(2019-nCov-Data)
```

In Ubuntu (18.04) Linux, please first update R to a version >= 3.6. You many need to install jags package as well by "sudo apt-get install jags" before install devtools by "install.packages("devtools")".


Model 1 using `pi.SIR()`: a SIR model with a time-varying transmission rate
---------------------------------------------------------------------------

By introducing a time-dependent $\\pi\_\\bar{q}(t)\\in \[0,1\]$ function that multiplies the transmission rate *β*, we can depict a series of time-varying changes caused by either external variations like government policies, protective measures and environment changes, or internal variations like mutations and evolutions of the pathogen.
By introducing a time-dependent $$\inline \\pi\_\\bar{q}(t)\\in \[0,1\]$$ function that multiplies the transmission rate $$\inline \beta$$, we can depict a series of time-varying changes caused by either external variations like government policies, protective measures and environment changes, or internal variations like mutations and evolutions of the pathogen.

The function can be either stepwise or exponential:
$$
Expand Down

0 comments on commit 42bcc6a

Please sign in to comment.