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

Positive constrain `mode_sigma_ww_site` #210

Closed dylanhmorris closed 1 week ago

dylanhmorris commented 1 week ago

Thanks to @sbidari for spotting the issue.

github-actions[bot] commented 1 week ago

Thank you for your contribution, @dylanhmorris :rocket:! Your page is ready to preview here

gvegayon commented 1 week ago

LGTM! Also, notice there's now a co-pilot icon for generating comments and summarizing PRs. I just used it, and it is awesome! Here is the autogenrated summary for this PR:

This pull request includes a small but important change to the parameters block in the inst/stan/wwinference.stan file to ensure that the mode_sigma_ww_site parameter is non-negative.

  • inst/stan/wwinference.stan: Added a lower bound constraint of zero to the mode_sigma_ww_site parameter to ensure it is non-negative.