Skip to content

Commit

Permalink
added a table for the different incubation periods
Browse files Browse the repository at this point in the history
  • Loading branch information
salauer committed Apr 19, 2020
1 parent 728f65c commit 01d15dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion manuscript/rt-pcr-analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ for_fig <- ggplot(data=main_analysis$plot_dat, aes(x=days_since_exposure)) +
gridExtra::grid.arrange(fnr_fig, for_fig)
# ggplot(plot_dat, aes(x=days_since_exposure)) +
# ggplot(main_analysis$plot_dat, aes(x=days_since_exposure)) +
# geom_hline(aes(yintercept=1), linetype="dashed") +
# geom_errorbar(aes(ymax=1-rr_lb, ymin=1-rr_ub), color="gray30") +
# geom_point(aes(y=1-rr_med)) +
Expand Down Expand Up @@ -540,6 +540,15 @@ bind_rows(three_day_est$plot_dat %>% mutate(inc_period="3d"),
theme(axis.text=element_text(color="black"))
```

```{r inc-table}
bind_rows(three_day_est$plot_dat %>% mutate(inc_period="3d"),
seven_day_est$plot_dat %>% mutate(inc_period="7d")) %>%
select(day=days_since_exposure, inc_period, for_med, for_lb, for_ub) %>%
filter(day<14) %>%
mutate_at(vars(starts_with("for")), function(x) round(100*x,1)) %>%
knitr::kable()
```

Changing the length of the incubation period changes the progression of the false omission rate (post-test probability given test negative).
Since the sensitivity is calibrated with respect to the time of symptom onset, an earlier onset time leads to a quicker drop in false omission rate and a later onset time leads to a slower drop.

Expand Down

0 comments on commit 01d15dd

Please sign in to comment.