-
Notifications
You must be signed in to change notification settings - Fork 2
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
Distributions for parameters from {epiparameter} vs manual input in transmissibility report #109
Comments
I'm not sure. Discretizing has side effects I didn't anticipate when this code was written. I thought as distcrete as just a nice interface and didn't realize it was actually an approximation of the continuous distribution. As the same time, epidist objects at the moment require that you pass a disease name which we don't necessarily know. I don't know if it's an issue or if it would be okay to pass "Disease X". |
Could we add the disease name to the params list? as it is for epiparameter_disease? |
I'm not a big fan of this since it would be an extra parameter (#106) with no actual function in the report. It would just be here to solve a technical gap but doesn't have any user-facing impact. |
So we could avoid adding an extra parameter if there was one called "disease_name" or something like that, which were used both to select the disease from the database and to discretise/plot the si? |
Okay, let's try this and see how it goes when updating the report. |
Would speeding up merging the upcoming plotting method for |
I would like to check it out to compare, this issue is probably resolved now that we've agreed to create epidists even for the case where the user doesn't extract the parameters from the epiparameter database, but still I'd like to see the plotting method and compare |
@joshwlambert could I ask what the status of this plotting method is?
|
It is still on a feature branch. I will work on this ASAP in order to merge into the main branch for testing. Will let you know once it is ready. |
thank you @joshwlambert |
On PR #100 , {distcrete} and {epitrix} have been replaced by {epiparameter}, to discretise distributions and convert summary statistics into distribution parameters, respectively.
Now the issue is that
epiparameter::discrete
requires an epidist object, which is currently not generated when users provide parameters manually, rather than through the epiparameter database. This also affects the syntax of the plotting function, which is different when using an epidist object too.The solution would be either to revert to using {distcrete} or to convert the manually added parameters and their distribution to an epidist object.
thoughts? @Bisaloo
The text was updated successfully, but these errors were encountered: