-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folding IHR into config? #273
Comments
what sort of flexibility would you like to allow for? References to other parameters may be difficult due to the structure of JSON. four independent IHR values are easy, sampling multiplier values that are independent but multiply with the other IHR's is also easy. But if we wanted something more complex than that we may need to get creative. |
Being able to specify the priors to the model is a fairly simple way would be a really good feature. On way of doing this would be having a restricted set of strings like |
I dont think that is what Ben is asking for. We have had the ability to specify prior distributions since #81 and even before. The issue is these prior distributions are independent of one another. You can't currently declare related variables from the config e.g.:
you could however do something like this using config logic along with minor code changes
this is all pseudocode meant for demonstration purposes. In short: JSON does not allow natively for references to other parameters, making doing something like this quite hacky and not encouraged. This was an issue identified very early on in development but was accepted as one of the tradeoffs with using JSON config files. |
Somewhat related to #161
IHR priors and stuff are currently specified in the likelihood function directly instead of in the config json. There is room to move them into the config, although I can see some challenges there since IHR parameters can increase/decrease depending on how we feel, and the IHR models can change so it needs to be a bit flexible...
The text was updated successfully, but these errors were encountered: