Open jluoaz opened 5 years ago
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?
Define your log PDF function to return -Inf for any values that are outside the domain - non-positive reals in this case.
-Inf
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?