epiverse-trace / epiverse-trace/tutorials-middle
fix lognormal mispecification of mean and sd to meanlog and sdlog
- Dominant language
- R
- Stars
- 3
- Forks
- 6
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
in quantify transmissibility checkpoint https://epiverse-trace.github.io/tutorials-middle/quantify-transmissibility.html#checklist2
in inputs for first epinow run https://epiverse-trace.github.io/tutorials-middle/create-forecast.html#create-a-short-term-forecast
```r
# Log-tranformed mean
log_mean <- EpiNow2::convert_to_logmean(mean = 2, sd = 1)
# Log-transformed std
log_sd <- EpiNow2::convert_to_logsd(mean = 2, sd = 1)
# Reporting dalay
reporting_delay_fixed <- EpiNow2::LogNormal(
mean = log_mean,
sd = log_sd,
max = 10
)
# Generation time
generation_time_fixed <- EpiNow2::LogNormal(
mean = 3.6,
sd = 3.1,
max = 20
)
```
Contributor guide
Assessment
This issue has not been assessed yet.