Closed anhi closed 3 years ago
I think the behavior is due to rounded
containing zeros. Note that pdf(w, 0) == 0
. Thus, when zeros are present in x
, the likelihood, and thus the joint posterior density, will always evaluate to 0. So all samples of (mu, sigma
) will be rejected.
If rounded
does not contain any zeros (but only positive integers), it also runs fine.
Ah, that makes perfect sense! You are absolutely right, so I'll close this issue.
Hi,
I'm trying to fit a Weibull distrbution to input data that happen to be exact integers, but sampling doesn't terminate. Here is a reduced example: