CDCgov / multisignal-epi-inference

Python package for statistical inference and forecast of epi models using multiple signals
https://cdcgov.github.io/multisignal-epi-inference/
9 stars 1 forks source link

Use `scope` effect handler for distributions with multiple RandomVariable arguments #228

Open damonbayer opened 2 days ago

damonbayer commented 2 days ago

https://num.pyro.ai/en/stable/handlers.html#scope

For example, a Negative-Binomial distribution, could be given one name, "Infections" and its parameters automatically renamed "Infections_mean" and "Infections_dispersion" or similar.