-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add hosp_only model and demo #4
Conversation
@dylanhmorris @sbidari Ready for your review. I will make an additional PR to add the Stan model comparison to this notebook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a question regarding the scope of this demo. Is the idea to demonstrate the use of pyrenew
to (re)build the models in the wastewater repo? Or just reproduce the results for comparison with the stan model?
transforms=transformation.PowerTransform(-2), | ||
) | ||
|
||
uot = stan_data["uot"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unobserved_time = stan_data["uot"]
and throughout
) as file: | ||
stan_data = json.load(file) | ||
|
||
def convert_to_logmean_log_sd(mean, sd): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function can be added to plotting.py
with renaming of plotting.py
or put in a separate file to share across model(s)
This PR recreates "Model 2" from the
wastewater-informed-covid-forecasting
project. The model is described here. Stan code for the model is here.The tutorial demonstrates how to use the model with stan_data generated in the wastewater-informed-covid-forecasting project. As such, recreating any analysis from that project should be relatively straightforward.