-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace dist_spec()
code with get_parameter()
+ Gamma()
or LogNormal()
#2
Labels
epinow2-cran
Prep for EpiNow2 CRAN release
Comments
change my mind. the simpler input is still using the explicit distribution parameters # new branch: is this a simpler and valid alternative? --------------------------------
covid_serialint_parameters <- epiparameter::get_parameters(covid_serialint)
covid_serialint_parameters
#> meanlog sdlog
#> 1.3862617 0.5679803
serial_interval_covid_branch_lognormalmax <-
EpiNow2::LogNormal(
meanlog = covid_serialint_parameters["meanlog"],
sdlog = covid_serialint_parameters["sdlog"],
max = covid_serialint_discrete_max)
serial_interval_covid_branch_lognormalmax
#> - lognormal distribution (max: 23):
#> meanlog:
#> 1.4
#> sdlog:
#> 0.57 updatedkey learning goals
comparison of stepsepidist
compared to epidist
|
avallecam
changed the title
replace
replace Feb 13, 2024
dist_spec()
codedist_spec()
code with get_parameter()
+ Gamma or LogNormal
this update depends on the merging of epiforecasts/EpiNow2#504 |
avallecam
changed the title
replace
replace Feb 13, 2024
dist_spec()
code with get_parameter()
+ Gamma or LogNormaldist_spec()
code with get_parameter()
+ Gamma()
or LogNormal()
fixed in #80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
replace
tutorials-early/episodes/read-delays.Rmd
Lines 814 to 822 in 8dcbabf
from
key learning goalsa simple way to plug in epiparameter is using thepmf
we can also use functions likeLogNormal()
orGamma()
but these require more (unnecessary) parameterswe needmax
parameter to plug inLogNormal()
output toepinow()
themax
parameter can come from a discretized continuous function as anepidist
objectThe text was updated successfully, but these errors were encountered: