-
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 some model components #5
Conversation
…rence-model into format-as-package
…based on count data rather than only hosp
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.
A few questions / typo catches @kaitejohnson
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.
Using this review to bring the 5 remaining unresolved conversations back to the top @kaitejohnson
Co-authored-by: Dylan H. Morris <[email protected]>
…/ww-inference-model into add-some-model-components
Ok @dylanhmorris I moved the functions needed to produce the delay distributions for COVID into Also made the other aesthetic/documentation changes. Let me know if this looks okay and thanks for the thorough review! |
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.
Need to fix function namespace references in covid_pmfs.R
…irst and renormalize from exported fxns
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.
LGTM!
Sorry, just caught the namespace error and added to change log! |
…/ww-inference-model into add-some-model-components
The goal of this PR is to get the bare minimum modeling and immediate pre-processing and post-processing functionality into the modeling package codebase, using the functions from the other two ww modeling packages and modifying as needed.
The vignette is written such that it takes in package data meeting the minimum requirements for the input count data (in this case hospital admissions) and the input wastewater data. Then we apply pre-processing to get the additional information that the stan model needs in order to fit the model. We then pass into the model the input pmfs that need to be passed in as data, but are COVID and hospital admissions specific.
A note that this first draft of the package isn't intended to provide significant additional functionality from the modeling in https://github.com/CDCgov/wastewater-informed-covid-forecasting/tree/prod 's
cfaforecastrenewalww
. We want to make it as easy as possible to run the existing model, as is. The goal is to make it easier for a user to see where they would upload their data, what requirements that data must have, and where they could swap in different pmfs, parameters, and priors to fit the model to say a different pathogen or with different parameters.Remaining new issues for N sprint (from meta issue #6). These components are out of scope for this PR