Mamba.jl icon indicating copy to clipboard operation
Mamba.jl copied to clipboard

Constraints on domain of logpdf?

Open jluoaz opened this issue 5 years ago • 1 comments

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?

jluoaz avatar Jun 03 '19 22:06 jluoaz

Define your log PDF function to return -Inf for any values that are outside the domain - non-positive reals in this case.

brian-j-smith avatar Jun 04 '19 03:06 brian-j-smith