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 for a tolerance in `assert_daily_data()` to enable NAs in count data #233

Open kaitejohnson opened 4 weeks ago

kaitejohnson commented 4 weeks ago

Goal

Currently the stan model/ preprocessing can handle this (as we did this in practice last year to exclude specific days of data), however we set up a very strict structure for assert_daily_data() which checks that all days are present in the date vector of the admits data. We should relax this a bit so that there can be some amount of missingness in the admissions.