(implemented, discussion locked) Distributions as parameters to other distributions. #482
Locked
Hazelfire
started this conversation in
Squiggle Improvement Proposal
Replies: 1 comment
-
This made it in, so we're locking this convo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, distributions only support floats as parameters. However, it would be valuable in some cases to have distributions as input types.
I came across an example in my GiveDirectly model. In this model, the mean household size (which was already a distribution of mean household sizes) was needed to calculate the distribution of mean baseline income. I compromise by getting the mean of the estimate of means of household sizes. This is not a large compromise in this instance, because the variance of household sizes is really low, but I can imagine other cases where this could become an issue.
Beta Was this translation helpful? Give feedback.
All reactions