Constraints on domain of logpdf?
jluoaz opened this issue · 1 comments
jluoaz commented
I want to sample from a PDF that has domain only on the positive reals. How would I indicate that in my implementation of the log PDF?
brian-j-smith commented
Define your log PDF function to return -Inf
for any values that are outside the domain - non-positive reals in this case.