CDCgov / ww-inference-model

An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
https://cdcgov.github.io/ww-inference-model/
Apache License 2.0
17 stars 2 forks source link

Allow model to handle weekly (or any specified interval) count data #222

Open kaitejohnson opened 1 month ago

kaitejohnson commented 1 month ago

Goal

Currently the model expects daily count data, and we have set it up to throw an error if this is not the case. However, we should be able to let the user specify that the count data is not daily, and then sum up the daily latent hospital admissions to get aggregated to whatever interval (most likely weekly, but this could be configurable).

Tasks