-
Notifications
You must be signed in to change notification settings - Fork 12
Add discrete noise distributions #654
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
base: main
Are you sure you want to change the base?
Conversation
a3fe413 to
8c9f5aa
Compare
8c9f5aa to
ee15fcf
Compare
Adds Poisson, binomial, and negative binomial distributions to the list of noise distributions.
ee15fcf to
e94480b
Compare
sebapersson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding. Just a few minor comments.
|
|
||
| The measured value in the same units/scale as the model output. | ||
| If the corresponding ``noiseDistribution`` specifies a discrete distribution, | ||
| this value must be integral. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| this value must be integral. | |
| this value must be an integer. |
| the current specification assumes independence, i.e. the full distribution is | ||
|
|
||
| .. math:: | ||
| \pi(D|Y,\Sigma) = \prod_i\pi(m_i|y_i,\sigma_i) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we have single-parameter distributions (e.g., Poison) that does not include a noise parameter, using a more general formula like: \pi(D|\theta) would maybe work better?
Adds Poisson, binomial, and negative binomial distributions to the list of noise distributions.
Closes #653.