Closed
Description
It would be handy to have a Censored
object and corresponding censored
function that behaved just like Truncated
and truncate
, respectively, but for censored data. The implementations would be much the same, with two main differences:
- instead of evaluating the
logpdf
of the wrapped distribution at the bounds, they would evaluate itslogcdf
at the lower-bound andlogccdf
at the upper-bound rand
would useclamp
instead of rejection sampling
inspired by the addition of Censored
to PyMC and this Twitter thread
Metadata
Metadata
Assignees
Labels
No labels