mac-theobio / McMasterPandemic

SEIR+ model
GNU General Public License v3.0
20 stars 5 forks source link

Time varying 'multiplication' on different scales (e.g. logit) #223

Closed stevencarlislewalker closed 2 years ago

stevencarlislewalker commented 2 years ago

If the user wants to express time variation as a dependence on past values (rel_prev or rel_orig), then normal multiplication does not work well for parameters that must lie between zero and one.

What we need is a logit-product:

x * y = plogis(qlogis(x) + qlogis(y))