-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be great to have a truncated gamma distribution implemented in NumPyro in order to cover lower-bounded variances (or upper bounded precisions) in probabilistic programs.
I'm happy to code this up and issue a pull-req after some testing.
A nice example would be in Mendelian Randomization from summary statistics (ie two-stage least squares). Residual variance greater than 1 is consistent with heterogeneity across studies, but inferred variance should be bounded below by 1.
fehiepsi, omarfsosa and disadone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request