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
16 stars 2 forks source link

2024-07-22 update : added stan spatial funcs. #34

Closed cbernalz closed 2 months ago

cbernalz commented 2 months ago

I tested these functions within separate testfile that was not included in push. All work as intended.

kaitejohnson commented 2 months ago

I know this is turning into a bear of a PR, but I think it would be helpful to see how these functions all come together if you called them in the generate_simulated_data() function. Also feel free to commit a scratch/testing.R folder file. I started a scratch folder in this next PR which I have been using to run the generation of simulated data line by line in a script format, as I find it easier to develop and troubleshoot that way. https://github.com/CDCgov/ww-inference-model/blob/3-modular-fxns-for-sim-data/scratch/sim_data_script.R

kaitejohnson commented 2 months ago

@dylanhmorris Are there other changes you requested that haven't been addressed?

dylanhmorris commented 2 months ago

Reviewing now.