epiverse-trace / epiparameter

R package with library of epidemiological parameters for infectious diseases and functions and classes for working with parameters
https://epiverse-trace.github.io/epiparameter
Other
32 stars 11 forks source link

mean vs meanlog in vignette #80

Closed adamkucharski closed 2 months ago

adamkucharski commented 1 year ago

In the vignette example for EpiEstim, looks like need to convert meanlog and sdlog to mean and sd, e.g.

covid_si <- epidist(
  pathogen = "SARS_CoV_2_wildtype",
  delay_dist = "serial_interval"
)

convert_si <- epiparameter::lnorm_musigma2meansd(covid_si$param[["meanlog"]],covid_si$param[["sdlog"]])

rt <- estimate_R(
  incid = data_estim,
  method = "parametric_si",
  config = make_config(list(
    mean_si = convert_si$mean,
    std_si = convert_si$sd
  ))
)
joshwlambert commented 1 year ago

Thanks for spotting this. I'll take a look into it.

joshwlambert commented 1 year ago

This code was removed in https://github.com/epiverse-trace/epiparameter/pull/132. However, keeping this issue open for when writing the transmission vignette.

joshwlambert commented 2 months ago

There is no longer a plan to include epidemiological application vignettes in the {epiparameter} package, one of which would have been the transmissibility vignette, therefore this issue can be closed without any further action.